2017-09-02 06:59:50 +08:00
|
|
|
// Common
|
|
|
|
// global styles that apply to the Discourse application specifically
|
|
|
|
// BEWARE: changing these styles implies they take effect anywhere they are seen
|
|
|
|
// throughout the Discourse application
|
|
|
|
|
|
|
|
// Animation Keyframes
|
|
|
|
@keyframes ping {
|
|
|
|
from {
|
|
|
|
transform: scale(0.25);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: scale(2);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2015-04-03 06:10:15 +08:00
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
@keyframes rotate-forever {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
2015-07-20 15:47:53 +08:00
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
@keyframes background-fade-highlight {
|
|
|
|
0% {
|
|
|
|
background-color: $tertiary-low;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-color: transparent;
|
2014-10-29 07:46:05 +08:00
|
|
|
}
|
2014-05-20 11:55:46 +08:00
|
|
|
}
|
|
|
|
|
2019-04-27 00:29:48 +08:00
|
|
|
// placeholder
|
|
|
|
@keyframes placeHolderShimmer {
|
|
|
|
0% {
|
|
|
|
background-position: -1000px 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-position: 1100px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder-animation {
|
|
|
|
animation-duration: 4s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-name: placeHolderShimmer;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
background: $primary-very-low;
|
|
|
|
background: linear-gradient(
|
|
|
|
to right,
|
|
|
|
$primary-very-low 10%,
|
|
|
|
$primary-low 18%,
|
|
|
|
$primary-very-low 33%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
// Base Elements
|
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-attachment: fixed;
|
|
|
|
background-size: cover;
|
|
|
|
min-height: 100%;
|
|
|
|
|
|
|
|
@include clearfix;
|
2014-05-20 11:55:46 +08:00
|
|
|
}
|
|
|
|
|
2018-01-19 15:12:30 +08:00
|
|
|
// setting a static limit on big and small prevents nesting abuse
|
2014-05-26 23:33:47 +08:00
|
|
|
big {
|
2018-01-22 11:22:30 +08:00
|
|
|
font-size: $font-up-5;
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
2014-11-03 08:23:00 +08:00
|
|
|
small {
|
2018-01-22 11:22:30 +08:00
|
|
|
font-size: $font-down-2;
|
2014-11-03 08:23:00 +08:00
|
|
|
}
|
|
|
|
|
2014-05-20 11:55:46 +08:00
|
|
|
blockquote {
|
2015-08-20 01:27:17 +08:00
|
|
|
@include post-aside;
|
2015-05-19 17:40:19 +08:00
|
|
|
clear: both;
|
2014-05-20 11:55:46 +08:00
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin-top: 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-bottom: 0.5rem;
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
&.ok {
|
|
|
|
background: $success;
|
|
|
|
color: $secondary;
|
2019-02-01 03:20:27 +08:00
|
|
|
.d-icon {
|
|
|
|
color: currentColor;
|
|
|
|
}
|
2017-09-02 06:59:50 +08:00
|
|
|
@include hover {
|
|
|
|
background: lighten($success, 10%);
|
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.cancel {
|
|
|
|
background: $danger;
|
|
|
|
color: $secondary;
|
2019-02-01 03:20:27 +08:00
|
|
|
.d-icon {
|
|
|
|
color: currentColor;
|
|
|
|
}
|
2017-09-02 06:59:50 +08:00
|
|
|
@include hover {
|
|
|
|
background: lighten($danger, 10%);
|
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.breadcrumb {
|
|
|
|
margin: 0 10px 0 10px;
|
|
|
|
}
|
|
|
|
|
2014-05-26 14:17:25 +08:00
|
|
|
a.no-href {
|
2014-04-21 03:17:11 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
img.avatar {
|
|
|
|
border-radius: 50%;
|
2014-07-02 03:24:04 +08:00
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
// don't wrap relative dates; we want Jul 26, '15, not: Jul
|
|
|
|
// 26,
|
|
|
|
// '15
|
|
|
|
span.relative-date {
|
2018-06-08 17:49:31 +08:00
|
|
|
white-space: nowrap;
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
2014-07-02 01:39:54 +08:00
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
label {
|
2018-09-19 20:37:04 +08:00
|
|
|
display: flex;
|
2017-09-02 06:59:50 +08:00
|
|
|
margin-bottom: 5px;
|
2018-09-19 23:48:48 +08:00
|
|
|
align-items: flex-start;
|
2019-03-29 03:10:31 +08:00
|
|
|
> .d-icon {
|
|
|
|
align-self: center;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
input {
|
|
|
|
&[type="radio"],
|
|
|
|
&[type="checkbox"] {
|
2018-10-03 00:04:37 +08:00
|
|
|
margin-top: 0.17em;
|
|
|
|
margin-right: 0.43em;
|
2018-10-04 10:26:05 +08:00
|
|
|
margin-left: 0.1em;
|
2018-09-19 20:37:04 +08:00
|
|
|
line-height: $line-height-small;
|
2017-09-02 06:59:50 +08:00
|
|
|
cursor: pointer;
|
2018-10-04 10:26:05 +08:00
|
|
|
flex-shrink: 0; // Adding for safety, Safari will shrink checkboxes
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
|
|
|
&[type="submit"],
|
|
|
|
&[type="reset"],
|
|
|
|
&[type="button"],
|
|
|
|
&[type="radio"],
|
|
|
|
&[type="checkbox"] {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
2018-06-08 17:49:31 +08:00
|
|
|
background-color: dark-light-choose(
|
|
|
|
$danger-low,
|
|
|
|
scale-color($danger, $lightness: -60%)
|
|
|
|
);
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.radio &[type="radio"],
|
|
|
|
.checkbox &[type="checkbox"] {
|
|
|
|
float: left;
|
|
|
|
margin-left: -18px;
|
|
|
|
}
|
2017-11-10 04:03:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
color: $primary;
|
|
|
|
|
|
|
|
&[class*="span"] {
|
|
|
|
float: none;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
&[readonly] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
background-color: $primary-low;
|
|
|
|
border-color: $primary-low;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus:required:invalid {
|
|
|
|
color: $danger;
|
|
|
|
border-color: $danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus:required:invalid:focus {
|
|
|
|
border-color: $danger;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("focus-danger");
|
2017-11-10 04:03:19 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
&[type="text"],
|
|
|
|
&[type="password"],
|
|
|
|
&[type="datetime"],
|
|
|
|
&[type="datetime-local"],
|
|
|
|
&[type="date"],
|
|
|
|
&[type="month"],
|
|
|
|
&[type="time"],
|
|
|
|
&[type="week"],
|
|
|
|
&[type="number"],
|
|
|
|
&[type="email"],
|
|
|
|
&[type="url"],
|
|
|
|
&[type="search"],
|
|
|
|
&[type="tel"],
|
|
|
|
&[type="color"] {
|
2017-11-28 04:23:18 +08:00
|
|
|
@include appearance-none;
|
2017-11-10 04:03:19 +08:00
|
|
|
display: inline-block;
|
2018-04-19 23:36:09 +08:00
|
|
|
padding: $input-padding;
|
2017-11-10 04:03:19 +08:00
|
|
|
margin-bottom: 9px;
|
2018-06-08 17:49:31 +08:00
|
|
|
font-size: $font-0;
|
2018-09-19 20:37:04 +08:00
|
|
|
line-height: $line-height-small;
|
2017-11-10 04:03:19 +08:00
|
|
|
color: $primary;
|
|
|
|
background-color: $secondary;
|
2017-11-28 04:23:18 +08:00
|
|
|
border: 1px solid $primary-medium;
|
|
|
|
border-radius: 0;
|
2018-09-19 20:37:04 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
min-height: 30px;
|
2017-11-10 04:03:19 +08:00
|
|
|
&:focus {
|
|
|
|
border-color: $tertiary;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("focus");
|
2017-11-10 04:03:19 +08:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-05 03:47:14 +08:00
|
|
|
.input {
|
|
|
|
&-prepend,
|
|
|
|
&-append {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
input[class*="span"] {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
select {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
border-radius: 0;
|
|
|
|
&:focus {
|
|
|
|
z-index: z("base") + 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.add-on {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
width: auto;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
height: 28px;
|
|
|
|
background-color: $primary-low;
|
|
|
|
border: 1px solid $primary-medium;
|
|
|
|
}
|
|
|
|
.add-on,
|
|
|
|
.btn {
|
|
|
|
&:first-child {
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
margin-left: -1px;
|
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-prepend {
|
|
|
|
.add-on,
|
|
|
|
.btn {
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-10 04:03:19 +08:00
|
|
|
textarea {
|
|
|
|
height: auto;
|
2017-11-28 04:23:18 +08:00
|
|
|
background-color: $secondary;
|
|
|
|
border: 1px solid $primary-medium;
|
2017-11-10 04:03:19 +08:00
|
|
|
&:focus {
|
|
|
|
border-color: $tertiary;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("focus");
|
2017-11-10 04:03:19 +08:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
2018-01-19 15:12:30 +08:00
|
|
|
border: 1px solid $primary-low;
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
2015-03-28 02:42:27 +08:00
|
|
|
|
2019-02-27 10:40:17 +08:00
|
|
|
table {
|
|
|
|
th {
|
|
|
|
font-weight: normal;
|
|
|
|
color: $primary-medium;
|
|
|
|
text-align: left;
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
// Common Classes
|
2019-02-27 10:40:17 +08:00
|
|
|
|
|
|
|
.sortable {
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
|
|
|
background-color: $primary-low;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
@include unselectable;
|
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
.radio,
|
|
|
|
.checkbox {
|
|
|
|
min-height: 18px;
|
|
|
|
padding-left: 18px;
|
|
|
|
|
|
|
|
.controls > &:first-child {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inline {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 5px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
vertical-align: middle;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
.radio.inline .radio.inline,
|
|
|
|
.checkbox.inline .checkbox.inline {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
@extend .clearfix;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap {
|
|
|
|
@extend .clearfix;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
|
|
.contents {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.boxed {
|
|
|
|
&.white {
|
|
|
|
background-color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
2014-04-24 08:48:04 +08:00
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
.full-width {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
2017-08-19 00:36:21 +08:00
|
|
|
// the default for table cells in topic list
|
2017-10-11 04:07:46 +08:00
|
|
|
// is $primary-medium
|
2017-08-19 00:36:21 +08:00
|
|
|
// numbers get dimmer as they get colder
|
2017-09-02 06:59:50 +08:00
|
|
|
.coldmap {
|
|
|
|
&-high {
|
2018-06-08 17:49:31 +08:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high) !important;
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
2014-08-14 21:33:41 +08:00
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
&-med {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high) !important;
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-low {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium) !important;
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
2017-09-02 06:59:50 +08:00
|
|
|
|
|
|
|
.top-space {
|
2017-08-19 00:36:21 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2014-12-23 19:09:17 +08:00
|
|
|
|
2017-08-19 00:36:21 +08:00
|
|
|
.message {
|
2018-07-13 04:38:51 +08:00
|
|
|
border-radius: 8px;
|
2017-08-19 00:36:21 +08:00
|
|
|
background-color: $secondary;
|
|
|
|
padding: 14px;
|
2014-12-23 19:09:17 +08:00
|
|
|
|
2017-08-19 00:36:21 +08:00
|
|
|
h2 {
|
|
|
|
margin-bottom: 20px;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
2015-09-17 04:04:48 +08:00
|
|
|
|
2017-08-19 00:36:21 +08:00
|
|
|
.clear-transitions {
|
2018-06-08 17:49:31 +08:00
|
|
|
transition: none !important;
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
2014-05-03 05:46:03 +08:00
|
|
|
|
2017-08-19 00:36:21 +08:00
|
|
|
.tip {
|
|
|
|
display: inline-block;
|
|
|
|
&.good {
|
|
|
|
color: $success;
|
2015-09-16 23:54:09 +08:00
|
|
|
}
|
2017-08-19 00:36:21 +08:00
|
|
|
&.bad {
|
|
|
|
color: $danger;
|
2015-09-17 04:04:48 +08:00
|
|
|
}
|
2017-08-19 00:36:21 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
|
2017-08-19 00:36:21 +08:00
|
|
|
.avatar-wrapper {
|
|
|
|
background-color: $secondary;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2017-05-19 05:08:45 +08:00
|
|
|
|
2017-08-19 00:36:21 +08:00
|
|
|
.profiler-results.profiler-left {
|
|
|
|
top: 60px !important;
|
|
|
|
}
|
|
|
|
|
2017-05-25 03:52:18 +08:00
|
|
|
.flex-center-align {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2014-07-26 01:33:38 +08:00
|
|
|
.unread-private-messages {
|
2014-07-26 11:06:14 +08:00
|
|
|
color: $secondary;
|
|
|
|
background: $success;
|
2017-09-02 06:59:50 +08:00
|
|
|
|
|
|
|
&.badge-notification[href] {
|
|
|
|
color: $secondary;
|
|
|
|
}
|
2014-07-26 01:33:38 +08:00
|
|
|
}
|
2014-08-22 22:45:51 +08:00
|
|
|
|
2016-11-16 18:20:51 +08:00
|
|
|
.ring-backdrop-spotlight {
|
|
|
|
position: absolute;
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
top: -18px;
|
|
|
|
right: -18px;
|
2018-06-08 17:49:31 +08:00
|
|
|
background-image: radial-gradient(
|
|
|
|
40px at 50% 50%,
|
|
|
|
transparent 95%,
|
|
|
|
$primary 100%
|
|
|
|
);
|
2016-11-16 18:20:51 +08:00
|
|
|
opacity: 0.85;
|
|
|
|
}
|
|
|
|
|
2016-11-15 10:56:34 +08:00
|
|
|
.ring-backdrop {
|
2016-11-16 18:20:51 +08:00
|
|
|
position: absolute;
|
2016-11-15 10:56:34 +08:00
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
top: -18px !important;
|
|
|
|
right: -18px !important;
|
2016-11-16 18:20:51 +08:00
|
|
|
box-shadow: 0 0 0 9999px rgba($primary, 0.85);
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "overlay");
|
2016-11-15 10:56:34 +08:00
|
|
|
}
|
|
|
|
|
2016-11-16 12:24:33 +08:00
|
|
|
.ring-first-notification {
|
|
|
|
position: absolute;
|
|
|
|
color: $secondary;
|
|
|
|
text-align: left;
|
2016-11-16 18:20:51 +08:00
|
|
|
right: 70px;
|
2016-11-16 12:44:22 +08:00
|
|
|
top: 60px;
|
2016-11-16 18:20:51 +08:00
|
|
|
width: 230px;
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2016-11-16 12:24:33 +08:00
|
|
|
}
|
|
|
|
|
2016-11-08 16:12:40 +08:00
|
|
|
.ring {
|
2016-11-09 09:56:36 +08:00
|
|
|
$gradient-start: transparent;
|
|
|
|
$gradient-end: #090;
|
|
|
|
background: -webkit-radial-gradient($gradient-start, $gradient-end);
|
|
|
|
background: -o-radial-gradient($gradient-start, $gradient-end);
|
|
|
|
background: -moz-radial-gradient($gradient-start, $gradient-end);
|
|
|
|
background: radial-gradient($gradient-start, $gradient-end);
|
|
|
|
top: -11px !important;
|
2016-11-09 14:35:29 +08:00
|
|
|
right: 23.5px !important;
|
2016-11-08 19:57:32 +08:00
|
|
|
border-radius: 100%;
|
2016-11-08 16:12:40 +08:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
-moz-animation-iteration-count: infinite;
|
|
|
|
-webkit-animation-iteration-count: infinite;
|
|
|
|
-webkit-transform-origin: center;
|
|
|
|
-moz-animation-duration: 3s;
|
|
|
|
-webkit-animation-duration: 3s;
|
|
|
|
-moz-animation-name: ping;
|
|
|
|
-webkit-animation-name: ping;
|
|
|
|
}
|
|
|
|
|
2014-08-22 22:45:51 +08:00
|
|
|
.fade {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.15s linear;
|
2014-11-06 09:13:51 +08:00
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
&.in {
|
|
|
|
opacity: 1;
|
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;
|
2017-06-12 10:20:14 +08:00
|
|
|
border: 4px solid blend-primary-secondary(50%);
|
2014-11-11 22:22:14 +08:00
|
|
|
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
|
|
|
}
|
2016-02-07 06:22:46 +08:00
|
|
|
|
2016-06-07 02:18:15 +08:00
|
|
|
.content-list {
|
|
|
|
h3 {
|
2017-08-19 00:36:21 +08:00
|
|
|
color: $primary-medium;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2016-06-07 02:18:15 +08:00
|
|
|
padding-left: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
li {
|
2017-08-19 00:36:21 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2016-06-07 02:18:15 +08:00
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
&:first-of-type {
|
|
|
|
border-top: 1px solid $primary-low;
|
2016-06-07 02:18:15 +08:00
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 10px;
|
2016-06-07 02:18:15 +08:00
|
|
|
color: $primary;
|
2017-09-02 06:59:50 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $primary-low;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $primary;
|
|
|
|
}
|
2016-06-07 02:18:15 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
.form-vertical {
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select,
|
|
|
|
.input-prepend,
|
|
|
|
.input-append {
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 0;
|
2018-10-02 22:42:49 +08:00
|
|
|
flex: 0 0 auto;
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.control-group {
|
|
|
|
@include clearfix;
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-label {
|
|
|
|
font-weight: bold;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
|
|
|
line-height: $line-height-large;
|
2017-09-02 06:59:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2016-02-07 06:22:46 +08:00
|
|
|
}
|
2016-12-06 06:20:52 +08:00
|
|
|
|
2017-09-02 06:59:50 +08:00
|
|
|
// Special elements
|
|
|
|
// Special elements
|
|
|
|
#main {
|
|
|
|
img.avatar {
|
|
|
|
&.header {
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.medium {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.tiny {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
2016-12-06 06:20:52 +08:00
|
|
|
}
|
2017-09-02 06:59:50 +08:00
|
|
|
|
|
|
|
.user-list {
|
|
|
|
.user {
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#loading-message {
|
|
|
|
position: absolute;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-5;
|
2017-09-02 06:59:50 +08:00
|
|
|
text-align: center;
|
|
|
|
top: 120px;
|
|
|
|
left: 500px;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer {
|
|
|
|
.container {
|
|
|
|
height: 50px;
|
|
|
|
.contents {
|
|
|
|
padding-top: 10px;
|
|
|
|
a[href] {
|
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
2016-12-06 06:20:52 +08:00
|
|
|
}
|
|
|
|
}
|
2018-03-26 17:33:03 +08:00
|
|
|
|
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
2018-08-31 16:18:06 +08:00
|
|
|
|
|
|
|
.pref-auth-tokens {
|
|
|
|
.row {
|
2018-10-09 22:21:41 +08:00
|
|
|
border-bottom: 1px solid #ddd;
|
2018-08-31 16:18:06 +08:00
|
|
|
margin: 5px 0px;
|
2018-10-09 22:21:41 +08:00
|
|
|
padding-bottom: 5px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2018-08-31 16:18:06 +08:00
|
|
|
}
|
|
|
|
|
2018-10-09 22:21:41 +08:00
|
|
|
.auth-token-icon {
|
2019-06-05 22:56:25 +08:00
|
|
|
color: $primary-medium;
|
2018-10-09 22:21:41 +08:00
|
|
|
font-size: 2.25em;
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2018-08-31 16:18:06 +08:00
|
|
|
}
|
|
|
|
|
2018-10-09 22:21:41 +08:00
|
|
|
.auth-token-first {
|
|
|
|
font-size: 1.1em;
|
|
|
|
|
|
|
|
.auth-token-device {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-08-31 16:18:06 +08:00
|
|
|
}
|
|
|
|
|
2018-10-09 22:21:41 +08:00
|
|
|
.auth-token-second {
|
|
|
|
color: $primary-medium;
|
2018-08-31 16:18:06 +08:00
|
|
|
|
2018-10-09 22:21:41 +08:00
|
|
|
.active {
|
|
|
|
color: $success;
|
|
|
|
font-weight: bold;
|
2018-08-31 16:18:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-09 22:21:41 +08:00
|
|
|
.auth-token-dropdown {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.btn,
|
|
|
|
.btn:hover {
|
|
|
|
background: transparent;
|
2018-08-31 16:18:06 +08:00
|
|
|
|
2018-10-09 22:21:41 +08:00
|
|
|
.d-icon {
|
2019-06-05 22:56:25 +08:00
|
|
|
color: $primary-high;
|
2018-10-09 22:21:41 +08:00
|
|
|
}
|
2018-08-31 16:18:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-09 22:21:41 +08:00
|
|
|
.dropdown-menu {
|
|
|
|
width: 120px;
|
|
|
|
|
|
|
|
& .icon {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
2018-08-31 16:18:06 +08:00
|
|
|
}
|
|
|
|
}
|
2018-12-07 08:22:04 +08:00
|
|
|
|
|
|
|
.topic-statuses {
|
2018-12-11 05:06:26 +08:00
|
|
|
display: inline;
|
2018-12-07 08:22:04 +08:00
|
|
|
float: left;
|
2018-12-11 05:06:26 +08:00
|
|
|
margin-right: 0.15em;
|
2018-12-07 08:22:04 +08:00
|
|
|
.topic-status {
|
|
|
|
margin: 0;
|
2018-12-11 05:06:26 +08:00
|
|
|
display: inline-flex;
|
|
|
|
color: $primary-medium;
|
2018-12-07 08:22:04 +08:00
|
|
|
.d-icon {
|
2018-12-11 05:06:26 +08:00
|
|
|
height: 0.76em;
|
2018-12-07 08:22:04 +08:00
|
|
|
width: 0.75em;
|
2018-12-11 05:06:26 +08:00
|
|
|
}
|
|
|
|
&:not(:last-child) {
|
2018-12-07 08:22:04 +08:00
|
|
|
margin-right: 0.15em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon-envelope {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
2019-05-24 22:25:55 +08:00
|
|
|
|
|
|
|
.broken-theme-alert {
|
|
|
|
font-size: $base-font-size;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 5px 0;
|
|
|
|
background: $danger-medium;
|
|
|
|
text-align: center;
|
|
|
|
z-index: z("max");
|
|
|
|
color: $secondary;
|
|
|
|
}
|