2016-08-16 19:33:02 -04:00
|
|
|
// Libraries
|
|
|
|
@import "bootstrap-sass/assets/stylesheets/_bootstrap.scss";
|
|
|
|
@import "fontawesome/scss/font-awesome.scss";
|
2016-08-16 19:47:29 -04:00
|
|
|
@import "awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.scss";
|
|
|
|
@import "datetimepicker/jquery.datetimepicker";
|
2016-08-16 19:33:02 -04:00
|
|
|
@import "simplemde/dist/simplemde.min";
|
|
|
|
@import "SpinKit/css/spinners/11-folding-cube";
|
|
|
|
|
|
|
|
// Core
|
|
|
|
@import "_var";
|
|
|
|
@import "_fonts";
|
|
|
|
|
|
|
|
// Fontawesome Path
|
|
|
|
$fa-font-path: "/fonts";
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2016-08-19 00:33:12 -04:00
|
|
|
//
|
|
|
|
// Main Dashboard Styles
|
|
|
|
//
|
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
* {
|
|
|
|
outline: none !important;
|
2016-08-16 19:33:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
@include font-sans;
|
2017-01-04 23:50:17 -05:00
|
|
|
min-width: 320px;
|
2016-01-26 23:20:08 -05:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
.navbar {
|
|
|
|
background-color: $c-dashboard-dark;
|
2017-01-04 23:50:17 -05:00
|
|
|
|
|
|
|
.navbar-brand {
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
#spark-navbar-collapse {
|
2016-08-16 19:33:02 -04:00
|
|
|
border: 0;
|
2016-01-26 23:20:08 -05:00
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
.dropdown-toggle .caret { margin-left: 4px; }
|
|
|
|
|
|
|
|
&.open .dropdown-toggle {
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: darken($c-dashboard-dark, 5%);
|
|
|
|
color: $c-dashboard-light;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
2016-08-16 19:33:02 -04:00
|
|
|
top: calc(100% - 1px);
|
2016-01-26 23:20:08 -05:00
|
|
|
right: -1px;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: $c-dashboard-dark;
|
|
|
|
> li > a:hover, > li > a:focus { background-color: transparent; }
|
|
|
|
|
|
|
|
> li > a {
|
|
|
|
&, &:hover, &:focus { color: #fff; }
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-brand, .navbar-default .navbar-nav > li > a, .navbar-nav > li > a {
|
2016-08-16 19:33:02 -04:00
|
|
|
&, &:hover, &:focus { color: $c-dashboard-light; }
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-toggle {
|
|
|
|
position: relative;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 10px;
|
2016-08-16 19:33:02 -04:00
|
|
|
border: 0;
|
2016-01-26 23:20:08 -05:00
|
|
|
&, &:hover, &:focus { background-color: transparent; }
|
|
|
|
|
|
|
|
.icon-bar {
|
|
|
|
width: 27px;
|
|
|
|
height: 4px;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: $c-dashboard-light;
|
2016-01-26 23:20:08 -05:00
|
|
|
transition: background-color 100ms;
|
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
&:hover .icon-bar { background-color: darken($c-dashboard-dark, 15%); }
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-default {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
|
|
|
.panel-body {
|
|
|
|
padding-bottom: 0px;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: lighten($c-dashboard-light, 1%);
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2016-12-22 00:20:44 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2017-01-04 23:50:17 -05:00
|
|
|
margin: 3px 3px 0px 3px;
|
|
|
|
width: calc(100% - 6px);
|
2016-12-22 00:20:44 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
.help-text {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2016-08-16 19:33:02 -04:00
|
|
|
padding: 5px 10px;
|
|
|
|
border: 1px solid darken($c-dashboard-dark, 5%);
|
2016-01-26 23:20:08 -05:00
|
|
|
border-radius: 5px;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: $c-dashboard-dark;
|
|
|
|
color: $c-text-light;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
> .panel-heading {
|
|
|
|
border-top: 1px solid darken($c-dashboard-dark, 5%);
|
|
|
|
border-right: 1px solid darken($c-dashboard-dark, 5%);
|
|
|
|
border-left: 1px solid darken($c-dashboard-dark, 5%);
|
|
|
|
background-color: $c-dashboard-dark;
|
|
|
|
color: $c-dashboard-light;
|
2016-01-26 23:20:08 -05:00
|
|
|
font-weight: bold;
|
|
|
|
|
2016-12-19 22:31:04 -05:00
|
|
|
.dashboard-heading {
|
2016-01-26 23:20:08 -05:00
|
|
|
float: right;
|
|
|
|
|
2016-12-19 22:31:04 -05:00
|
|
|
.btn {
|
|
|
|
position: relative;
|
|
|
|
bottom: 3px;
|
|
|
|
min-width: 70px;
|
|
|
|
height: 26px;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $c-text;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
.form-control:focus {
|
|
|
|
border-color: $c-dashboard-dark;
|
|
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px fade-out($c-dashboard-dark, 0.4);
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2016-08-16 19:33:02 -04:00
|
|
|
border-color: darken($c-dashboard-dark, 5%);
|
|
|
|
background-color: $c-dashboard-dark;
|
2016-01-26 23:20:08 -05:00
|
|
|
transition: background-color 100ms;
|
2016-08-16 19:33:02 -04:00
|
|
|
&:hover { background-color: darken($c-dashboard-dark, 5%); }
|
|
|
|
&:focus { background-color: lighten($c-dashboard-dark, 5%); }
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
&.btn-warning {
|
2016-08-16 19:33:02 -04:00
|
|
|
border-color: darken($c-dashboard-edit, 10%);
|
|
|
|
background-color: $c-dashboard-edit;
|
|
|
|
&:hover { background-color: darken($c-dashboard-edit, 5%); }
|
|
|
|
&:focus { background-color: lighten($c-dashboard-edit, 5%); }
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-danger {
|
2016-08-16 19:33:02 -04:00
|
|
|
border-color: darken($c-dashboard-delete, 10%);
|
|
|
|
background-color: $c-dashboard-delete;
|
|
|
|
&:hover { background-color: darken($c-dashboard-delete, 5%); }
|
|
|
|
&:focus { background-color: lighten($c-dashboard-delete, 5%); }
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-default {
|
2016-08-16 19:33:02 -04:00
|
|
|
border-color: darken($c-dashboard-light, 10%);
|
|
|
|
background-color: $c-dashboard-light;
|
|
|
|
color: $c-text;
|
|
|
|
&:hover { background-color: darken($c-dashboard-light, 5%); }
|
|
|
|
&:focus { background-color: lighten($c-dashboard-light, 5%); }
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
&.btn-link { color: $c-dashboard-light; }
|
2016-01-26 23:20:08 -05:00
|
|
|
&, &:hover, &:focus { text-decoration: none; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.table {
|
2016-08-16 19:33:02 -04:00
|
|
|
> thead > tr > th { border-bottom: 1px solid #666; }
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
@media (max-width: $screen-md-max) {
|
|
|
|
tr {
|
|
|
|
&.heading-row { display: none; }
|
|
|
|
&:not(:first-child) { border-top: 1px solid #ddd; }
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
> tbody > tr > td {
|
2016-01-26 23:20:08 -05:00
|
|
|
&:first-child { padding-top: 20px; }
|
|
|
|
&:last-child { padding-bottom: 20px; }
|
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
> tbody > tr {
|
|
|
|
&:first-child > td:first-child { padding-top: 0px; }
|
|
|
|
&:last-child > td:last-child { padding-bottom: 0px; }
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
> td {
|
|
|
|
display: block;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
@media (min-width: $screen-lg-min) {
|
|
|
|
> tbody > tr > td { padding: 20px 8px; }
|
|
|
|
> tbody > tr:last-child > td { padding-bottom: 0px; }
|
2016-01-26 23:20:08 -05:00
|
|
|
.mobile-heading { display: none; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-group {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
|
|
|
|
&.linked-list {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
|
|
|
|
.list-group-item {
|
|
|
|
padding: 0px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 15px;
|
|
|
|
background-color: #fff;
|
2016-08-16 19:33:02 -04:00
|
|
|
color: $c-dashboard-dark;
|
2016-01-26 23:20:08 -05:00
|
|
|
transition: background-color 100ms, color 100ms;
|
|
|
|
&:focus, &:hover { text-decoration: none; }
|
|
|
|
|
|
|
|
&:hover {
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: $c-dashboard-dark;
|
|
|
|
color: $c-dashboard-light;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child a {
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child a {
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.edit-list {
|
|
|
|
.list-group-item {
|
|
|
|
position: relative;
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
2017-01-04 23:50:17 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
margin: 3px;
|
|
|
|
}
|
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
.sort-icon {
|
|
|
|
margin-right: 10px;
|
2016-08-16 19:33:02 -04:00
|
|
|
display: inline-block;
|
2016-01-26 23:20:08 -05:00
|
|
|
cursor: grab;
|
|
|
|
cursor: -webkit-grabbing;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title-column {
|
|
|
|
padding-top: 6px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
padding-left: 0px;
|
2016-12-20 23:26:10 -05:00
|
|
|
font-family: "Lucida Console", Monaco, monospace;
|
|
|
|
|
2016-12-22 00:20:44 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
2017-01-04 23:50:17 -05:00
|
|
|
text-align: center;
|
2016-12-22 00:20:44 -05:00
|
|
|
|
2017-01-04 23:50:17 -05:00
|
|
|
.column {
|
|
|
|
margin-right: 3px;
|
|
|
|
display: inline-block;
|
2017-01-03 23:33:24 -05:00
|
|
|
|
2017-01-04 23:50:17 -05:00
|
|
|
&.spacer {
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
}
|
2017-01-03 23:33:24 -05:00
|
|
|
}
|
2017-01-04 23:50:17 -05:00
|
|
|
}
|
2017-01-03 23:33:24 -05:00
|
|
|
|
2017-01-04 23:50:17 -05:00
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
&, .column {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
|
|
|
margin-right: 10px;
|
2017-01-03 23:33:24 -05:00
|
|
|
}
|
2016-12-20 23:26:10 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-column {
|
|
|
|
padding-right: 0px;
|
|
|
|
padding-left: 0px;
|
2017-01-04 23:50:17 -05:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding-bottom: 5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
.btn {
|
2016-08-16 19:33:02 -04:00
|
|
|
margin: 3px;
|
2016-01-26 23:20:08 -05:00
|
|
|
min-width: 70px;
|
|
|
|
height: 26px;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 2px;
|
2016-12-22 00:20:44 -05:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2017-01-04 23:50:17 -05:00
|
|
|
min-width: 33%;
|
2016-12-22 00:20:44 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-item {
|
|
|
|
margin-top: 10px;
|
|
|
|
.CodeMirror, .CodeMirror-scroll { min-height: 100px; }
|
|
|
|
.date-time-picker { cursor: pointer; }
|
|
|
|
|
|
|
|
label {
|
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
2016-08-16 19:33:02 -04:00
|
|
|
margin-bottom: 15px;
|
2016-01-26 23:20:08 -05:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-image {
|
|
|
|
width: 125px;
|
|
|
|
height: 125px;
|
|
|
|
background-position: left center;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-size: contain;
|
2016-01-26 23:20:08 -05:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.back-button { float: left; }
|
|
|
|
.submit-button { float: right; }
|
|
|
|
|
|
|
|
.back-button, .submit-button {
|
|
|
|
margin: 25px 15px 15px 15px;
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
@media (max-width: ($screen-sm - 1)) {
|
2016-01-26 23:20:08 -05:00
|
|
|
float: none;
|
2016-08-16 19:33:02 -04:00
|
|
|
width: calc(100% - 30px);
|
2016-01-26 23:20:08 -05:00
|
|
|
&:first-child { margin: 25px 15px 5px 15px; }
|
|
|
|
&:last-child { margin: 5px 15px 25px 15px; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#loading-modal {
|
2016-08-16 19:33:02 -04:00
|
|
|
z-index: 1000;
|
2016-01-26 23:20:08 -05:00
|
|
|
position: fixed;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
2016-08-16 19:33:02 -04:00
|
|
|
visibility: hidden;
|
2016-01-26 23:20:08 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: fade-out(lighten($c-dashboard-light, 1%), 0.6);
|
2016-01-26 23:20:08 -05:00
|
|
|
opacity: 0;
|
2016-08-16 19:33:02 -04:00
|
|
|
transition: opacity 250ms;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
.spinner-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%) translateY(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
2016-08-16 19:33:02 -04:00
|
|
|
z-index: 1000;
|
2016-01-26 23:20:08 -05:00
|
|
|
position: fixed;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
2016-08-16 19:33:02 -04:00
|
|
|
visibility: hidden;
|
|
|
|
display: table;
|
2016-01-26 23:20:08 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: fade-out(lighten($c-dashboard-light, 1%), 0.6);
|
2016-01-26 23:20:08 -05:00
|
|
|
opacity: 0;
|
2016-08-16 19:33:02 -04:00
|
|
|
transition: opacity 250ms;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
.modal-container {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
.panel { margin: 0px; }
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin: 20px 15px;
|
2016-08-16 19:33:02 -04:00
|
|
|
display: inline-block;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&#alert-modal {
|
|
|
|
.modal-container {
|
|
|
|
.panel { position: relative; }
|
|
|
|
|
|
|
|
.message {
|
|
|
|
min-height: 50px;
|
|
|
|
padding: 15px 106px 10px 20px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
2016-08-16 19:33:02 -04:00
|
|
|
right: 0px;
|
2016-01-26 23:20:08 -05:00
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|