2018-10-24 10:46:12 +02:00
|
|
|
/*
|
|
|
|
* 1 - Definitions
|
|
|
|
*
|
|
|
|
* This part of the (s)css contain every definitions, mixins,
|
|
|
|
* and differents unilities that can be used everywhere in the code.
|
|
|
|
*
|
|
|
|
*/
|
2018-10-24 10:26:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
$large-shadow: 0px 2px 10px rgba(0, 0, 0, 0);
|
|
|
|
$narrow-shadow: 0px 2px 6px rgba(0, 0, 0, 0);
|
|
|
|
$inset-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2);
|
|
|
|
$inset-shadow-inverted: inset 0px 2px 0px rgba(0, 0, 0, 0.2);
|
|
|
|
$inset-relief: inset 0px 2px 0px rgba(255, 255, 255, 0.1);
|
|
|
|
|
|
|
|
$border-radius: 0px;
|
|
|
|
$border-size: 1px;
|
|
|
|
|
|
|
|
$color-primary: $color-red;
|
|
|
|
$color-secondary: $color-dark;
|
|
|
|
$color-link: $color-blue;
|
|
|
|
$color-selection: $color-blue;
|
|
|
|
$color-mark: $color-yellow;
|
|
|
|
|
2018-10-24 11:02:24 +02:00
|
|
|
$color-font: #444;
|
|
|
|
|
2018-10-24 10:26:41 +02:00
|
|
|
@mixin borders() {
|
|
|
|
border: $border-size solid rgba(0, 0, 0, 0.3)
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin border-radius() {
|
|
|
|
border-radius: $border-radius $border-radius $border-radius $border-radius;
|
|
|
|
}
|
2018-10-24 10:46:12 +02:00
|
|
|
|
|
|
|
@mixin li-no-margin() {
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-24 11:59:19 +02:00
|
|
|
/* 1.1 - Utils */
|
|
|
|
|
2018-10-24 10:46:12 +02:00
|
|
|
.no-pills {
|
|
|
|
list-style:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.align {
|
|
|
|
&-center {text-align: center;}
|
|
|
|
&-left {text-align: left;}
|
|
|
|
&-right {text-align: right;}
|
|
|
|
}
|
2018-10-24 11:59:19 +02:00
|
|
|
|
|
|
|
/* 1.2 - Background colors */
|
|
|
|
|
|
|
|
@mixin background-color($background-color, $text-color) {
|
|
|
|
background-color: $background-color!important;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg {
|
|
|
|
&-blue { @include background-color($color-blue, #FFF); }
|
|
|
|
&-violet { @include background-color($color-violet, #FFF); }
|
|
|
|
&-purple { @include background-color($color-purple, #FFF); }
|
|
|
|
&-red { @include background-color($color-red, #FFF); }
|
|
|
|
&-orange { @include background-color($color-orange, #FFF); }
|
|
|
|
&-green { @include background-color($color-green, #FFF); }
|
|
|
|
&-skyblue { @include background-color($color-skyblue, #FFF); }
|
|
|
|
&-dark { @include background-color($color-dark, #FFF); }
|
|
|
|
&-light { @include background-color($color-light, #111); }
|
|
|
|
&-turquoise { @include background-color($color-turquoise, #FFF); }
|
|
|
|
&-yellow { @include background-color($color-yellow, #FFF); }
|
|
|
|
&-brown { @include background-color($color-brown, #FFF); }
|
|
|
|
&-grey { @include background-color($color-grey, #FFF); }
|
|
|
|
|
|
|
|
&-primary { @include background-color($color-primary, #FFF); }
|
|
|
|
&-secondary { @include background-color($color-secondary, #FFF); }
|
|
|
|
&-warning { @include background-color($color-warning, #FFF); }
|
|
|
|
&-danger { @include background-color($color-danger, #FFF); }
|
|
|
|
&-info { @include background-color($color-info, #FFF); }
|
|
|
|
&-success { @include background-color($color-success, #FFF); }
|
|
|
|
}
|
2018-10-24 15:07:35 +02:00
|
|
|
|
|
|
|
/* 1.3 - Screen Reader */
|
|
|
|
|
|
|
|
@media screen {
|
|
|
|
.screen-reader-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|