2018-03-24 18:57:05 +11:00
|
|
|
body {
|
|
|
|
font-family: $baseFont;
|
|
|
|
font-weight: $baseFontRegular;
|
2018-04-14 01:07:26 +10:00
|
|
|
|
|
|
|
// By default, all pages have a dark background. Since
|
|
|
|
// most pages have 'code' snippets, that allows the code
|
|
|
|
// that is out of canvas to be visible (scroll right).
|
|
|
|
background-color: $codeBgColor;
|
2018-03-24 18:57:05 +11:00
|
|
|
}
|
|
|
|
|
2018-04-14 01:07:26 +10:00
|
|
|
// But pure text/content pages have a white background.
|
|
|
|
// With that, pages which are shorter than the browser
|
|
|
|
// window, won't have a dark stripe at the bottom.
|
|
|
|
body[code-page] { background-color: $bgColor; }
|
|
|
|
body[text-page] { background-color: $bgColor; }
|
|
|
|
|
|
|
|
// Platform is set by Javascript.
|
2018-03-24 18:57:05 +11:00
|
|
|
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 {
|
2018-04-14 02:44:33 +10:00
|
|
|
@include boxPadding(20px, 20px);
|
2018-03-28 03:42:54 +11:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 6px 15px;
|
|
|
|
margin: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:target {
|
|
|
|
max-height: 80px;
|
|
|
|
}
|
|
|
|
}
|