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

105 lines
1.9 KiB
SCSS
Raw Normal View History

2016-08-14 10:12:19 +02:00
#cammie-container {
display: flex;
justify-content: center;
position: relative;
width: 100%;
2016-08-02 19:54:18 +02:00
}
.fullpage {
min-width: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
background-color: black;
}
2016-08-26 23:21:58 +02:00
#cammie-section {
position: relative;
height: 100%;
#cammie-body {
2016-08-29 15:37:50 +02:00
//background-image: url("//kelder.zeus.ugent.be/webcam/video/mjpg.cgi?profileid=2");
2016-08-30 18:16:19 +02:00
// background-size: cover;
2016-08-29 15:37:50 +02:00
position: relative;
2016-08-29 15:10:08 +02:00
#cammie-ctrls {
display: flex;
justify-content: space-between;
flex-direction: column;
2016-08-29 15:37:50 +02:00
position: absolute;
top: 0;
z-index: 5;
2016-08-29 15:10:08 +02:00
height: 100%;
2016-08-29 15:37:50 +02:00
width: 100%;
2016-08-02 19:54:18 +02:00
2016-08-29 15:10:08 +02:00
transition: opacity 1s ease-in-out;
opacity: 0;
2016-08-02 19:54:18 +02:00
2016-08-29 15:10:08 +02:00
&.display {
transition: opacity .5s ease-in-out;
opacity: 1;
}
2016-08-29 00:13:02 +02:00
2016-08-29 15:10:08 +02:00
.ctrl {
2016-08-26 23:21:58 +02:00
2016-08-29 15:49:27 +02:00
// Center arrows
display: flex;
justify-content: space-around;
align-items: center;
2016-08-29 15:10:08 +02:00
background-color: $cammie-controls-color;
color: white;
&:hover {
background-color: $zeus_orange;
cursor: pointer;
}
2016-08-29 15:49:27 +02:00
&.diag i {
transform: rotate(45deg);
}
2016-08-29 00:13:02 +02:00
}
2016-08-02 19:54:18 +02:00
2016-08-29 15:10:08 +02:00
.row {
display: flex;
justify-content: space-between;
2016-08-02 19:54:18 +02:00
2016-08-29 15:10:08 +02:00
// Space rows
&.top-row, &.middle-row, &.bottom-row {
flex-basis: 0;
}
2016-08-29 15:49:27 +02:00
2016-08-29 15:10:08 +02:00
&.top-row, &.bottom-row {
flex-grow: 1;
}
2016-08-02 19:54:18 +02:00
2016-08-29 15:10:08 +02:00
&.middle-row {
flex-grow: 8;
2016-08-30 18:16:19 +02:00
.center {
.ctrl-half {
width: 100%;
height: 50%;
display: flex;
justify-content: space-around;
align-items: center;
.ctrl {
padding: 15px;
2016-08-30 18:30:19 +02:00
border-radius: 5px;
2016-08-30 18:16:19 +02:00
}
}
}
2016-08-29 15:10:08 +02:00
}
2016-08-02 19:54:18 +02:00
2016-08-29 15:10:08 +02:00
// Enlarge middle column
.center {
flex-grow: 8;
}
2016-08-29 00:13:02 +02:00
}
}
2016-08-26 23:21:58 +02:00
}
2016-08-02 19:54:18 +02:00
}