forked from TagesschuleElementa/www.tagesschule-elementa.ch
memberzone
This commit is contained in:
195
private/scss/modules/_control-panel.scss
Normal file
195
private/scss/modules/_control-panel.scss
Normal file
@@ -0,0 +1,195 @@
|
||||
.control_panel {
|
||||
width: 100%;
|
||||
padding: em(100px) 0;
|
||||
will-change: transform, height;
|
||||
&.reveal_animation {
|
||||
transition: background $reveal_duration $reveal_timing_function;
|
||||
&.reveal {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
.load__replace {
|
||||
margin-top: em(40px);
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.control__list {
|
||||
li {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.control_panel__content {
|
||||
max-width: em(1440px);
|
||||
margin: 0 auto;
|
||||
padding: 0 em(80px);
|
||||
font-size: 0;
|
||||
@media screen and (max-width: $large_breakpoint) {
|
||||
padding: 0 em(60px);
|
||||
}
|
||||
@media screen and (max-width: $medium_breakpoint) {
|
||||
max-width: em(600px);
|
||||
padding: 0 em(30px);
|
||||
}
|
||||
}
|
||||
|
||||
.control__item {
|
||||
display: block;
|
||||
background: $white_gray;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
margin-bottom: em(15px);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.control__item__open {
|
||||
opacity: 1;
|
||||
z-index: 2;
|
||||
transition: opacity 0.2s $easeOutQuad;
|
||||
.active & {
|
||||
opacity: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.control__item__close {
|
||||
opacity: 0;
|
||||
z-index: 1;
|
||||
transition: opacity 0.2s $easeOutQuad;
|
||||
.active & {
|
||||
opacity: 1;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.control__item__success {
|
||||
max-width: em(350px);
|
||||
.tag {
|
||||
display: block;
|
||||
}
|
||||
.button {
|
||||
margin-top: em(20px);
|
||||
}
|
||||
}
|
||||
|
||||
.control__item__title {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: em(22px) em(30px);
|
||||
position: relative;
|
||||
font-size: em(18px);
|
||||
color: $dark_gray;
|
||||
.control__item--button & {
|
||||
padding-right: em(240px);
|
||||
.button {
|
||||
position: absolute;
|
||||
top: em(16px);
|
||||
right: em(30px);
|
||||
width: em(210px);
|
||||
}
|
||||
@media screen and (max-width: $small_breakpoint) {
|
||||
padding-right: em(30px);
|
||||
padding-bottom: em(75px);
|
||||
.button {
|
||||
top: auto;
|
||||
right: auto;
|
||||
left: em(30px);
|
||||
bottom: em(22px);
|
||||
}
|
||||
}
|
||||
}
|
||||
.control__item--status & {
|
||||
padding-left: em(85px);
|
||||
}
|
||||
.control__item--arrow & {
|
||||
padding-right: em(85px);
|
||||
&:hover {
|
||||
.control__item__arrow {
|
||||
transform: translateX(em(5px));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.control__item__content {
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
transition: height 0.5s $easeOutQuad;
|
||||
will-change: height;
|
||||
.active & {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.control__item__content__main {
|
||||
border-top: 1px solid $gray;
|
||||
padding: em(30px);
|
||||
}
|
||||
|
||||
.control__item__fields {
|
||||
margin: em(10px) 0 em(50px);
|
||||
}
|
||||
|
||||
.control__item__status {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: em(20px);
|
||||
margin-top: em(-20px);
|
||||
border-radius: 50%;
|
||||
border: 2px solid $gray;
|
||||
svg {
|
||||
display: block;
|
||||
width: em(36px);
|
||||
height: em(36px);
|
||||
fill: $white;
|
||||
}
|
||||
.control__item--status--active & {
|
||||
background: $green;
|
||||
border-color: $green;
|
||||
}
|
||||
.control__item--status--expired & {
|
||||
background: $red;
|
||||
border-color: $red;
|
||||
}
|
||||
}
|
||||
|
||||
.control__item__arrow {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: em(20px);
|
||||
margin-top: em(-20px);
|
||||
transform: none;
|
||||
transition: transform 0.3s $easeOutQuart;
|
||||
svg {
|
||||
display: block;
|
||||
width: em(40px);
|
||||
height: em(40px);
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
.fill {
|
||||
fill: $green;
|
||||
}
|
||||
}
|
||||
|
||||
.todo {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 48%;
|
||||
margin-right: 4%;
|
||||
@media screen and (max-width: $large_breakpoint) {
|
||||
width: 100%;
|
||||
margin: 0 0 em(40px) 0;
|
||||
}
|
||||
}
|
||||
|
||||
.settings {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 48%;
|
||||
@media screen and (max-width: $large_breakpoint) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
66
private/scss/modules/_downloads.scss
Normal file
66
private/scss/modules/_downloads.scss
Normal file
@@ -0,0 +1,66 @@
|
||||
.downloads__frame {
|
||||
width: 100%;
|
||||
padding: em(80px) 0 em(150px);
|
||||
position: relative;
|
||||
will-change: transform;
|
||||
.downloads {
|
||||
li {
|
||||
width: 33.3333%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.downloads__content {
|
||||
max-width: em(1440px);
|
||||
margin: 0 auto;
|
||||
padding: 0 em(80px);
|
||||
@media screen and (max-width: $large_breakpoint) {
|
||||
padding: 0 em(60px);
|
||||
}
|
||||
@media screen and (max-width: $medium_breakpoint) {
|
||||
max-width: em(600px);
|
||||
padding: 0 em(30px);
|
||||
}
|
||||
}
|
||||
|
||||
.downloads__section {
|
||||
margin-top: em(80px);
|
||||
.downloads--flat & {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.downloads__section__title {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
h3 {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
background: $white;
|
||||
width: 100vw;
|
||||
height: em(3px);
|
||||
opacity: 0.15;
|
||||
top: em(10.5px);
|
||||
left: 100%;
|
||||
margin-left: em(20px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.downloads__section__title--flat {
|
||||
h3 {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.downloads__list {
|
||||
display: block;
|
||||
margin: 0 em(-10px);
|
||||
font-size: 0;
|
||||
}
|
||||
@@ -67,6 +67,8 @@
|
||||
font-size: em(11px);
|
||||
color: $white;
|
||||
font-weight: 500;
|
||||
padding: 0 em(5px);
|
||||
text-shadow: 0 1px 0 $green, 1px 0 0 $green, 0 -1px 0 $green, -1px 0 0 $green;
|
||||
&:before, &:after {
|
||||
display: block;
|
||||
content: '';
|
||||
|
||||
Reference in New Issue
Block a user