dpaste/client/scss/_globals.scss

76 lines
1.1 KiB
SCSS
Raw Normal View History

2018-03-24 18:57:05 +11:00
body {
min-width: 800px; // FIXME: MOBILE
background-color: $bgColor;
font-family: $baseFont;
font-weight: $baseFontRegular;
}
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;
}
}
2018-03-28 03:42:54 +11:00
.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;
}
}