2013-02-06 03:16:51 +08:00
|
|
|
// these are the styles associated with the Discourse admin section
|
2013-08-29 01:58:44 +08:00
|
|
|
@import "common/foundation/variables";
|
|
|
|
@import "common/foundation/mixins";
|
|
|
|
@import "common/foundation/helpers";
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2013-05-08 13:20:38 +08:00
|
|
|
|
|
|
|
.content-list li a span.count {
|
|
|
|
font-size: 12px;
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
|
|
|
background-color: #eee;
|
|
|
|
padding: 2px 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.admin-content {
|
|
|
|
margin-bottom: 50px;
|
|
|
|
.admin-contents {
|
|
|
|
padding: 8px;
|
2013-08-09 22:06:02 +08:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-03-18 03:02:36 +08:00
|
|
|
|
|
|
|
table.report {
|
|
|
|
tr {
|
|
|
|
th:nth-of-type(1) {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bar-container {
|
|
|
|
float: left;
|
|
|
|
width: 300px;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.bar {
|
|
|
|
margin-top: 5px;
|
|
|
|
background-color: $blue;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 8px;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.admin-loading {
|
|
|
|
width: 100px;
|
|
|
|
margin: 0 auto 30px auto;
|
|
|
|
background-color: $black;
|
|
|
|
@include border-radius-all(10px);
|
|
|
|
padding: 10px 10px 10px 30px;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 23px;
|
|
|
|
text-align: center;
|
|
|
|
color: $white;
|
|
|
|
background: {
|
|
|
|
image: image-url("spinner_96_w.gif");
|
|
|
|
repeat: no-repeat;
|
|
|
|
position: 10px 8px;
|
|
|
|
size: 25px;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-controls {
|
|
|
|
@include border-radius-all(5px);
|
|
|
|
background-color: darken($white, 5%);
|
|
|
|
border: 1px solid darken($white, 10%);
|
|
|
|
padding: 5px 10px 3px 0px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
height: 35px;
|
|
|
|
.nav.nav-pills {
|
|
|
|
li.active {
|
|
|
|
a {
|
2013-04-10 13:55:20 +08:00
|
|
|
border-color: darken($dark_gray, 10%);
|
2013-02-06 03:16:51 +08:00
|
|
|
background-color: $dark_gray;
|
|
|
|
&:hover {
|
|
|
|
background-color: $dark_gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 25px;
|
|
|
|
color: $darkish_gray;
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
padding-top: 3px;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
.result-message {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
.username {
|
|
|
|
input[type=text] {
|
|
|
|
width: 240px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.search {
|
2013-03-07 01:07:09 +08:00
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
2013-02-06 03:16:51 +08:00
|
|
|
label {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
2013-06-04 04:12:24 +08:00
|
|
|
.toggle {
|
|
|
|
margin-top: 8px;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings {
|
|
|
|
.setting {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
.desc {
|
|
|
|
padding-top: 3px;
|
|
|
|
color: darken($white, 40%);
|
|
|
|
}
|
2013-03-02 01:45:25 +08:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.setting.overridden {
|
|
|
|
input[type=text] {
|
|
|
|
background-color: lighten($yellow, 40%);
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
color: darken($yellow, 20%);
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section.details {
|
|
|
|
h1 {
|
|
|
|
font-size: 15px;
|
|
|
|
background-color: $gray;
|
2013-04-20 13:34:11 +08:00
|
|
|
color: $white;
|
2013-02-06 03:16:51 +08:00
|
|
|
padding: 0 10px;
|
|
|
|
margin: 0px 0 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#selected-controls {
|
|
|
|
background-color: lighten($blue, 50%);
|
|
|
|
padding: 8px;
|
|
|
|
min-height: 27px;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
width: 1075px;
|
|
|
|
border: 1px solid lighten($blue, 45%);
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
tr.selected {
|
|
|
|
background-color: lighten($blue, 58%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-row {
|
2013-06-06 22:51:33 +08:00
|
|
|
height: 30px;
|
|
|
|
line-height: 30px;
|
2013-02-06 03:16:51 +08:00
|
|
|
padding: 5px;
|
|
|
|
&:nth-of-type(1) {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
border-top: 1px solid #dddddd;
|
|
|
|
&:before, &:after {
|
|
|
|
display: table;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
.field {
|
|
|
|
font-weight: bold;
|
|
|
|
width: 196px;
|
|
|
|
float: left;
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
.value {
|
|
|
|
width: 250px;
|
|
|
|
float: left;
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
2013-10-23 03:53:08 +08:00
|
|
|
.long-value {
|
|
|
|
width: 800px;
|
|
|
|
float: left;
|
|
|
|
margin-left: 12px;
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.controls {
|
|
|
|
.btn {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Customise area
|
|
|
|
.customize {
|
|
|
|
.nav.nav-pills {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2013-04-10 13:55:20 +08:00
|
|
|
.content-list, .current-style {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.content-list ul {
|
2013-06-19 13:18:22 +08:00
|
|
|
margin-bottom: 10px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
.current-style {
|
|
|
|
.delete-link {
|
|
|
|
margin-left: 15px;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
.preview-link {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
2013-04-10 13:55:20 +08:00
|
|
|
padding-left: 10px;
|
|
|
|
width: 65%;
|
2013-02-06 03:16:51 +08:00
|
|
|
.style-name {
|
|
|
|
width: 600px;
|
|
|
|
height: 25px;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
2013-06-19 13:18:22 +08:00
|
|
|
height: 400px;
|
2013-02-06 03:16:51 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
.status-actions {
|
|
|
|
float: right;
|
2013-06-19 13:18:22 +08:00
|
|
|
margin-top: 7px;
|
2013-02-06 03:16:51 +08:00
|
|
|
span {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.buttons {
|
|
|
|
float: left;
|
2013-04-10 13:55:20 +08:00
|
|
|
width: 200px;
|
|
|
|
.saving {
|
|
|
|
padding: 5px 0 0 0;
|
|
|
|
margin-left: 10px;
|
|
|
|
width: 80px;
|
|
|
|
color: $dark_gray;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.admin-flags {
|
2013-06-17 15:15:56 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
tr.hidden-post td.excerpt { opacity: 0.4; }
|
2013-06-26 14:18:50 +08:00
|
|
|
tr.deleted td.excerpt { opacity: 0.8; background-color: #ffcece; }
|
2013-02-06 03:16:51 +08:00
|
|
|
td.message {
|
|
|
|
padding: 4px 0;
|
|
|
|
background-color: #f8f8e0;
|
|
|
|
}
|
2013-06-27 03:10:07 +08:00
|
|
|
td { vertical-align: top; }
|
2013-02-06 03:16:51 +08:00
|
|
|
th { text-align: left; }
|
|
|
|
.user { width: 40px; }
|
|
|
|
.excerpt {
|
2013-06-26 15:01:39 +08:00
|
|
|
max-width: 740px;
|
|
|
|
width: 740px;
|
|
|
|
padding: 0 10px 10px 0;
|
|
|
|
word-wrap: break-word;
|
2013-02-06 03:16:51 +08:00
|
|
|
.icon,h3 { display: inline-block; }
|
2013-02-26 00:42:20 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-06-26 15:01:39 +08:00
|
|
|
.flaggers {
|
|
|
|
font-size: 11px;
|
|
|
|
td {
|
2013-06-27 03:10:07 +08:00
|
|
|
vertical-align: middle;
|
|
|
|
padding: 3px;
|
2013-06-26 15:01:39 +08:00
|
|
|
}
|
|
|
|
}
|
2013-06-20 15:42:15 +08:00
|
|
|
.action {
|
2013-06-21 15:29:54 +08:00
|
|
|
button { margin: 4px; }
|
|
|
|
text-align: right;
|
2013-06-20 15:42:15 +08:00
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-03-08 00:07:59 +08:00
|
|
|
|
2013-03-15 00:28:35 +08:00
|
|
|
/* Dashboard */
|
|
|
|
|
|
|
|
.dashboard-left {
|
|
|
|
float: left;
|
|
|
|
width: 500px;
|
2013-04-17 22:25:28 +08:00
|
|
|
margin-top: 10px;
|
2013-03-15 00:28:35 +08:00
|
|
|
}
|
|
|
|
.dashboard-right {
|
|
|
|
float: right;
|
|
|
|
width: 500px;
|
2013-04-17 22:25:28 +08:00
|
|
|
margin-top: 10px;
|
2013-03-15 00:28:35 +08:00
|
|
|
margin-right: 15px;
|
2013-03-19 01:44:28 +08:00
|
|
|
|
|
|
|
@include medium-width {
|
|
|
|
width: 430px;
|
|
|
|
}
|
|
|
|
@include small-width {
|
|
|
|
width: 390px;
|
|
|
|
}
|
2013-05-02 06:12:02 +08:00
|
|
|
|
|
|
|
.dashboard-stats {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2013-03-15 00:28:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.version-check {
|
|
|
|
.version-number {
|
|
|
|
font-size: 18px;
|
2013-03-20 01:51:09 +08:00
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.face {
|
|
|
|
width: 20px;
|
2013-03-15 00:28:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.version-notes .icon {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.critical .version-notes .normal-note {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.normal .version-notes .critical-note {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
font-size: 26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.update-to-date {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
.updates-available {
|
|
|
|
color: #FF9500;
|
|
|
|
}
|
|
|
|
.critical-updates-available {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.update-nag {
|
|
|
|
i.icon {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-23 03:53:08 +08:00
|
|
|
table.api-keys {
|
|
|
|
margin-top: 10px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.key {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-03-08 00:07:59 +08:00
|
|
|
.dashboard-stats {
|
2013-04-17 22:25:28 +08:00
|
|
|
margin-bottom: 30px;
|
2013-04-17 04:56:18 +08:00
|
|
|
width: 460px;
|
|
|
|
margin-left: 30px;
|
2013-03-08 00:07:59 +08:00
|
|
|
|
2013-04-17 06:37:35 +08:00
|
|
|
h4 {
|
|
|
|
font-weight: normal;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2013-03-08 00:07:59 +08:00
|
|
|
table {
|
2013-03-12 23:57:33 +08:00
|
|
|
width: 100%;
|
2013-03-08 00:07:59 +08:00
|
|
|
|
2013-04-17 22:46:27 +08:00
|
|
|
.title {
|
|
|
|
i.icon {
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-03-08 00:07:59 +08:00
|
|
|
th {
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: center;
|
2013-04-23 04:36:01 +08:00
|
|
|
background-color: #e4e4e4;
|
2013-03-08 00:07:59 +08:00
|
|
|
}
|
2013-04-17 06:37:35 +08:00
|
|
|
th.title {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2013-03-20 02:17:32 +08:00
|
|
|
thead {
|
2013-04-23 23:48:26 +08:00
|
|
|
tr:hover > td {
|
2013-03-20 02:17:32 +08:00
|
|
|
background-color: $white;
|
|
|
|
}
|
2013-04-23 23:48:26 +08:00
|
|
|
tr:hover > th {
|
|
|
|
background-color: #e4e4e4;
|
|
|
|
}
|
2013-03-20 02:17:32 +08:00
|
|
|
}
|
2013-03-08 00:07:59 +08:00
|
|
|
|
|
|
|
td.value {
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
2013-03-31 02:07:25 +08:00
|
|
|
|
|
|
|
i {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.trending-up {
|
|
|
|
color: green;
|
|
|
|
i.up {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.trending-down {
|
|
|
|
color: red;
|
|
|
|
i.down {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.no-change {
|
|
|
|
i.down {
|
|
|
|
display: inline;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
2013-03-08 00:07:59 +08:00
|
|
|
}
|
|
|
|
}
|
2013-03-16 04:17:19 +08:00
|
|
|
|
2013-03-20 11:18:00 +08:00
|
|
|
&.detected-problems {
|
|
|
|
@include border-radius-all(5px);
|
|
|
|
background-color: #eee;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
margin-top: 10px;
|
|
|
|
box-shadow: inset 0 0 10px #bbb;
|
|
|
|
|
|
|
|
.look-here {
|
|
|
|
float: left;
|
|
|
|
margin: 20px 20px 0 20px;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
font-size: 32px;
|
|
|
|
vertical-align: middle;
|
|
|
|
color: $darkish_gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.problem-messages {
|
|
|
|
float: left;
|
|
|
|
width: 355px;
|
2013-04-05 04:16:58 +08:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2013-04-17 00:09:37 +08:00
|
|
|
.actions {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2013-03-20 11:18:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-03-16 04:17:19 +08:00
|
|
|
&.totals {
|
2013-07-09 00:21:08 +08:00
|
|
|
table {
|
|
|
|
width: auto;
|
|
|
|
}
|
2013-04-23 23:48:26 +08:00
|
|
|
margin-top: 12px;
|
|
|
|
padding-left: 5px;
|
|
|
|
.value {
|
2013-07-09 00:21:08 +08:00
|
|
|
text-align: left;
|
2013-04-23 23:48:26 +08:00
|
|
|
font-weight: bold;
|
2013-07-09 00:21:08 +08:00
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 30px;
|
2013-03-16 04:17:19 +08:00
|
|
|
}
|
|
|
|
}
|
2013-03-16 06:08:46 +08:00
|
|
|
|
|
|
|
&.trust-levels {
|
2013-04-17 22:25:28 +08:00
|
|
|
margin-bottom: 0px;
|
2013-03-23 05:50:22 +08:00
|
|
|
table {
|
|
|
|
margin-bottom: 0px;
|
2013-03-19 01:25:40 +08:00
|
|
|
}
|
2013-03-23 05:50:22 +08:00
|
|
|
td.value {
|
|
|
|
width: 45px;
|
|
|
|
}
|
2013-03-20 01:51:09 +08:00
|
|
|
}
|
2013-07-31 02:45:03 +08:00
|
|
|
|
|
|
|
.referred-topic-title {
|
|
|
|
width: 410px;
|
|
|
|
@include medium-width { width: 360px; }
|
|
|
|
@include small-width { width: 320px; }
|
|
|
|
}
|
2013-03-12 03:26:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.commits-widget {
|
|
|
|
border: solid 1px #ccc;
|
|
|
|
width: 500px;
|
2013-05-02 23:52:37 +08:00
|
|
|
height: 180px;
|
2013-05-02 06:12:02 +08:00
|
|
|
margin-bottom: 36px;
|
2013-03-12 03:26:14 +08:00
|
|
|
|
2013-03-19 01:44:28 +08:00
|
|
|
@include medium-width {
|
|
|
|
width: 430px;
|
|
|
|
}
|
|
|
|
@include small-width {
|
|
|
|
width: 390px;
|
|
|
|
}
|
|
|
|
|
2013-03-12 03:26:14 +08:00
|
|
|
ul, li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: #222;
|
2013-03-15 00:28:35 +08:00
|
|
|
text-decoration: none;
|
2013-03-12 03:26:14 +08:00
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
color: #222;
|
|
|
|
font-weight: bold;
|
|
|
|
height: 30px;
|
|
|
|
border-bottom: solid 1px #ccc;
|
2013-04-17 22:25:28 +08:00
|
|
|
@include linear-gradient(#f1f1f1, #e1e1e1);
|
2013-03-12 03:26:14 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 18px;
|
|
|
|
margin: 5px 0 0 8px;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 1.0em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header:hover h1 {
|
2013-03-20 02:17:32 +08:00
|
|
|
color: $link-color-hover;
|
2013-03-12 03:26:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.commits-list {
|
2013-05-02 23:52:37 +08:00
|
|
|
height: 149px;
|
2013-03-12 03:26:14 +08:00
|
|
|
overflow-y:auto;
|
|
|
|
|
|
|
|
li {
|
|
|
|
@extend .clearfix;
|
|
|
|
line-height: 1.0em;
|
|
|
|
padding: 6px 8px;
|
|
|
|
border-bottom: solid 1px #ccc;
|
2013-04-17 22:25:28 +08:00
|
|
|
@include linear-gradient(#f6f6f6, #eee);
|
2013-03-12 03:26:14 +08:00
|
|
|
|
|
|
|
.left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.right {
|
|
|
|
margin-left: 52px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-top: 2px;
|
|
|
|
border: solid 1px #ccc;
|
|
|
|
padding: 2px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-message {
|
|
|
|
color: #222;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-meta {
|
|
|
|
color: #555;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.committer-name {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2013-03-15 00:28:35 +08:00
|
|
|
|
|
|
|
// Always show the scrollbar:
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background-color: #d1d1d1;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
border-left: solid 1px #ddd;
|
|
|
|
}
|
2013-04-05 00:59:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.content-list {
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
color: $darkish_gray;
|
|
|
|
font-size: 15px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
li a {
|
|
|
|
display: block;
|
|
|
|
padding: 10px;
|
|
|
|
color: $dark_gray;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #eee;
|
|
|
|
color: $dark_gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-editor {
|
|
|
|
min-height: 500px;
|
|
|
|
|
2013-04-09 23:28:28 +08:00
|
|
|
float: left;
|
|
|
|
width: 760px;
|
|
|
|
@include medium-width { width: 650px; }
|
|
|
|
@include small-width { width: 600px; }
|
|
|
|
margin-left: 20px;
|
|
|
|
|
2013-04-05 00:59:44 +08:00
|
|
|
p.description {
|
|
|
|
color: $dark_gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pagedown-editor {
|
|
|
|
width: 98%;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea.plain {
|
|
|
|
width: 98%;
|
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-input {
|
|
|
|
width: 98%;
|
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: 600px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2013-05-09 15:37:34 +08:00
|
|
|
|
|
|
|
.row.groups {
|
|
|
|
input[type='text'] {
|
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
input#group-users {
|
|
|
|
width: 600px;
|
|
|
|
}
|
|
|
|
}
|
2013-08-02 09:30:13 +08:00
|
|
|
|
2013-08-09 05:16:07 +08:00
|
|
|
// Logs
|
2013-08-02 09:30:13 +08:00
|
|
|
|
2013-10-23 04:30:30 +08:00
|
|
|
.admin-logs-table {
|
|
|
|
input.ember-text-field {
|
|
|
|
padding: 1px 4px;
|
|
|
|
}
|
2013-10-24 00:55:06 +08:00
|
|
|
.btn {
|
|
|
|
padding: 2px 8px;
|
|
|
|
.icon {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
2013-10-23 04:30:30 +08:00
|
|
|
}
|
|
|
|
|
2013-10-22 02:49:51 +08:00
|
|
|
.screened-emails, .screened-urls, .screened-ip-addresses {
|
2013-08-09 05:16:07 +08:00
|
|
|
width: 900px;
|
2013-08-15 22:48:30 +08:00
|
|
|
.email, .url {
|
2013-08-23 07:04:17 +08:00
|
|
|
width: 300px;
|
2013-08-09 05:16:07 +08:00
|
|
|
}
|
2013-10-23 04:30:30 +08:00
|
|
|
.action, .match_count, .last_match_at, .created_at {
|
|
|
|
text-align: center;
|
|
|
|
width: 110px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-25 05:18:10 +08:00
|
|
|
.screened-ip-address-form {
|
|
|
|
margin-left: 6px;
|
|
|
|
.combobox {
|
|
|
|
width: 130px;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-23 04:30:30 +08:00
|
|
|
.screened-emails, .screened-urls {
|
|
|
|
.ip_address {
|
2013-08-09 05:16:07 +08:00
|
|
|
width: 110px;
|
2013-08-02 09:30:13 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
2013-08-08 04:04:12 +08:00
|
|
|
}
|
2013-10-23 04:30:30 +08:00
|
|
|
.screened-ip-addresses {
|
|
|
|
.ip_address {
|
|
|
|
width: 150px;
|
|
|
|
text-align: left;
|
|
|
|
input {
|
|
|
|
width: 130px;
|
|
|
|
}
|
|
|
|
}
|
2013-10-24 00:55:06 +08:00
|
|
|
.col.actions {
|
2013-10-23 04:30:30 +08:00
|
|
|
width: 275px;
|
2013-10-24 00:55:06 +08:00
|
|
|
padding-top: 4px;
|
2013-10-23 04:30:30 +08:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-08-08 04:04:12 +08:00
|
|
|
|
|
|
|
.staff-actions {
|
2013-08-09 06:35:14 +08:00
|
|
|
width: 100%;
|
2013-08-08 04:04:12 +08:00
|
|
|
.action {
|
|
|
|
width: 120px;
|
|
|
|
}
|
2013-08-20 04:58:38 +08:00
|
|
|
.staff_user {
|
2013-08-09 06:35:14 +08:00
|
|
|
width: 100px;
|
|
|
|
}
|
2013-08-20 04:58:38 +08:00
|
|
|
.subject {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2013-08-09 06:35:14 +08:00
|
|
|
.created_at {
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
.context {
|
|
|
|
width: 200px;
|
2013-08-08 04:04:12 +08:00
|
|
|
}
|
|
|
|
.created_at {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.details {
|
2013-08-20 04:58:38 +08:00
|
|
|
width: 300px;
|
2013-08-08 04:04:12 +08:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2013-08-09 06:35:14 +08:00
|
|
|
&.value {
|
|
|
|
height: 70px;
|
|
|
|
}
|
2013-08-08 04:04:12 +08:00
|
|
|
}
|
|
|
|
}
|
2013-08-09 05:16:07 +08:00
|
|
|
|
2013-08-10 04:58:57 +08:00
|
|
|
.staff-action-logs-controls {
|
|
|
|
margin: 0 0 20px 6px;
|
|
|
|
a.filter {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: #ddd;
|
|
|
|
padding: 3px 10px;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 5px;
|
|
|
|
color: #444;
|
|
|
|
&:hover {
|
|
|
|
color: $link-color-hover;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.staff-action-logs-instructions {
|
|
|
|
margin: 50px 0 0 10px;
|
|
|
|
}
|
|
|
|
|
2013-08-09 05:16:07 +08:00
|
|
|
// Ember.ListView
|
|
|
|
|
|
|
|
.ember-list-view {
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.ember-list-item-view {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2013-08-09 06:35:14 +08:00
|
|
|
|
2013-10-22 02:49:51 +08:00
|
|
|
.staff-actions, .screened-emails, .screened-urls, .screened-ip-addresses {
|
2013-08-09 06:35:14 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
border-bottom: dotted 1px #ddd;
|
|
|
|
|
|
|
|
.heading-container {
|
|
|
|
width: 100%;
|
|
|
|
background-color: #e4e4e4;
|
|
|
|
}
|
|
|
|
.col.heading {
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
.col {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 6px;
|
|
|
|
vertical-align: top;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
2013-08-09 23:24:50 +08:00
|
|
|
.col.first {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2013-08-09 06:35:14 +08:00
|
|
|
|
|
|
|
.ember-list-item-view {
|
|
|
|
width: 100%;
|
|
|
|
border-top: solid 1px #ddd;
|
|
|
|
}
|
|
|
|
}
|
2013-08-21 22:49:35 +08:00
|
|
|
|
|
|
|
.log-details-modal {
|
|
|
|
.modal-tab {
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
}
|