zeus.ugent.be/content/assets/stylesheets/includes/cammie.scss

70 lines
1.1 KiB
SCSS
Raw Normal View History

2016-08-14 08:12:19 +00:00
#cammie-container {
display: flex;
justify-content: center;
position: relative;
width: 100%;
2016-08-02 17:54:18 +00:00
}
.fullpage {
min-width: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
background-color: black;
}
2016-08-26 21:21:58 +00:00
#cammie-section {
position: relative;
height: 100%;
#cammie-body {
2016-08-28 22:13:02 +00:00
display: flex;
justify-content: space-between;
flex-direction: column;
2016-08-26 21:21:58 +00:00
position: relative;
height: 100%;
2016-08-02 17:54:18 +00:00
2016-08-28 22:13:02 +00:00
transition: opacity 1s ease-in-out;
opacity: 0;
2016-08-02 17:54:18 +00:00
2016-08-28 22:13:02 +00:00
&.display {
transition: opacity .5s ease-in-out;
opacity: 1;
}
.ctrl {
2016-08-26 21:21:58 +00:00
2016-08-28 22:13:02 +00:00
background-color: $cammie-controls-color;
color: white;
&:hover {
background-color: $zeus_orange;
cursor: pointer;
}
2016-08-26 21:21:58 +00:00
}
2016-08-02 17:54:18 +00:00
2016-08-28 22:13:02 +00:00
.row {
display: flex;
justify-content: space-between;
2016-08-02 17:54:18 +00:00
2016-08-28 22:13:02 +00:00
// Space rows
&.top-row, &.middle-row, &.bottom-row {
flex-basis: 0;
}
&.top-row, &.bottom-row {
flex-grow: 1;
}
2016-08-02 17:54:18 +00:00
2016-08-28 22:13:02 +00:00
&.middle-row {
flex-grow: 8;
}
2016-08-02 17:54:18 +00:00
2016-08-28 22:13:02 +00:00
// Enlarge middle column
.center {
flex-grow: 8;
}
}
2016-08-26 21:21:58 +00:00
}
2016-08-02 17:54:18 +00:00
}