v2.0.0-beta
This commit is contained in:
4
assets/sass/_common.scss
Normal file
4
assets/sass/_common.scss
Normal file
@ -0,0 +1,4 @@
|
||||
@import 'header';
|
||||
@import 'descripcion';
|
||||
@import 'ventajas';
|
||||
@import 'dimensiones';
|
7
assets/sass/_descripcion.scss
Normal file
7
assets/sass/_descripcion.scss
Normal file
@ -0,0 +1,7 @@
|
||||
#descripcion {
|
||||
background-image: linear-gradient($gris, $gris);
|
||||
|
||||
.images {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
24
assets/sass/_dimensiones.scss
Normal file
24
assets/sass/_dimensiones.scss
Normal file
@ -0,0 +1,24 @@
|
||||
#dimensiones {
|
||||
position: relative;
|
||||
|
||||
background-image: $fondo_ventajas_dimensiones;
|
||||
|
||||
.fondo-gris {
|
||||
position: absolute;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba($gris, .5);
|
||||
}
|
||||
|
||||
.left.column {
|
||||
&>.grid {
|
||||
&>.column:first-child {
|
||||
min-width: 33% !important;
|
||||
}
|
||||
&>.column:last-child {
|
||||
min-width: 67% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
35
assets/sass/_header.scss
Normal file
35
assets/sass/_header.scss
Normal file
@ -0,0 +1,35 @@
|
||||
#header {
|
||||
background-image: $fondo_cabezal;
|
||||
background-repeat: no-repeat;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
background-blend-mode: multiply;
|
||||
|
||||
color: $blanco;
|
||||
|
||||
.container {
|
||||
#menu {
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
|
||||
.right.menu {
|
||||
.item {
|
||||
.shopping.cart {
|
||||
.cantidad {
|
||||
position: relative;
|
||||
color: $blanco;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.segment {
|
||||
margin: 0 !important;
|
||||
#logo {
|
||||
img {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,15 @@
|
||||
@import 'phone_vars';
|
||||
|
||||
@import 'phone/header';
|
||||
@import 'phone/descripcion';
|
||||
@import 'phone/ventajas';
|
||||
@import 'phone/dimensiones';
|
||||
|
||||
.left.column {
|
||||
width: 75%;
|
||||
padding-left: rem(5) !important;
|
||||
}
|
||||
|
||||
#backgrounds {
|
||||
.cabezal {
|
||||
height: (map.get($heights, 'cabezal'))+rem;
|
||||
@ -22,7 +32,7 @@
|
||||
.seccion2 {
|
||||
height: (map.get($heights, "seccion2"))+rem;
|
||||
|
||||
background-image: $fondo_seccion23;
|
||||
background-image: $fondo_ventajas_dimensiones;
|
||||
|
||||
.diagonal {
|
||||
border-bottom: (map.get($heights, 'seccion2'))+rem solid rgba($gris, .5);
|
||||
@ -32,7 +42,7 @@
|
||||
.dimensiones {
|
||||
height: (map.get($heights, "dimensiones"))+rem;
|
||||
|
||||
background-image: $fondo_seccion23;
|
||||
background-image: $fondo_ventajas_dimensiones;
|
||||
.fondo-gris {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -8,8 +8,8 @@ $full_width: 600;
|
||||
|
||||
$heights: (
|
||||
"cabezal": (400/16),
|
||||
"seccion1": 25,
|
||||
"seccion2": 27.5,
|
||||
"descripcion": 25,
|
||||
"ventajas": 27.5,
|
||||
"dimensiones": 27.5,
|
||||
"construido": 21.875,
|
||||
"corporativos": (520/16),
|
||||
|
@ -12,6 +12,6 @@ $font_family: Roboto, sans;
|
||||
|
||||
// Fondos
|
||||
$fondo_cabezal: url('../images/banner.jpg');
|
||||
$fondo_seccion23: url('../images/fondo23.png');
|
||||
$fondo_construido: url('../images/fondo4.jpg');
|
||||
$fondo_corporativo: url('../images/fondo5.png');
|
||||
$fondo_ventajas_dimensiones: url('../images/tripode.png');
|
||||
$fondo_construido: url('../images/construido.jpg');
|
||||
$fondo_corporativo: url('../images/corporativo.png');
|
||||
|
39
assets/sass/_ventajas.scss
Normal file
39
assets/sass/_ventajas.scss
Normal file
@ -0,0 +1,39 @@
|
||||
#ventajas {
|
||||
position: relative;
|
||||
|
||||
background-image: $fondo_ventajas_dimensiones;
|
||||
|
||||
.diagonal {
|
||||
position: absolute;
|
||||
background-blend-mode: color;
|
||||
}
|
||||
.gallery {
|
||||
position: relative;
|
||||
|
||||
text-align: center;
|
||||
|
||||
.image {
|
||||
max-height: inherit;
|
||||
img {
|
||||
max-height: inherit;
|
||||
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.nav {
|
||||
position: absolute;
|
||||
}
|
||||
.nav.left {
|
||||
top: 50%;
|
||||
left: 0;
|
||||
}
|
||||
.nav.right {
|
||||
top: 50%;
|
||||
right: 0;
|
||||
}
|
||||
&::after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,28 +1,25 @@
|
||||
@import 'pc_vars';
|
||||
@import 'wide_vars';
|
||||
@import 'wide/header';
|
||||
@import 'wide/descripcion';
|
||||
@import 'wide/ventajas';
|
||||
@import 'wide/dimensiones';
|
||||
|
||||
.left.column {
|
||||
width: 67%;
|
||||
padding-left: rem(5) !important;
|
||||
}
|
||||
|
||||
section .titulo {
|
||||
font-size: font_size(22);
|
||||
padding-top: rem(54);
|
||||
padding-bottom: rem(25);
|
||||
}
|
||||
|
||||
#backgrounds {
|
||||
.cabezal {
|
||||
height: (map.get($heights, 'cabezal'))+rem;
|
||||
|
||||
background-image: $fondo_cabezal;
|
||||
background-repeat: no-repeat;
|
||||
background-size: rem(1600);
|
||||
background-position: bottom rem(-40) center;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
background-blend-mode: multiply;
|
||||
}
|
||||
.seccion1 {
|
||||
height: (map.get($heights, "seccion1"))+rem;
|
||||
|
||||
background-image: linear-gradient($gris, $gris);
|
||||
background-position: left rem(112);
|
||||
background-size: 100% rem(128);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.seccion2 {
|
||||
height: (map.get($heights, "seccion2"))+rem;
|
||||
|
||||
background-image: $fondo_seccion23;
|
||||
background-image: $fondo_ventajas_dimensiones;
|
||||
|
||||
.diagonal {
|
||||
border-bottom: (map.get($heights, 'seccion2'))+rem solid rgba($gris, .5);
|
||||
@ -32,7 +29,7 @@
|
||||
.dimensiones {
|
||||
height: (map.get($heights, "dimensiones"))+rem;
|
||||
|
||||
background-image: $fondo_seccion23;
|
||||
background-image: $fondo_ventajas_dimensiones;
|
||||
.fondo-gris {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@ -64,14 +61,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
height: ($content_height)+rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
height: ($content_height)+rem;
|
||||
font-family: $font_family;
|
||||
color: $gris_standard;
|
||||
}
|
||||
|
||||
@ -82,66 +72,6 @@ body {
|
||||
position: relative;
|
||||
top: (-$content_height)+rem;
|
||||
|
||||
#header {
|
||||
color: rgb(255, 255, 255);
|
||||
|
||||
width: 100%;
|
||||
height: (map.get($heights, 'cabezal'))+rem;
|
||||
|
||||
.ui.menu {
|
||||
border: none !important;
|
||||
background: none !important;
|
||||
//background-color: rgba(100, 100, 100, .3) !important;
|
||||
box-shadow: none !important;
|
||||
margin: 0 !important;
|
||||
color: rgb(0, 0, 0);
|
||||
|
||||
.dropdown .menu {
|
||||
/*background: none !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;*/
|
||||
color: rgb(0, 0, 0);
|
||||
font-size: 1rem;
|
||||
.item {
|
||||
padding: 1rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
color: inherit !important;
|
||||
font-size: 2rem;
|
||||
|
||||
padding: rem(20) !important;
|
||||
|
||||
.shopping.cart div {
|
||||
position: relative;
|
||||
color: rgb(255, 255, 255);
|
||||
display: inline-block;
|
||||
top: -2.6rem;
|
||||
left: 0.2rem;
|
||||
font-size: 1rem;
|
||||
font-family: Roboto, sans;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.logo {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
|
||||
img {
|
||||
width: 50%;
|
||||
max-width: rem(1030);
|
||||
}
|
||||
.frase1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
.frase2 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&>.column {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
@ -212,7 +142,6 @@ body {
|
||||
width: rem(380);
|
||||
padding: 2rem;
|
||||
margin-left: -3rem;
|
||||
overflow: hidden;
|
||||
|
||||
.header {
|
||||
font-weight: bold;
|
@ -8,8 +8,8 @@ $full_width: 1080;
|
||||
|
||||
$heights: (
|
||||
"cabezal": (500/16),
|
||||
"seccion1": 25,
|
||||
"seccion2": 27.5,
|
||||
"descripcion": 25,
|
||||
"ventajas": 27.5,
|
||||
"dimensiones": 27.5,
|
||||
"construido": 21.875,
|
||||
"corporativos": (520/16),
|
@ -1,9 +1,16 @@
|
||||
@use "sass:map";
|
||||
@import 'reset';
|
||||
@import 'variables';
|
||||
|
||||
html {
|
||||
font-family: $font_family;
|
||||
}
|
||||
|
||||
@import 'common';
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
@import 'phone';
|
||||
}
|
||||
@media screen and (min-width: 800px) {
|
||||
@import 'pc';
|
||||
@import 'wide';
|
||||
}
|
||||
|
13
assets/sass/phone/_descripcion.scss
Normal file
13
assets/sass/phone/_descripcion.scss
Normal file
@ -0,0 +1,13 @@
|
||||
#descripcion {
|
||||
.paragraph {
|
||||
padding-top: rem(18);
|
||||
line-height: rem(14);
|
||||
text-align: justify;
|
||||
|
||||
.header {
|
||||
margin-bottom: rem(6);
|
||||
font-size: font_size(18);
|
||||
}
|
||||
}
|
||||
padding-bottom: rem(5);
|
||||
}
|
10
assets/sass/phone/_dimensiones.scss
Normal file
10
assets/sass/phone/_dimensiones.scss
Normal file
@ -0,0 +1,10 @@
|
||||
#dimensiones {
|
||||
.header {
|
||||
font-size: font_size(22);
|
||||
padding-top: rem(54);
|
||||
padding-bottom: rem(25);
|
||||
}
|
||||
|
||||
$circle_radius: 15;
|
||||
@include colors;
|
||||
}
|
30
assets/sass/phone/_header.scss
Normal file
30
assets/sass/phone/_header.scss
Normal file
@ -0,0 +1,30 @@
|
||||
#header {
|
||||
height: (map.get($heights, 'cabezal'))+rem;
|
||||
|
||||
background-size: 160%;
|
||||
background-position: bottom rem(-10) center;
|
||||
|
||||
.container {
|
||||
#menu {
|
||||
font-size: font_size(16);
|
||||
.right.menu {
|
||||
.item {
|
||||
.shopping.cart {
|
||||
.cantidad {
|
||||
top: rem(-20);
|
||||
left: rem(1.6);
|
||||
font-size: font_size(8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.segment {
|
||||
#logo {
|
||||
img {
|
||||
max-width: rem($full_width);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
12
assets/sass/phone/_ventajas.scss
Normal file
12
assets/sass/phone/_ventajas.scss
Normal file
@ -0,0 +1,12 @@
|
||||
#ventajas {
|
||||
//height: (map.get($heights, "ventajas"))+rem;
|
||||
|
||||
.diagonal {
|
||||
border-bottom: 100% solid rgba($gris, .5);
|
||||
border-right: 100% solid transparent;
|
||||
}
|
||||
|
||||
.gallery {
|
||||
max-height: (map.get($heights, 'ventajas')-32/16)+rem;
|
||||
}
|
||||
}
|
23
assets/sass/wide/_descripcion.scss
Normal file
23
assets/sass/wide/_descripcion.scss
Normal file
@ -0,0 +1,23 @@
|
||||
#descripcion {
|
||||
height: (map.get($heights, "descripcion"))+rem;
|
||||
|
||||
background-position: left rem(112);
|
||||
background-size: 100% rem(128);
|
||||
background-repeat: no-repeat;
|
||||
|
||||
.images {
|
||||
.image {
|
||||
max-width: 33%;
|
||||
}
|
||||
}
|
||||
.paragraph {
|
||||
padding-top: rem(28);
|
||||
line-height: rem(14);
|
||||
text-align: justify;
|
||||
|
||||
.header {
|
||||
margin-bottom: rem(16);
|
||||
font-size: font_size(22/16*12);
|
||||
}
|
||||
}
|
||||
}
|
6
assets/sass/wide/_dimensiones.scss
Normal file
6
assets/sass/wide/_dimensiones.scss
Normal file
@ -0,0 +1,6 @@
|
||||
#dimensiones {
|
||||
margin-top: rem(15);
|
||||
|
||||
$circle_radius: 20;
|
||||
@include colors;
|
||||
}
|
26
assets/sass/wide/_header.scss
Normal file
26
assets/sass/wide/_header.scss
Normal file
@ -0,0 +1,26 @@
|
||||
#header {
|
||||
height: (map.get($heights, 'cabezal'))+rem;
|
||||
|
||||
background-size: 160%;
|
||||
background-position: bottom rem(-40) center;
|
||||
|
||||
.container {
|
||||
#menu {
|
||||
i {
|
||||
font-size: font-size(24);
|
||||
}
|
||||
.right.menu {
|
||||
.item {
|
||||
.shopping.cart {
|
||||
.cantidad {
|
||||
font-size: font-size(12);
|
||||
font-family: $font_family;
|
||||
top: rem(-28);
|
||||
left: rem(3.2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
10
assets/sass/wide/_ventajas.scss
Normal file
10
assets/sass/wide/_ventajas.scss
Normal file
@ -0,0 +1,10 @@
|
||||
#ventajas {
|
||||
.diagonal {
|
||||
border-bottom: (map.get($heights, 'ventajas'))+rem solid rgba($gris, .5);
|
||||
border-right: rem(1900) solid transparent;
|
||||
}
|
||||
|
||||
.gallery {
|
||||
max-height: (map.get($heights, 'ventajas')-32/16)+rem;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user