2015-04-03 06:10:15 +08:00
|
|
|
img.avatar {
|
2015-04-04 14:07:49 +08:00
|
|
|
border-radius: 50%;
|
2015-04-03 06:10:15 +08:00
|
|
|
}
|
|
|
|
|
2014-05-20 11:55:46 +08:00
|
|
|
.container {
|
|
|
|
@extend .clearfix;
|
2015-07-20 15:47:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wrap {
|
|
|
|
@extend .clearfix;
|
2014-05-20 11:55:46 +08:00
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2015-07-20 16:01:55 +08:00
|
|
|
padding: 0 8px;
|
2014-10-29 07:46:05 +08:00
|
|
|
.contents {
|
|
|
|
position: relative;
|
|
|
|
}
|
2014-05-20 11:55:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.full-width {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
2014-05-26 23:33:47 +08:00
|
|
|
big {
|
2014-12-18 03:51:47 +08:00
|
|
|
font-size: 28px;
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
|
2014-11-03 08:23:00 +08:00
|
|
|
small {
|
2014-12-18 03:51:47 +08:00
|
|
|
font-size: 9px;
|
2014-11-03 08:23:00 +08:00
|
|
|
}
|
|
|
|
|
2014-12-18 03:51:47 +08:00
|
|
|
//setting a static limit on big and small prevents nesting abuse
|
|
|
|
|
|
|
|
|
2014-05-20 11:55:46 +08:00
|
|
|
blockquote {
|
2015-08-20 01:27:17 +08:00
|
|
|
@include post-aside;
|
2014-10-17 13:45:45 +08:00
|
|
|
overflow: hidden;
|
2015-05-19 17:40:19 +08:00
|
|
|
clear: both;
|
2014-05-20 11:55:46 +08:00
|
|
|
}
|
|
|
|
|
2014-05-26 14:17:25 +08:00
|
|
|
a.no-href {
|
2014-04-21 03:17:11 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-07-02 03:24:04 +08:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
body {
|
2014-07-02 01:39:54 +08:00
|
|
|
background-attachment: fixed;
|
|
|
|
background-size: cover;
|
2014-07-02 03:24:04 +08:00
|
|
|
min-height: 100%;
|
2014-07-02 01:39:54 +08:00
|
|
|
|
2015-03-28 02:42:27 +08:00
|
|
|
@include clearfix;
|
|
|
|
|
2014-07-02 01:39:54 +08:00
|
|
|
button.ok {
|
2014-05-06 13:50:51 +08:00
|
|
|
background: $success;
|
|
|
|
color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
@include hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
background: lighten($success, 10%);
|
|
|
|
color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
button.cancel {
|
2014-05-06 13:50:51 +08:00
|
|
|
background: $danger;
|
|
|
|
color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
@include hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
background: lighten($danger, 10%);
|
|
|
|
color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2014-04-24 08:48:04 +08:00
|
|
|
|
2015-05-27 15:36:12 +08:00
|
|
|
// the default for table cells in topic list
|
|
|
|
// is scale-color($primary, $lightness: 50%)
|
|
|
|
// numbers get dimmer as they get colder
|
2014-04-24 08:48:04 +08:00
|
|
|
.coldmap-high {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%)) !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.coldmap-med {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)) !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.coldmap-low {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)) !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.heatmap-high {
|
2014-08-15 12:36:28 +08:00
|
|
|
color: #fe7a15 !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.heatmap-med {
|
2014-08-15 12:36:28 +08:00
|
|
|
color: #cf7721 !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.heatmap-low {
|
2014-08-15 12:36:28 +08:00
|
|
|
color: #9b764f !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2014-08-14 21:33:41 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
#loading-message {
|
|
|
|
position: absolute;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 2.143em;
|
2014-04-21 03:17:11 +08:00
|
|
|
text-align: center;
|
|
|
|
top: 120px;
|
|
|
|
left: 500px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.top-space {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
ul.breadcrumb {
|
|
|
|
margin: 0 10px 0 10px;
|
|
|
|
}
|
2014-12-23 19:09:17 +08:00
|
|
|
|
2015-09-17 03:15:07 +08:00
|
|
|
.message {
|
2014-04-21 03:17:11 +08:00
|
|
|
@include border-radius-all(8px);
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
padding: 14px;
|
2014-12-23 19:09:17 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
h2 {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
p {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.429em;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2015-09-17 03:15:07 +08:00
|
|
|
#footer {
|
2014-04-21 03:17:11 +08:00
|
|
|
.container {
|
|
|
|
height: 50px;
|
|
|
|
.contents {
|
|
|
|
padding-top: 10px;
|
|
|
|
a[href] {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-23 19:09:17 +08:00
|
|
|
|
|
|
|
.clear-transitions {
|
|
|
|
transition:none !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2014-05-03 05:46:03 +08:00
|
|
|
|
2015-09-17 03:15:07 +08:00
|
|
|
.tip {
|
|
|
|
display: inline-block;
|
|
|
|
&.good {
|
|
|
|
color: $success;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2015-09-17 03:15:07 +08:00
|
|
|
&.bad {
|
|
|
|
color: $danger;
|
2015-09-16 23:54:09 +08:00
|
|
|
}
|
2015-09-17 03:15:07 +08:00
|
|
|
}
|
2014-05-03 05:46:03 +08:00
|
|
|
|
2015-09-17 03:15:07 +08:00
|
|
|
input[type].invalid {
|
|
|
|
background-color: dark-light-choose(scale-color($danger, $lightness: 80%), scale-color($danger, $lightness: -60%));
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
|
2015-09-17 03:15:07 +08:00
|
|
|
.wmd-input {
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagedown-editor {
|
|
|
|
width: 540px;
|
|
|
|
background-color: $secondary;
|
|
|
|
padding: 0 10px 13px 10px;
|
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
.preview {
|
|
|
|
margin-top: 8px;
|
|
|
|
border: 1px dashed dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
padding: 8px 8px 0 8px;
|
|
|
|
p {
|
|
|
|
margin: 0 0 10px 0;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2015-09-17 03:15:07 +08:00
|
|
|
.preview.hidden {
|
|
|
|
display: none;
|
2015-09-16 23:54:09 +08:00
|
|
|
}
|
2015-09-17 03:15:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.avatar-wrapper {
|
|
|
|
background-color: $secondary;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profiler-results.profiler-left {
|
|
|
|
top: 60px !important;
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
|
|
|
|
}
|
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;
|
|
|
|
transition: opacity 0.15s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2014-11-06 09:13:51 +08:00
|
|
|
|
2014-12-25 18:19:06 +08:00
|
|
|
@-webkit-keyframes rotate-forever {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
2014-11-11 22:22:14 +08:00
|
|
|
@keyframes rotate-forever {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
2014-11-06 09:13:51 +08:00
|
|
|
}
|
2014-11-11 22:22:14 +08:00
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
2014-11-06 09:13:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-14 03:15:36 +08:00
|
|
|
.inline-spinner {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-11-11 22:22:14 +08:00
|
|
|
.spinner {
|
2014-12-05 06:05:47 +08:00
|
|
|
margin: 20px auto 20px auto;
|
2014-11-11 22:22:14 +08:00
|
|
|
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-14 03:15:36 +08:00
|
|
|
|
|
|
|
&.small {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-11-06 09:13:51 +08:00
|
|
|
}
|