mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 18:25:37 +08:00
218 lines
4.0 KiB
SCSS
218 lines
4.0 KiB
SCSS
.container {
|
|
@extend .clearfix;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
.contents {
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.full-width {
|
|
margin-left: 12px;
|
|
}
|
|
|
|
big {
|
|
font-size: 28px;
|
|
}
|
|
|
|
small {
|
|
font-size: 10px;
|
|
}
|
|
|
|
blockquote {
|
|
background-color: scale-color-diff();
|
|
border-left: 5px solid darken(scale-color-diff(), 10%);
|
|
overflow: hidden;
|
|
}
|
|
|
|
a.no-href {
|
|
cursor: pointer;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
background-attachment: fixed;
|
|
background-size: cover;
|
|
min-height: 100%;
|
|
|
|
button.ok {
|
|
background: $success;
|
|
color: $secondary;
|
|
@include hover {
|
|
background: lighten($success, 10%);
|
|
color: $secondary;
|
|
}
|
|
}
|
|
button.cancel {
|
|
background: $danger;
|
|
color: $secondary;
|
|
@include hover {
|
|
background: lighten($danger, 10%);
|
|
color: $secondary;
|
|
}
|
|
}
|
|
|
|
.coldmap-high {
|
|
color: #91CDF5 !important;
|
|
}
|
|
.coldmap-med {
|
|
color: #91CDF5 !important;
|
|
}
|
|
.coldmap-low {
|
|
color: #91AFD2 !important;
|
|
}
|
|
.heatmap-high {
|
|
color: #fe7a15 !important;
|
|
}
|
|
.heatmap-med {
|
|
color: #cf7721 !important;
|
|
}
|
|
.heatmap-low {
|
|
color: #9b764f !important;
|
|
}
|
|
|
|
#loading-message {
|
|
position: absolute;
|
|
font-size: 30px;
|
|
text-align: center;
|
|
top: 120px;
|
|
left: 500px;
|
|
color: $primary;
|
|
}
|
|
.top-space {
|
|
margin-top: 10px;
|
|
}
|
|
ul.breadcrumb {
|
|
margin: 0 10px 0 10px;
|
|
}
|
|
.message {
|
|
@include border-radius-all(8px);
|
|
background-color: $secondary;
|
|
padding: 14px;
|
|
h2 {
|
|
margin-bottom: 20px;
|
|
}
|
|
p {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
#footer {
|
|
.container {
|
|
height: 50px;
|
|
.contents {
|
|
padding-top: 10px;
|
|
a[href] {
|
|
color: $secondary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.clear-transitions {
|
|
@include transition(none !important);
|
|
}
|
|
|
|
.tip {
|
|
display: inline-block;
|
|
&.good {
|
|
color: $success;
|
|
}
|
|
&.bad {
|
|
color: $danger;
|
|
}
|
|
}
|
|
|
|
|
|
#wmd-input {
|
|
resize: none;
|
|
}
|
|
|
|
#pagedown-editor {
|
|
width: 540px;
|
|
background-color: $secondary;
|
|
padding: 0 10px 13px 10px;
|
|
border: 1px solid scale-color-diff();
|
|
.preview {
|
|
margin-top: 8px;
|
|
border: 1px dashed scale-color-diff();
|
|
padding: 8px 8px 0 8px;
|
|
p {
|
|
margin: 0 0 10px 0;
|
|
}
|
|
}
|
|
.preview.hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.spinner {
|
|
height: 50px; width: 50px;
|
|
margin: 20px auto 0 auto;
|
|
-webkit-animation: spin 1s steps(12, end) infinite;
|
|
animation: spin 1s steps(12, end) infinite;
|
|
}
|
|
|
|
.spinner i {
|
|
height: 12px; width: 4px;
|
|
margin-left: -2px;
|
|
display: block;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform-origin: center 25px;
|
|
background: $primary;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.spinner i:nth-child(1) { opacity: 0.08; }
|
|
.spinner i:nth-child(2) { transform: rotate(30deg); opacity: 0.167; }
|
|
.spinner i:nth-child(3) { transform: rotate(60deg); opacity: 0.25; }
|
|
.spinner i:nth-child(4) { transform: rotate(90deg); opacity: 0.33; }
|
|
.spinner i:nth-child(5) { transform: rotate(120deg); opacity: 0.4167; }
|
|
.spinner i:nth-child(6) { transform: rotate(150deg); opacity: 0.5; }
|
|
.spinner i:nth-child(7) { transform: rotate(180deg); opacity: 0.583; }
|
|
.spinner i:nth-child(8) { transform: rotate(210deg); opacity: 0.67; }
|
|
.spinner i:nth-child(9) { transform: rotate(240deg); opacity: 0.75; }
|
|
.spinner i:nth-child(10) { transform: rotate(270deg); opacity: 0.833; }
|
|
.spinner i:nth-child(11) { transform: rotate(300deg); opacity: 0.9167; }
|
|
.spinner i:nth-child(12) { transform: rotate(330deg); opacity: 1; }
|
|
|
|
@-webkit-keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.avatar-wrapper {
|
|
background-color: $secondary;
|
|
display: inline-block;
|
|
}
|
|
|
|
.profiler-results.profiler-left {
|
|
top: 60px !important;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.unread-private-messages {
|
|
color: $secondary;
|
|
background: $success;
|
|
&.badge-notification[href] {color: $secondary;}
|
|
}
|
|
|
|
.fade {
|
|
opacity: 0;
|
|
-webkit-transition: opacity 0.15s linear;
|
|
transition: opacity 0.15s linear;
|
|
}
|
|
|
|
.fade.in {
|
|
opacity: 1;
|
|
}
|