-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Design liste des talks
- Loading branch information
Showing
16 changed files
with
434 additions
and
24 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import "./mixins/breakpoints"; | ||
@import "./mixins/colors"; | ||
@import "./mixins/spacing"; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@import "./vars/breakpoints"; | ||
@import "./vars/colors"; | ||
@import "./vars/spacing"; | ||
@import "./vars/transitions"; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
$screen-xs: map-get($grid-breakpoints, "xs"); | ||
$screen-sm: map-get($grid-breakpoints, "sm"); | ||
$screen-md: map-get($grid-breakpoints, "md"); | ||
$screen-lg: map-get($grid-breakpoints, "lg"); | ||
$screen-xl: map-get($grid-breakpoints, "xl"); | ||
|
||
@mixin xs-max { | ||
@media screen and (max-width: #{$screen-sm - 1}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin sm-min { | ||
@media screen and (min-width: #{$screen-sm}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin sm-max { | ||
@media screen and (max-width: #{$screen-md - 1}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin sm-only { | ||
@media screen and (min-width: #{$screen-sm}) and (max-width: #{$screen-md - 1}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin md-min { | ||
@media screen and (min-width: #{$screen-md}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin md-max { | ||
@media screen and (max-width: #{$screen-lg - 1}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin md-only { | ||
@media screen and (min-width: #{$screen-md}) and (max-width: #{$screen-lg - 1}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin lg-min { | ||
@media screen and (min-width: #{$screen-lg}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin lg-max { | ||
@media screen and (max-width: #{$screen-xl - 1}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin lg-only { | ||
@media screen and (min-width: #{$screen-lg}) and (max-width: #{$screen-xl - 1}) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin xl-min { | ||
@media screen and (min-width: #{$screen-xl}) { | ||
@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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@mixin boxShadow( | ||
$blur: $box-shadow-blur-default, | ||
$opacity: $box-shadow-opacity-default, | ||
$color: $gray-900, | ||
$translate: none, | ||
$translate-direction: none | ||
) { | ||
@if ($translate == none) { | ||
box-shadow: 0px 0px $blur rgba($color, $opacity); | ||
} @else if ($translate-direction == y) { | ||
box-shadow: 0px $translate $blur rgba($color, $opacity); | ||
} @else if ($translate-direction == x) { | ||
box-shadow: $translate 0px $blur rgba($color, $opacity); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@function getTailwindSpacingVal($base-number: 1) { | ||
$number: $base-number * $tailwind-spacing-base; | ||
@return $number; | ||
} | ||
|
||
@mixin tailwindSpacing($type: padding, $direction: all, $base-number: 1) { | ||
$number: getTailwindSpacingVal($base-number); | ||
@if ($direction == all) { | ||
#{$type}: $number $number $number $number; | ||
} @else if ($direction == y) { | ||
#{$type}: $number 0 $number 0; | ||
} @else if ($direction == x) { | ||
#{$type}: 0 $number 0 $number; | ||
} @else if ($direction == t) { | ||
#{$type}-top: $number; | ||
} @else if ($direction == b) { | ||
#{$type}-bottom: $number; | ||
} @else if ($direction == l) { | ||
#{$type}-left: 0; | ||
} @else if ($direction == r) { | ||
#{$type}-right: $number; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$grid-breakpoints: ( | ||
xs: 0, | ||
sm: 640px, | ||
md: 768px, | ||
lg: 1024px, | ||
xl: 1280px | ||
); |
Oops, something went wrong.