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

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