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

231 lines
3.4 KiB
SCSS
Raw Normal View History

img.avatar {
2015-04-04 02:07:49 -04:00
border-radius: 50%;
}
2014-05-19 23:55:46 -04:00
.container {
@extend .clearfix;
margin-right: auto;
margin-left: auto;
.contents {
position: relative;
}
2014-05-19 23:55:46 -04:00
}
.full-width {
margin-left: 12px;
}
big {
font-size: 28px;
}
small {
font-size: 9px;
}
//setting a static limit on big and small prevents nesting abuse
2014-05-19 23:55:46 -04:00
blockquote {
background-color: scale-color-diff();
border-left: 5px solid darken(scale-color-diff(), 10%);
overflow: hidden;
2014-05-19 23:55:46 -04:00
}
2014-05-26 02:17:25 -04:00
a.no-href {
cursor: pointer;
}
html {
height: 100%;
}
body {
background-attachment: fixed;
background-size: cover;
min-height: 100%;
2015-03-27 14:42:27 -04:00
@include clearfix;
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 01:27:10 -04:00
color: #91CDF5 !important;
}
.coldmap-med {
2014-08-15 01:27:10 -04:00
color: #91CDF5 !important;
}
.coldmap-low {
2014-08-15 01:27:10 -04:00
color: #91AFD2 !important;
}
.heatmap-high {
color: #fe7a15 !important;
}
.heatmap-med {
color: #cf7721 !important;
}
.heatmap-low {
color: #9b764f !important;
}
2014-08-14 09:33:41 -04:00
#loading-message {
position: absolute;
font-size: 2.143em;
text-align: center;
top: 120px;
left: 500px;
color: $primary;
}
.top-space {
margin-top: 10px;
}
ul.breadcrumb {
margin: 0 10px 0 10px;
}
2014-12-23 06:09:17 -05:00
.message {
@include border-radius-all(8px);
background-color: $secondary;
padding: 14px;
2014-12-23 06:09:17 -05:00
h2 {
margin-bottom: 20px;
}
p {
font-size: 1.429em;
}
}
#footer {
.container {
height: 50px;
.contents {
padding-top: 10px;
a[href] {
color: $secondary;
}
}
}
}
2014-12-23 06:09:17 -05:00
.clear-transitions {
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;
}
}
.avatar-wrapper {
background-color: $secondary;
display: inline-block;
border-radius: 50%;
}
.profiler-results.profiler-left {
top: 60px !important;
}
}
2014-07-25 13:33:38 -04:00
.unread-private-messages {
2014-07-25 23:06:14 -04:00
color: $secondary;
background: $success;
&.badge-notification[href] {color: $secondary;}
2014-07-25 13:33:38 -04:00
}
2014-08-22 10:45:51 -04:00
.fade {
opacity: 0;
transition: opacity 0.15s linear;
}
.fade.in {
opacity: 1;
}
2014-11-05 20:13:51 -05:00
2014-12-25 05:19:06 -05:00
@-webkit-keyframes rotate-forever {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes rotate-forever {
0% {
transform: rotate(0deg);
2014-11-05 20:13:51 -05:00
}
100% {
transform: rotate(360deg);
2014-11-05 20:13:51 -05:00
}
}
2014-11-13 14:15:36 -05:00
.inline-spinner {
display: inline-block;
margin: 0;
}
.spinner {
margin: 20px auto 20px auto;
position: relative;
-webkit-animation: rotate-forever 1s infinite linear;
animation: rotate-forever 1s infinite linear;
height: 30px;
width: 30px;
border: 4px solid dark-light-diff($primary, $secondary, 50%, -50%);
border-right-color: transparent;
border-radius: 50%;
2014-11-13 14:15:36 -05:00
&.small {
width: 10px;
height: 10px;
margin: 0;
display: inline-block;
}
2014-11-05 20:13:51 -05:00
}