Files
stand/assets/sass/main.scss

321 lines
6.0 KiB
SCSS
Raw Normal View History

2020-12-20 20:28:40 -03:00
@use "sass:map";
@import 'reset';
body {
font-family: Roboto, sans;
}
2020-12-27 10:17:44 -03:00
$column1: (1030*2/3/16-1);
$column2: (1030/3/16-1);
2020-12-21 01:25:40 -03:00
2020-12-18 15:05:33 -03:00
.ui.container {
2020-12-20 20:28:40 -03:00
max-width: 1030px;
}
section>.container {
height: 100%;
2020-12-27 10:17:44 -03:00
2020-12-20 20:28:40 -03:00
&>.column1 {
2020-12-27 10:17:44 -03:00
display: inline-block;
2020-12-21 01:25:40 -03:00
width: ($column1)+rem;
2020-12-20 20:28:40 -03:00
}
&>.column2 {
2020-12-27 10:17:44 -03:00
display: inline-block;
2020-12-21 01:25:40 -03:00
width: ($column2)+rem;
2020-12-20 20:28:40 -03:00
}
2020-12-18 15:05:33 -03:00
}
#header {
background-image: url('../images/header.png');
background-repeat: no-repeat;
background-size: auto;
2020-12-27 10:17:44 -03:00
$header-background: rgba(70, 49, 12, .8);
2020-12-20 20:28:40 -03:00
background-color: $header-background;
2020-12-18 15:05:33 -03:00
color: rgb(255, 255, 255);
width: 100%;
2020-12-20 20:28:40 -03:00
&>.container {
height: 400px;
}
2020-12-18 15:05:33 -03:00
.ui.menu {
border: none !important;
background: none !important;
box-shadow: none !important;
margin: 0 !important;
.dropdown .menu {
background: none !important;
border: none !important;
box-shadow: none !important;
}
.item {
color: inherit !important;
2020-12-20 20:28:40 -03:00
font-size: 2rem;
.shopping.cart div {
position: relative;
color: black;
display: inline-block;
top: -2.6rem;
left: 0.2rem;
font-size: 1rem;
font-family: Roboto, sans;
}
2020-12-18 15:05:33 -03:00
}
}
.logo {
padding: 0 !important;
margin: 0 !important;
img {
2020-12-20 20:28:40 -03:00
width: 50%;
2020-12-18 15:05:33 -03:00
}
.frase1 {
2020-12-20 20:28:40 -03:00
font-size: 1.5rem;
2020-12-18 15:05:33 -03:00
}
.frase2 {
font-size: 1rem;
}
}
}
.simple.segment {
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
margin: 0 !important;
padding: 0 !important;
&>.ui.grid {
height: 100%;
}
}
2020-12-20 20:28:40 -03:00
$heights: (
"seccion1": 25,
"seccion2": 27.5,
"dimensiones": 27.5,
"construido": 21.875,
"corporativos": 25,
"felices": 21.875,
"formulario": 30
);
2020-12-18 15:05:33 -03:00
#seccion1 {
background-image: linear-gradient(rgb(200, 200, 200), rgb(200, 200, 200));
2020-12-20 20:28:40 -03:00
background-position: left 6.3rem;
background-size: 100% (134/16)+rem;
2020-12-18 15:05:33 -03:00
background-repeat: no-repeat;
2020-12-20 20:28:40 -03:00
height: (map.get($heights, "seccion1"))+rem;
margin-bottom: 2rem !important;
.column1 {
width: (1030*2/3/16)+rem;
.image-container {
display: flex;
justify-content: space-between;
img {
2020-12-27 10:17:44 -03:00
height: (155/16)+rem;
width: (188/16)+rem;
2020-12-20 20:28:40 -03:00
margin-top: 5rem;
}
}
}
2020-12-27 10:17:44 -03:00
.column2 {
height: 100%;
}
2020-12-18 15:05:33 -03:00
}
#seccion2 {
2020-12-20 20:28:40 -03:00
height: (map.get($heights, "seccion2"))+rem;
2020-12-18 15:05:33 -03:00
background-image: url('../images/fondo23.png');
background-color: rgb(240, 240, 240);
2020-12-27 10:17:44 -03:00
.column2 {
height: 100%;
}
2020-12-18 15:05:33 -03:00
}
#dimensiones {
2020-12-20 20:28:40 -03:00
height: (map.get($heights, "dimensiones"))+rem;
2020-12-18 15:05:33 -03:00
background-image: url('../images/fondo23.png');
2020-12-27 10:17:44 -03:00
.column2 {
height: 100%;
}
2020-12-18 15:05:33 -03:00
}
#construido {
2020-12-20 20:28:40 -03:00
height: (map.get($heights, "construido"))+rem;
2020-12-18 15:05:33 -03:00
background-image: url('../images/fondo4.png');
background-color: rgb(100, 200, 255);
2020-12-27 10:17:44 -03:00
.column2 {
height: 100%;
}
2020-12-18 15:05:33 -03:00
}
#corporativos {
2020-12-20 20:28:40 -03:00
height: (map.get($heights, "corporativos"))+rem;
2020-12-18 15:05:33 -03:00
background-image: url('../images/fondo5.png');
2020-12-27 10:17:44 -03:00
.column2 {
height: 100%;
}
2020-12-18 15:05:33 -03:00
}
#felices {
background-image: linear-gradient(rgb(200, 200, 200), rgb(200, 200, 200));
background-position: left 3rem;
background-size: 100% 5rem;
background-repeat: no-repeat;
2020-12-20 20:28:40 -03:00
height: (map.get($heights, "felices"))+rem;
2020-12-18 15:05:33 -03:00
}
#formulario {
2020-12-20 20:28:40 -03:00
height: (map.get($heights, "formulario"))+rem;
2020-12-18 15:05:33 -03:00
.whatsapp-link {
color: inherit;
}
}
2020-12-27 10:17:44 -03:00
$column_height1: 0;
2020-12-20 20:28:40 -03:00
$sticky: 0;
@each $name, $val in $heights {
$sticky: $sticky + $val;
@if $name != 'corporativos' and $name != 'felices' and $name != 'formulario' {
2020-12-27 10:17:44 -03:00
$column_height1: $column_height1 + $val;
2020-12-20 20:28:40 -03:00
}
}
2020-12-18 15:05:33 -03:00
#sticky_container {
2020-12-20 20:28:40 -03:00
position: relative;
2020-12-27 10:17:44 -03:00
height: ($column_height1)+rem;
2020-12-20 20:28:40 -03:00
top: -($sticky)+rem;
2020-12-18 15:05:33 -03:00
2020-12-20 20:28:40 -03:00
#column {
position: absolute;
2020-12-27 10:17:44 -03:00
width: ($column1)+rem;
height: ($column_height1)+rem;
2020-12-20 20:28:40 -03:00
top: 0;
left: 0;
2020-12-18 15:05:33 -03:00
padding: 0;
}
2020-12-20 20:28:40 -03:00
.sticky {
float: right;
height: (265/16)+rem;
width: (310/16)+rem;
2020-12-27 10:17:44 -03:00
margin-left: ($column1)+rem;
2020-12-20 20:28:40 -03:00
.row:first-child {
height: (170/16)+rem;
.column1 {
display: inline-block;
2020-12-27 10:17:44 -03:00
vertical-align: bottom;
padding-top: (2/16)+rem;
width: (310/16*2/3)+rem;
.linea {
margin-bottom: (10/16)+rem;
}
2020-12-20 20:28:40 -03:00
.titulo {
font-size: (25/12)+rem;
}
.precio {
font-size: (16/12)+rem;
}
font-size: (14/12)+rem;
.colores {
vertical-align: center;
.white {
border: thin solid rgb(0, 0, 0);
background-color: rgb(255, 255, 255);
}
.black {
background-color: rgb(0, 0, 0);
}
.blue {
background-color: rgb(0, 0, 255);
}
.green {
background-color: rgb(0, 255, 0);
}
.yellow {
background-color: rgb(255, 255, 0);
}
.orange {
background-color: rgb(255, 130, 0);
}
.red {
background-color: rgb(255, 0, 0);
}
.circle {
display: inline-block;
width: 1rem;
height: 1rem;
border-radius: 8000px;
}
}
.input {
width: 4.5rem;
border: thin solid rgb(0, 0, 0);
text-align: center;
padding: .5rem 0.05rem;
2020-12-27 10:17:44 -03:00
font-size: (10/12)+rem;
2020-12-20 20:28:40 -03:00
button {
background: none;
border: none;
width: 1rem;
margin: 0;
padding: 0;
cursor: pointer;
}
input {
width: 2rem;
background: none;
margin: 0;
border: 0;
padding: 0;
text-align: right;
}
}
}
.column2 {
display: inline-block;
2020-12-27 10:17:44 -03:00
width: ((310/16-1)/3)+rem;
img {
width: (110/16)+rem;
height: (170/16)+rem;
}
2020-12-20 20:28:40 -03:00
}
}
.row:last-child {
.button {
border-radius: 0 !important;
width: 100%;
}
}
2020-12-18 15:05:33 -03:00
}
}
.fondo-blanco {
2020-12-27 10:17:44 -03:00
float: right;
2020-12-18 15:05:33 -03:00
background-color: rgba(255, 255, 255, .5);
}