dpaste/client/scss/_globals.scss
2018-03-27 18:42:54 +02:00

77 lines
1.2 KiB
SCSS

body {
min-width: 800px; // FIXME: MOBILE
background-color: $bgColor;
font-family: $baseFont;
font-weight: $baseFontRegular;
}
body[data-code-snippet] { background-color: $codeBgColor; }
body[data-platform=win] .platform-mac { display: none; }
body[data-platform=mac] .platform-win { display: none; }
.btn {
padding: 6px 0;
position: relative;
display: inline-block;
color: $btnTextColor;
background-color: $btnBgColor;
border: 1px solid $btnBorderColor;
border-radius: 3px;
font-size: 13px;
font-weight: $baseFontDemiBold;
text-decoration: none;
text-align: center;
cursor: pointer;
.sep {
@include separator();
}
&:hover {
text-decoration: none;
background-color: darken($btnBgColor, 5%);
}
&:active {
top: 1px;
}
}
.confirm-modal {
@include colored-links;
background-color: $confirmBgColor;
color: $confirmTextColor;
// Hidden by default
overflow: hidden;
max-height: 0;
// Foldout animation
transition: max-height .15s ease-in;
form {
display: block;
padding: 20px $boxPadding;
}
.btn {
padding: 6px 15px;
margin: 0 10px;
}
.no {
font-size: 13px;
}
&:target {
max-height: 80px;
}
}