poulpe/shared/static/css/global.scss

253 lines
4.3 KiB
SCSS
Raw Normal View History

2018-08-04 05:38:03 +02:00
/*NE PAS MODIFIER LE FICHIER .CSS, MAIS PLUTÔT LE
FICHIER .SCSS */
@import 'variables';
@import 'messages';
@import 'header';
@import 'forms';
2018-08-20 13:17:10 +02:00
@import 'tree';
2018-08-04 05:38:03 +02:00
/* MISE EN FORME GÉNÉRALE */
html {
height : 100% ;
2018-08-20 13:17:10 +02:00
background-color: $third_white_color;
2018-08-04 05:38:03 +02:00
}
body {
font-family: $font_normal;
2018-08-04 18:18:34 +02:00
font-size: medium;
2018-08-04 05:38:03 +02:00
}
#principal {
2018-08-20 13:17:10 +02:00
background-color: $third_white_color;
2018-08-04 05:38:03 +02:00
}
/*MAIN*/
main {
background-color:white;
margin-top:0px;
padding: 15px;
a {
color: $main_bold_color;
&:hover,
&:active,
&:focus {
color : $main_bold_color;
}
}
h1 {
border-bottom : 7px solid $second_bold_color;
padding-bottom : 5px ;
font-family: $font_bold;
font-weight: 600;
}
h2 {
border-bottom : 2px solid $main_bold_color;
color: $main_bold_color;
padding-bottom : 5px ;
font-family: $font_bold;
font-weight: 600;
}
}
/*ASIDE*/
aside {
background-color:$second_soft_color;
color: white;
margin-top:0px;
2018-08-20 13:17:10 +02:00
padding: 0px!important;
2018-08-04 05:38:03 +02:00
a {
2018-08-04 18:18:34 +02:00
color: $main_soft_color;
2018-08-04 05:38:03 +02:00
&:hover,
&:active,
&:focus {
2018-08-04 18:18:34 +02:00
color : $main_soft_color;
2018-08-04 05:38:03 +02:00
}
}
2018-08-04 18:18:34 +02:00
code {
color: white;
background-color: $second_bold_color;
}
2018-08-20 13:17:10 +02:00
.heading {
padding: 8px 15px;
font-size: 32px;
line-height: 1.3;
text-align:center;
&.inverted {
background-color:$second_white_color;
color:black;
}
&.small {
font-size: 25px;
.sub {
font-size: 0.7em;
font-weight: normal;
}
}
.sub {
font-size: 0.7em;
font-weight: normal;
}
&.separator {
border-bottom-color: $main_soft_color;
border-bottom-style: solid;
}
}
.text {
padding: 15px;
&.inverted {
background-color:$second_white_color;
color:black;
}
}
2018-08-04 05:38:03 +02:00
}
@media (min-width: 768px) {
main {
margin-top:20px;
}
aside {
margin-top:20px;
}
}
hr {
border-top : 1px solid $second_bold_color ;
}
span.vsep {
padding-left: 5px;
padding-right: 5px;
}
div.tag-list {
margin-top: 20px;
}
2018-08-04 18:18:34 +02:00
code {
font-size: small;
}
2018-08-20 13:17:10 +02:00
.module-list {
display: flex;
align-items: stretch;
flex-wrap: wrap;
}
a.module {
background-color: $second_bold_color;
color: $second_white_color;
padding: 20px 40px;
margin: 5px;
border-bottom-color: $main_soft_color;
border-bottom-style: solid;
font-size: large;
display: block;
&:hover,
&:active,
&:focus {
color: $second_white_color;
background-color: $second_soft_color;
text-decoration: none;
}
}
2018-08-26 21:18:51 +02:00
.collapsible {
background-color: #777;
color: white;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
&:after {
content: '\002B';
color: white;
font-weight: bold;
float: right;
margin-left: 5px;
}
&:hover {
background-color: #555;
}
h3 {
margin-top: 0px;
margin-bottom: 0px;
display: inline-block;
}
}
.active {
background-color: #555;
&:after {
content: "\2212";
}
}
.content {
padding: 8px 18px;
display : none;
background-color: #f1f1f1;
&.fluid {
padding: 0px 0px;
background-color: transparent;
}
h4 {
font-size: x-large;
font-weight: bold;
display: inline-block;
margin: 0px 0px;
}
}
.planning {
.activity {
padding: 8px 18px;
padding-top: 8px;
padding-bottom: 12px;
border-left: none;
border-right: 6px solid $main_soft_color;
&.inverted {
border-left: 6px solid $main_soft_color;
border-right: none;
}
.activity-title {
font-size: large;
}
}
}
2018-08-04 05:38:03 +02:00
2018-08-26 21:18:51 +02:00
.glyphicon {
&.yes {
color:$yes_color!important;
}
&.no {
color:$no_color!important;
}
&.dunno {
color:$dunno_color!important;
}
2018-08-04 05:38:03 +02:00
}