Last active
July 17, 2020 14:33
-
-
Save pigeonfresh/2e530fe22d6010f1cf195632f1300371 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.booking-content-wrapper { | |
position: relative; | |
min-height: 15rem; | |
padding: 0 0 3rem; | |
@include theme($laColeccion $grandFiestaAmericana) { | |
color: #fff; | |
&::before { | |
position: absolute; | |
top: -1rem; | |
bottom: 0; | |
left: auto; | |
right: 0; | |
width: 100vw; | |
content: ''; | |
} | |
} | |
@include theme($laColeccion) { | |
&::before { | |
background: $primary-theme-color; | |
} | |
} | |
@include theme($grandFiestaAmericana) { | |
&::before { | |
background: $secondary-theme-color; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function contains($list, $item) { | |
@return not not index($list, $item); | |
} | |
@mixin theme($themeList) { | |
@if contains($themeList, $currentTheme) { | |
@content; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fiestaAmericana: 'fiesta-americana'; | |
$laColeccion: 'la-coleccion'; | |
$grandFiestaAmericana: 'grand-fiesta-americana'; | |
$liveAqua: 'live-aqua'; | |
$fiestaRewards: 'fiesta-awards'; | |
$viaja: 'viaja'; | |
$fiestaInn: 'fiesta-inn'; | |
$gamma: 'gamma'; | |
$one: 'one'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SCSS variables | |
$pathAsset: '~app'; | |
$pathFont: 'font'; | |
$max-width-full: 166rem; | |
$max-width: 136.6rem; | |
$z-index: default, content, destination-module, header, brand-selector, popup; | |
@import 'theme-settings'; | |
// @import 'theme/live-aqua'; | |
// @import 'theme/fiesta-americana'; | |
// @import 'theme/grand-fiesta-americana'; | |
// @import 'theme/la-coleccion'; | |
@import 'theme/viaja'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap'); | |
$colorList: #0096ff #3c457d #f8cf40 #474f57; | |
$fontList: 'Avenir Next', 'Roboto', 'Roboto'; | |
$font-primary: nth($fontList, 1), sans-serif; | |
$font-secondary: nth($fontList, 2), sans-serif; | |
$font-base: nth($fontList, 3), sans-serif; | |
$primary-theme-color: nth($colorList, 1); | |
$primary-theme-color-light: nth($colorList, 2); | |
$secondary-theme-color: nth($colorList, 3); | |
$error-color: nth($colorList, 4); | |
$color-dark-gray: #666; | |
$currentTheme: $viaja; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment