cas-eleves/customize_cas/scss/style.scss
Théophile Bastian df10bb54b7 Add basic style
2020-03-24 12:12:58 +01:00

117 lines
1.9 KiB
SCSS

@charset "utf-8";
@import "fonts.css";
@import "_mixins";
@import "_params";
@import "_forms";
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
background-color: $page_bg_color;
font-size: $font_size;
font-family: $font_family;
color: $page_text_color;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
header {
display: flex;
justify-content: space-between;
align-items: stretch;
margin: 0;
margin-bottom: 50px;
padding: 20px 30px;
padding-bottom: 0;
width: $page_width;
#headtext {
display: flex;
flex-direction: column;
align-items: end;
justify-content: space-evenly;
font-size: 1.2em;
color: $secondary_color;
font-weight: bold;
}
img {
height: $header_height;
max-width: $header_logo_maxwidth;
}
}
main {
width: $page_width;
background-color: $page_main_color;
border: 3px solid $main_border_color;
border-radius: $main_border_radius;
padding: 15px;
h2 {
font-size: 20pt;
text-align: center;
color: $secondary_color;
}
}
a {
text-decoration: underline;
color: $page_link_color;
border-radius: 3px;
&:hover {
color: darken($page_link_color, 20%);
}
}
:focus {
outline: none;
box-shadow: 0 0 1.5px 1px $page_link_color;
}
::-moz-focus-inner {
border: none;
}
button, .btn_row a {
@include button;
margin: 10px 5px;
p {
margin: 0;
}
}
.messages {
list-style-type: none;
margin: 10px 0;
padding: 0;
font-size: 0.8em;
li {
margin: 8px 0;
}
}
.error { @include error_box; }
.info { @include info_box; }
.warning { @include warning_box; }
.success { @include success_box; }
.antispam {
unicode-bidi: bidi-override;
direction: rtl;
}