You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
252 lines
5.4 KiB
SCSS
252 lines
5.4 KiB
SCSS
html,
|
|
body {
|
|
background: $primary
|
|
linear-gradient(
|
|
0deg,
|
|
rgba($primary, 1) 0%,
|
|
rgba(color.adjust($primary, $lightness: 10%), 1) 100%
|
|
)
|
|
no-repeat;
|
|
font: 400 1em $baseType;
|
|
height: 100%;
|
|
}
|
|
|
|
a {
|
|
font: 300 1em $baseType;
|
|
color: $secondary;
|
|
text-decoration: underline;
|
|
transition: all 0.2s linear;
|
|
}
|
|
|
|
svg.icons {
|
|
width: 25px;
|
|
fill: $secondary;
|
|
}
|
|
|
|
#notifications {
|
|
perspective: 1000px;
|
|
position: fixed;
|
|
z-index: 2000;
|
|
height: 55px;
|
|
width: 100%;
|
|
display: block;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
margin-top: -55px;
|
|
|
|
#notify-message {
|
|
margin: 0 auto;
|
|
|
|
// ks-easing( "out-back" );
|
|
transition: all 0.6s cubic-bezier(0.83, 0.05, 0.28, 1);
|
|
|
|
// padding-top -125px
|
|
height: 50px;
|
|
width: 500px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 1;
|
|
transform-style: preserve-3d;
|
|
transform: rotateX(120deg);
|
|
transform-origin: 50% 0;
|
|
overflow: hidden;
|
|
|
|
#notify-good,
|
|
#notify-lame,
|
|
#notify-working {
|
|
display: block;
|
|
}
|
|
|
|
#notify-working-icon {
|
|
animation: spin 2s linear infinite;
|
|
@keyframes spin {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.notify-icon {
|
|
background: $black;
|
|
padding: 8px 5px 5px;
|
|
border-radius: 5px 0 0 5px;
|
|
height: 30px;
|
|
width: 30px;
|
|
text-align: center;
|
|
border: 2px solid $white;
|
|
}
|
|
|
|
#notify-text {
|
|
color: $white;
|
|
background: $black;
|
|
width: 400px;
|
|
height: 28px;
|
|
padding: 15px 0 0;
|
|
border-radius: 0 5px 5px 0;
|
|
border: 2px solid $white;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
|
|
#notify-progress {
|
|
width: 0;
|
|
background: $highlight;
|
|
height: 43px;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
p {
|
|
top: -15px;
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.icons {
|
|
fill: $white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.notify-close {
|
|
transform-style: preserve-3d;
|
|
transform: rotateX(-120deg);
|
|
}
|
|
|
|
.notify-open {
|
|
transform-style: preserve-3d;
|
|
transform: rotateX(0deg);
|
|
}
|
|
|
|
.blog-container {
|
|
width: 100%;
|
|
}
|
|
|
|
.main-container {
|
|
margin: 0 auto;
|
|
z-index: 10;
|
|
position: relative;
|
|
height: 100%;
|
|
|
|
section {
|
|
header {
|
|
width: 100%;
|
|
max-width: 900px;
|
|
margin: 10px auto;
|
|
background: $white;
|
|
height: 50px;
|
|
border-radius: 5px;
|
|
|
|
#wrapper {
|
|
padding: 5px;
|
|
|
|
#left,
|
|
#right {
|
|
width: 49.7%;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
min-height: 60px;
|
|
|
|
#the-logo {
|
|
width: 29px;
|
|
}
|
|
}
|
|
|
|
#right {
|
|
text-align: right;
|
|
color: $white;
|
|
|
|
// word-break: break-all;
|
|
#dash-menu {
|
|
text-align: right;
|
|
|
|
a {
|
|
button {
|
|
border-radius: 50px;
|
|
|
|
svg {
|
|
transition: all 0.2s linear;
|
|
width: 40px;
|
|
height: 20px;
|
|
fill: $white;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
button {
|
|
background: $primary;
|
|
}
|
|
|
|
svg {
|
|
fill: $secondary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} /* Mozilla based browsers */
|
|
::selection {
|
|
background-color: $highlight;
|
|
color: $white;
|
|
}
|
|
|
|
/* Works in Opera */
|
|
::-o-selection {
|
|
background-color: $highlight;
|
|
color: $white;
|
|
}
|
|
|
|
::-ms-selection {
|
|
background-color: $highlight;
|
|
color: $white;
|
|
}
|
|
|
|
/* Works in Internet Explorer */
|
|
::-webkit-selection {
|
|
background-color: $highlight;
|
|
color: $white;
|
|
}
|
|
|
|
// Responsive
|
|
@media only screen and (max-width: 901px) {
|
|
.main-container {
|
|
padding: 10px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
.main-container {
|
|
section {
|
|
header {
|
|
#wrapper {
|
|
#left,
|
|
#right {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@media only screen and (max-width: 480px) {
|
|
.main-container {
|
|
section {
|
|
header {
|
|
#wrapper {
|
|
#left {
|
|
width: 30%;
|
|
}
|
|
|
|
#right {
|
|
width: 70%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} ;
|