1
0
Fork 0
mirror of https://gitlab.com/Oreolek/salet.git synced 2024-07-04 07:45:03 +03:00
salet/sass/main.scss

181 lines
3 KiB
SCSS
Raw Normal View History

2017-09-15 11:37:36 +03:00
// Style variables - colors and switches
2016-01-07 13:27:57 +02:00
@import "variables";
2016-01-15 03:06:03 +02:00
2017-09-15 11:37:36 +03:00
// Bootstrap switches - turn off modules you don't need
@import "bootstrap";
.container {
@include make-container();
@include make-container-max-widths();
}
2016-01-15 03:06:03 +02:00
// The title block
.title {
2016-11-15 11:44:47 +02:00
margin-top: 3.5em;
2017-09-15 11:37:36 +03:00
@include make-row();
2016-01-15 03:06:03 +02:00
.label {
margin-top: 1.5em;
margin-bottom: 1em;
2017-09-15 11:37:36 +03:00
// mobiles: full width (12 out of 12)
@include make-col(12);
// tablets and wider: 8 columns
@include media-breakpoint-up(md) {
@include make-col(8);
margin-left: auto;
margin-right: auto;
}
2016-01-15 03:06:03 +02:00
text-align: center;
}
.subtitle {
font-size: smaller;
color: #aaa;
}
h2 {
font-size: 1.5rem;
}
.warnings {
font-size: small;
font-style: italic;
p {
margin-bottom: 1em;
}
}
.noscript_message {
left: 0;
right: 0;
bottom: 0;
position: absolute;
font-size: 0.9em;
font-style: italic;
text-align: center;
color: #943;
}
}
2016-11-15 11:44:47 +02:00
.fixed {
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 1000;
width: 100%;
}
2016-01-07 13:27:57 +02:00
#tools_wrapper {
2016-11-15 11:44:47 +02:00
background: $body-bg;
2017-09-15 11:37:36 +03:00
@include make-row();
2016-01-07 13:27:57 +02:00
.ways {
padding: 0.5em;
2017-09-15 11:37:36 +03:00
@include make-col(12);
@include media-breakpoint-up(md) {
@include make-col(6);
}
2016-01-07 13:27:57 +02:00
}
2016-11-15 11:44:47 +02:00
.buttons {
2017-09-15 11:37:36 +03:00
@include make-col(12);
@include media-breakpoint-up(md) {
@include make-col(6);
}
2016-11-15 11:44:47 +02:00
text-align: right;
2016-01-15 03:06:03 +02:00
}
2016-11-15 11:44:47 +02:00
button {
display: inline-block;
2016-01-07 13:27:57 +02:00
}
}
#content_wrapper {
background: $text_background;
border-radius: 5px;
2017-09-15 11:37:36 +03:00
@include make-row();
2016-01-07 13:27:57 +02:00
}
2016-01-15 03:06:03 +02:00
.content {
2017-09-15 11:37:36 +03:00
@include make-col(12);
@include media-breakpoint-up(md) {
@include make-col(10);
margin-left: auto;
margin-right: auto;
}
2016-01-07 13:27:57 +02:00
padding: 1em;
ul {
margin: 0;
padding: 0 0 0 1em;
}
ul.options {
2017-04-01 08:35:51 +03:00
border: 1px solid #876;
2016-01-07 13:27:57 +02:00
padding: 0;
text-align: center;
margin-top: 0.5em;
margin-bottom: 0.7em;
list-style-type: none;
border-radius: 4px;
li {
padding: 0.5em;
2017-04-01 08:35:51 +03:00
border-bottom: 1px solid #876;
2016-01-07 13:27:57 +02:00
}
li:hover {
2017-04-01 08:35:51 +03:00
background-color: rgba(153,136,119,0.2);
2016-01-07 13:27:57 +02:00
cursor: pointer;
}
li:last-child {
border-bottom: none;
}
}
section {
border-top: 1px dashed #bbb;
}
.room-start {
2016-01-07 13:27:57 +02:00
border-top: none;
}
h3 {
text-align: center;
}
}
2017-04-01 08:35:51 +03:00
2016-01-07 13:27:57 +02:00
#legal {
2017-09-15 11:37:36 +03:00
@include make-row();
2016-01-07 13:27:57 +02:00
margin-top: 1em;
color: darken($body-color, 10%);
font-size: smaller;
2017-04-01 08:35:51 +03:00
.muted {
color: grey;
}
2016-01-07 13:27:57 +02:00
#footleft {
2017-09-15 11:37:36 +03:00
@include make-col(12);
@include media-breakpoint-up(md) {
@include make-col(5);
margin-left: auto;
margin-right: auto;
}
2016-01-07 13:27:57 +02:00
}
#footright {
text-align: right;
2017-09-15 11:37:36 +03:00
@include make-col(12);
@include media-breakpoint-up(md) {
@include make-col(2);
margin-left: auto;
margin-right: auto;
}
2016-01-07 13:27:57 +02:00
}
}
.way {
color: $waycolor;
margin-right: 1em;
}
2017-04-01 08:35:51 +03:00
2016-01-07 13:27:57 +02:00
.cycle {
color: darkgreen;
border-bottom: darkgreen dashed 1px;
}
2017-04-01 08:35:51 +03:00
2016-01-07 13:27:57 +02:00
hr {
width: 50%;
border-color: $body-color;
}
2016-01-15 16:04:09 +02:00
.center {
text-align: center;
}
2017-01-28 19:03:05 +02:00
.btn-outline-primary,
.btn-outline-danger {
border: none;
border-color: transparent;
}