discourse/app/assets/stylesheets/common/base/discourse.scss

192 lines
2.9 KiB
SCSS
Raw Normal View History

2014-05-20 11:55:46 +08:00
.container {
@extend .clearfix;
margin-right: auto;
margin-left: auto;
}
.full-width {
margin-left: 12px;
}
big {
font-size: 28px;
}
2014-05-20 11:55:46 +08:00
blockquote {
background-color: scale-color-diff();
border-left: 5px solid darken(scale-color-diff(), 10%);
}
2014-05-26 14:17:25 +08:00
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 {
2014-08-15 13:27:10 +08:00
color: #91CDF5 !important;
}
.coldmap-med {
2014-08-15 13:27:10 +08:00
color: #91CDF5 !important;
}
.coldmap-low {
2014-08-15 13:27:10 +08:00
color: #91AFD2 !important;
}
.heatmap-high {
color: #fe7a15 !important;
}
.heatmap-med {
color: #cf7721 !important;
}
.heatmap-low {
color: #9b764f !important;
}
2014-08-14 21:33:41 +08:00
#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 {
width: 20px;
2014-10-03 05:50:13 +08:00
margin: 0 auto;
padding: 25px 15px;
background: {
2014-10-03 05:50:13 +08:00
image: image-url("spinner_96.gif");
repeat: no-repeat;
size: 50px;
};
-webkit-animation: spinner .25s;
animation: spinner .25s;
margin-top: 10px;
}
//loading spinner fade-in
@-webkit-keyframes spinner {
from {opacity: 0}
to {opacity: 1}
}@keyframes fade {
from {opacity: 0}
to {opacity: 1}
}
.avatar-wrapper {
background-color: $secondary;
display: inline-block;
}
.profiler-results.profiler-left {
top: 60px !important;
}
}
2014-07-26 01:33:38 +08:00
.unread-private-messages {
2014-07-26 11:06:14 +08:00
color: $secondary;
background: $success;
&.badge-notification[href] {color: $secondary;}
2014-07-26 01:33:38 +08:00
}
2014-08-22 22:45:51 +08:00
.fade {
opacity: 0;
-webkit-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
.fade.in {
opacity: 1;
}