Files
NodeBB/public/less/admin/admin.less

242 lines
3.9 KiB
Plaintext
Raw Normal View History

2014-09-26 14:17:04 -04:00
@import "./bootstrap/bootstrap";
2015-08-19 11:55:51 -04:00
@import "./bootswatch";
@import "./mixins";
2015-05-30 18:44:31 +03:00
@import "./vars";
2015-08-19 14:46:40 -04:00
@import "./header";
@import "./mobile";
2015-08-19 14:46:40 -04:00
@import "./general/dashboard";
2015-02-25 14:50:45 -05:00
@import "./general/navigation";
2015-05-30 18:44:31 +03:00
@import "./manage/categories";
@import "./manage/tags";
2015-08-20 14:20:13 -04:00
@import "./manage/groups";
@import "./manage/users";
@import "./appearance/customise";
@import "./appearance/themes";
@import "./extend/plugins";
2015-02-19 17:47:47 -05:00
@import "./extend/rewards";
2014-09-30 17:02:53 -04:00
@import "./advanced/database";
@import "./advanced/logs";
2015-08-19 12:36:42 -04:00
@import "./settings";
@import "../flags";
@import "./modules/alerts";
@import "./modules/selectable";
2015-08-21 17:46:14 -04:00
@import "./modules/snackbar";
.admin {
2015-08-19 12:36:42 -04:00
background: #fff;
font-size: 14px;
2015-08-20 11:39:14 -04:00
h1 {
font-size: 35px;
margin-bottom: 50px;
}
2015-08-19 12:36:42 -04:00
label {
font-weight: 700;
2016-01-22 22:36:22 +00:00
height: auto;
2015-08-19 12:36:42 -04:00
}
2014-09-26 14:17:04 -04:00
2015-06-09 16:05:45 -04:00
.btn {
border-radius: 0;
}
2015-08-20 12:09:08 -04:00
.btn-link {
color: @link-color;
}
2015-08-20 15:12:17 -04:00
.floating-button {
background: @brand-primary !important;
position: fixed;
right: 30px;
bottom: 30px;
z-index: 1;
2015-08-20 15:12:17 -04:00
}
2014-10-07 16:21:12 -04:00
.user-img {
width:24px;
height:24px;
}
.nodebb-logo {
img {
height: 31px;
margin-top: -8px;
margin-left: -7px;
vertical-align: -43%;
}
.box-header-font;
color: #fff;
2014-09-26 14:17:04 -04:00
}
2014-09-26 18:04:03 -04:00
#breadcrumbs {
cursor: default;
}
.acp-panel-heading {
padding: 7px 14px;
border: 0;
.box-header-font;
}
2014-09-26 14:17:04 -04:00
.panel {
background-color: #FFF;
box-sizing: border-box;
border-radius: 3px;
box-shadow: 0px 1px 3px 0px rgba(165, 165, 165, 0.75);
margin-bottom: 20px;
&.panel-default .panel-heading {
.acp-panel-heading;
2014-09-26 14:17:04 -04:00
background: #fefefe;
color: #333;
}
&.panel-danger .panel-heading {
.acp-panel-heading;
2014-09-26 14:17:04 -04:00
}
}
.nav-header {
.box-header-font
}
.icon-container {
.row {
margin: 0;
i {
width:20px;
height:20px;
margin: 1px;
.pointer;
line-height: 20px;
text-align: center;
2015-07-20 11:41:30 -04:00
color: @gray-dark;
&:hover, &.selected {
background: black;
color: white;
}
}
}
}
2015-02-19 06:31:06 -05:00
.navbar-static-top, .navbar-fixed-top {
box-shadow: 0px -3px 12px rgba(0, 0, 0, 0.5);
}
2014-10-11 16:25:58 -04:00
2015-02-19 06:31:06 -05:00
.navbar-header > .navbar-toggle {
margin-right: 8px;
}
2014-10-11 16:25:58 -04:00
2015-02-19 06:31:06 -05:00
.navbar-nav {
margin-top: 0;
margin-bottom: 0;
>li {
>a {
padding-top: 15px;
padding-bottom: 15px;
}
2015-02-19 15:29:43 -05:00
2015-02-19 06:31:06 -05:00
>a:hover, >a:focus {
2015-02-19 15:29:43 -05:00
color: @gray-dark;
background-color: @gray-light;
2015-02-19 06:31:06 -05:00
}
2015-02-19 15:29:43 -05:00
2015-02-19 06:31:06 -05:00
>#reconnect {
2015-02-19 15:29:43 -05:00
color: @gray-light;
2015-02-19 06:31:06 -05:00
}
2015-02-19 15:29:43 -05:00
2015-02-19 06:31:06 -05:00
>#reconnect:focus, >#reconnect:hover {
2015-02-19 15:29:43 -05:00
color: @gray-light;
2015-02-19 06:31:06 -05:00
background-color: transparent;
}
}
}
2014-10-11 16:25:58 -04:00
2014-09-29 01:08:26 -04:00
#taskbar {
display: none; /* not sure why I have to do this, but it only seems to show up on prod */
}
/* Allows the autocomplete dropbox to appear on top of a modal's backdrop */
.ui-autocomplete {
z-index: @zindex-popover;
}
}
2015-01-07 13:00:34 -05:00
// Allowing text to the right of an image-type brand
// See: https://github.com/twbs/bootstrap/commit/8e2348e9eda51296eb680192379ab37f10355ca3
.navbar-brand > img {
display: inline-block;
2015-01-01 15:35:22 -05:00
}
.category-settings-form {
h3 {
margin-top: 0;
.pointer;
}
h4 {
.pointer;
}
}
.category-preview {
.pointer;
width: 100%;
height: 100px;
text-align: center;
color: white;
margin-top: 0;
.icon {
width: 30px;
height: 30px;
line-height: 40px;
display: inline-block;
margin: 35px 5px 0 5px;
}
}
.table-reordering {
tr:hover {
cursor: move;
}
}
.privilege-table {
th {
font-size: 10px;
}
img {
max-width: 24px;
max-height: 24px;
}
2015-08-21 09:59:07 -04:00
}
.mdl-switch.is-checked .mdl-switch__ripple-container {
cursor: pointer !important;
}
.mdl-switch.is-checked .mdl-switch__thumb {
background: @brand-primary !important;
}
.mdl-switch.is-checked .mdl-switch__track {
background: lighten(@brand-primary, 20%) !important;
}
* > .checkbox:first-child {
margin-top: 0px;
2016-01-22 22:36:22 +00:00
}
[class^="col-"] .mdl-switch__label {
padding-right: 15px;
}