2016-08-16 19:33:02 -04:00
|
|
|
// Libraries
|
|
|
|
@import "bootstrap-sass/assets/stylesheets/_bootstrap.scss";
|
2018-01-15 23:43:20 -05:00
|
|
|
@import "pickadate/lib/themes/default";
|
|
|
|
@import "pickadate/lib/themes/default.date";
|
2016-08-16 19:33:02 -04:00
|
|
|
@import "simplemde/dist/simplemde.min";
|
|
|
|
@import "SpinKit/css/spinners/11-folding-cube";
|
|
|
|
|
|
|
|
// Core
|
|
|
|
@import "_fonts";
|
|
|
|
|
2018-01-11 23:36:17 -05:00
|
|
|
// Colours
|
|
|
|
$c-text: #111; // text
|
|
|
|
$c-text-light: #fff; // light text
|
2018-04-10 00:09:20 -04:00
|
|
|
$c-input-bg: #fff; // white
|
2018-01-11 23:36:17 -05:00
|
|
|
$c-dashboard-dark: #3e6087;
|
|
|
|
$c-dashboard-light: #f1f1f1;
|
|
|
|
$c-dashboard-edit: #87823e;
|
|
|
|
$c-dashboard-delete: #87483e;
|
|
|
|
|
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;
|
2016-01-26 23:20:08 -05:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2018-01-12 23:48:21 -05:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
2016-08-16 19:33:02 -04:00
|
|
|
.navbar {
|
2018-04-10 00:09:20 -04:00
|
|
|
border: 0;
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: $c-dashboard-dark;
|
2017-01-04 23:50:17 -05:00
|
|
|
|
2018-04-10 00:09:20 -04:00
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
height: $navbar-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-brand {
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: calc(100vw - 60px);
|
2017-01-04 23:50:17 -05:00
|
|
|
font-weight: bold;
|
2018-04-10 00:09:20 -04:00
|
|
|
white-space: nowrap;
|
2017-01-04 23:50:17 -05:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2018-04-10 00:09:20 -04:00
|
|
|
font-size: 12px;
|
2017-01-04 23:50:17 -05:00
|
|
|
}
|
|
|
|
}
|
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 {
|
2018-04-10 00:09:20 -04:00
|
|
|
.dropdown-toggle .caret {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
&.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;
|
2018-04-10 00:09:20 -04:00
|
|
|
|
|
|
|
> li > a:hover, > li > a:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2016-08-16 19:33:02 -04:00
|
|
|
|
|
|
|
> li > a {
|
2018-04-10 00:09:20 -04:00
|
|
|
&, &:hover, &:focus {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2016-08-16 19:33:02 -04:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-brand, .navbar-default .navbar-nav > li > a, .navbar-nav > li > a {
|
2018-04-10 00:09:20 -04:00
|
|
|
&, &:hover, &:focus {
|
|
|
|
color: $c-dashboard-light;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-toggle {
|
2018-04-10 00:09:20 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 6px;
|
|
|
|
right: 8px;
|
|
|
|
margin: 0px;
|
2016-08-16 19:33:02 -04:00
|
|
|
border: 0;
|
2018-04-10 00:09:20 -04:00
|
|
|
|
|
|
|
&, &:hover, &:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2018-04-10 00:09:20 -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;
|
2018-04-10 00:09:20 -04:00
|
|
|
margin-bottom: 20px;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
.panel-body {
|
2016-08-16 19:33:02 -04:00
|
|
|
background-color: lighten($c-dashboard-light, 1%);
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-21 21:36:37 -05:00
|
|
|
&.dashboard {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
2016-12-22 00:20:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2018-04-10 00:09:20 -04:00
|
|
|
position: relative;
|
2016-08-16 19:33:02 -04:00
|
|
|
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 {
|
2018-04-10 00:09:20 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 8px;
|
|
|
|
transform: translateY(-50%);
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2016-12-19 22:31:04 -05:00
|
|
|
.btn {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-04-10 00:09:20 -04:00
|
|
|
.panel-body .form-group .checkbox {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
min-height: 0px;
|
|
|
|
padding-top: 0px;
|
|
|
|
padding-left: 22px;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
span, input {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 0px;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
display: block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
border: 1px solid lighten($c-text, 50%);
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: $c-input-bg;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
transform: scale(0);
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-04-15 20:29:14 -04:00
|
|
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOC4zOTUgMjUuNDczIj48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMy44NzYgODIuNzY0IC0xNy40NDYpIiBmaWxsPSIjMDAwMDAxIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiPjxyZWN0IHJ5PSIwIiB5PSI1MS4xMDgiIHg9IjMyLjk5NyIgaGVpZ2h0PSI1LjY1NSIgd2lkdGg9IjE2LjA4NSIgc3Ryb2tlLXdpZHRoPSIuMTE4Ii8+PHJlY3QgdHJhbnNmb3JtPSJyb3RhdGUoOTApIiByeT0iMCIgeT0iLTQ5LjA3NyIgeD0iMzAuMDg2IiBoZWlnaHQ9IjUuNjQ2IiB3aWR0aD0iMjAuOTQ3IiBzdHJva2Utd2lkdGg9Ii4xMzQiLz48L2c+PC9zdmc+");
|
2018-04-10 00:09:20 -04:00
|
|
|
background-position: center center;
|
2018-04-15 20:29:14 -04:00
|
|
|
background-size: 65% auto;
|
2018-04-10 00:09:20 -04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
opacity: 0;
|
|
|
|
transition: transform 150ms, opacity 150ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
opacity: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:checked + span:after {
|
|
|
|
transform: scale(1);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2018-04-10 00:09:20 -04:00
|
|
|
&.vertical-margin {
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
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; }
|
|
|
|
}
|
|
|
|
|
2018-01-21 22:40:42 -05:00
|
|
|
.view-table-container {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding: 10px 5px;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-21 22:40:42 -05:00
|
|
|
.table {
|
|
|
|
margin-bottom: 0px;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-21 22:40:42 -05:00
|
|
|
> thead > tr > th {
|
|
|
|
border-bottom: 1px solid #666;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
2018-01-21 22:40:42 -05:00
|
|
|
@media (max-width: $screen-md-max) {
|
|
|
|
tr {
|
2018-04-10 00:09:20 -04:00
|
|
|
&.heading-row {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
2018-01-21 22:40:42 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-21 22:40:42 -05:00
|
|
|
> tbody > tr {
|
|
|
|
> td {
|
|
|
|
display: block;
|
|
|
|
border-top: 0;
|
2018-01-22 23:25:07 -05:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child > td:first-child {
|
|
|
|
padding-top: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child > td:last-child {
|
|
|
|
padding-bottom: 0px;
|
2018-01-21 22:40:42 -05:00
|
|
|
}
|
2016-08-16 19:33:02 -04:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
2018-01-21 22:40:42 -05:00
|
|
|
@media (min-width: $screen-lg-min) {
|
|
|
|
> tbody > tr > td { padding: 20px 8px; }
|
|
|
|
> tbody > tr:last-child > td { padding-bottom: 0px; }
|
|
|
|
.mobile-heading { display: none; }
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-group {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
|
2018-01-12 23:48:21 -05:00
|
|
|
&.menu-list .list-group-item {
|
|
|
|
position: relative;
|
2018-04-02 22:47:09 -04:00
|
|
|
padding: 10px 15px;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-12 23:48:21 -05:00
|
|
|
&-link {
|
2018-04-02 22:47:09 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
2018-01-12 23:48:21 -05:00
|
|
|
display: block;
|
2018-04-02 22:47:09 -04:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-01-12 23:48:21 -05:00
|
|
|
background-color: transparent;
|
|
|
|
color: $c-text;
|
|
|
|
transition: background-color 150ms;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-12 23:48:21 -05:00
|
|
|
&:hover {
|
|
|
|
background-color: fade-out(#000, 0.97);
|
|
|
|
text-decoration: none;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
2018-01-12 23:48:21 -05:00
|
|
|
}
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-13 01:16:19 -05:00
|
|
|
&.edit-list {
|
|
|
|
.list-group-item {
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2017-01-04 23:50:17 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
2018-01-13 01:16:19 -05:00
|
|
|
margin: 3px;
|
2018-01-21 22:47:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sortable {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding-left: 50px;
|
|
|
|
}
|
2018-01-12 23:48:21 -05:00
|
|
|
}
|
2016-12-22 00:20:44 -05:00
|
|
|
|
2018-01-13 01:16:19 -05:00
|
|
|
.title-column {
|
|
|
|
padding-top: 6px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
padding-left: 0px;
|
|
|
|
font-family: "Lucida Console", Monaco, monospace;
|
2017-01-03 23:33:24 -05:00
|
|
|
|
2018-01-12 23:48:21 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
2018-01-13 01:16:19 -05:00
|
|
|
text-align: center;
|
2016-12-20 23:26:10 -05:00
|
|
|
}
|
2018-01-11 23:57:49 -05:00
|
|
|
|
2018-01-12 23:48:21 -05:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2018-01-21 22:47:59 -05:00
|
|
|
overflow: hidden;
|
|
|
|
flex-grow: 1;
|
|
|
|
white-space: nowrap;
|
2018-01-13 01:16:19 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.sort-icon {
|
2018-01-11 23:57:49 -05:00
|
|
|
margin-right: 10px;
|
2018-01-13 01:16:19 -05:00
|
|
|
display: inline-block;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 100ms;
|
|
|
|
cursor: grab;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 20px;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
2018-04-15 20:43:23 -04:00
|
|
|
|
|
|
|
&-inner {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 14px;
|
|
|
|
|
|
|
|
&-bar {
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
|
|
|
background-color: $c-text;
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(3) {
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-11 23:57:49 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-13 01:16:19 -05:00
|
|
|
.column {
|
2018-01-15 22:35:36 -05:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-01-04 23:50:17 -05:00
|
|
|
|
2018-01-15 22:35:36 -05:00
|
|
|
.spacer {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
2018-01-13 01:16:19 -05:00
|
|
|
}
|
2017-01-04 23:50:17 -05:00
|
|
|
|
2018-01-13 01:16:19 -05:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2018-01-15 22:35:36 -05:00
|
|
|
display: inline-block;
|
2018-01-13 01:16:19 -05:00
|
|
|
}
|
|
|
|
}
|
2018-01-12 23:48:21 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-01-13 01:16:19 -05:00
|
|
|
.button-column {
|
|
|
|
padding-right: 0px;
|
2016-12-22 00:20:44 -05:00
|
|
|
|
2018-01-12 23:48:21 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
2018-01-13 01:16:19 -05:00
|
|
|
padding-bottom: 5px;
|
2018-01-21 22:47:59 -05:00
|
|
|
padding-left: 0px;
|
2018-01-13 01:16:19 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
2018-01-21 22:47:59 -05:00
|
|
|
padding-left: 5px;
|
|
|
|
flex-shrink: 0;
|
2018-01-13 01:16:19 -05:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin: 3px;
|
|
|
|
min-width: 70px;
|
|
|
|
height: 26px;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
min-width: 33%;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-13 01:16:19 -05:00
|
|
|
|
|
|
|
&.filtered .list-group-item .title-column .sort-icon {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-item {
|
|
|
|
margin-top: 10px;
|
2018-01-15 23:43:20 -05:00
|
|
|
|
|
|
|
.CodeMirror {
|
2018-01-21 21:04:18 -05:00
|
|
|
height: 300px;
|
2018-01-15 23:43:20 -05:00
|
|
|
padding: 5px;
|
2018-01-21 21:04:18 -05:00
|
|
|
|
|
|
|
&-code {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2018-01-15 23:43:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.picker__holder {
|
|
|
|
overflow-y: hidden;
|
2018-01-16 00:38:08 -05:00
|
|
|
|
|
|
|
.picker__button--today {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.picker__select--year, .picker__select--month, .picker__month, .picker__day, .picker__weekday, .picker__footer {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.picker__select--year, .picker__select--month {
|
|
|
|
width: auto;
|
|
|
|
height: 1.5em;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
2018-01-15 23:43:20 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
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%;
|
2018-01-15 23:43:20 -05:00
|
|
|
|
2018-01-22 23:25:07 -05:00
|
|
|
&:not([type="file"]) {
|
2018-01-15 23:43:20 -05:00
|
|
|
padding: 5px 8px;
|
|
|
|
border: 1px solid darken($c-dashboard-light, 10%);
|
|
|
|
border-radius: 2px;
|
|
|
|
transition: border-color 150ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.date-picker {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.current-image {
|
2018-01-11 01:13:58 -05:00
|
|
|
margin-bottom: 15px;
|
2018-01-18 22:29:49 -05:00
|
|
|
display: block;
|
2016-01-26 23:20:08 -05:00
|
|
|
width: 125px;
|
2018-01-18 22:29:49 -05:00
|
|
|
max-width: 100%;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
|
2018-01-21 20:55:07 -05:00
|
|
|
.edit-button {
|
|
|
|
margin-bottom: ($grid-gutter-width / 2);
|
|
|
|
display: inline-block;
|
2018-01-18 22:29:49 -05:00
|
|
|
padding: 5px 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
transition: background-color 150ms;
|
2018-01-21 20:55:07 -05:00
|
|
|
cursor: pointer;
|
2018-01-18 22:29:49 -05:00
|
|
|
|
2018-01-21 20:55:07 -05:00
|
|
|
&:hover, &:focus {
|
2018-01-18 22:29:49 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2018-01-21 20:55:07 -05:00
|
|
|
&.view {
|
|
|
|
border: 1px solid darken($c-dashboard-dark, 5%);
|
|
|
|
background-color: $c-dashboard-dark;
|
|
|
|
color: $c-text-light;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($c-dashboard-dark, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.delete {
|
|
|
|
border: 1px solid darken($c-dashboard-delete, 5%);
|
|
|
|
background-color: $c-dashboard-delete;
|
|
|
|
color: $c-text-light;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($c-dashboard-delete, 5%);
|
|
|
|
}
|
|
|
|
}
|
2018-01-11 23:51:48 -05:00
|
|
|
}
|
|
|
|
|
2018-01-18 22:29:49 -05:00
|
|
|
.back-button {
|
|
|
|
float: left;
|
|
|
|
}
|
2018-01-12 23:19:24 -05:00
|
|
|
|
|
|
|
.submit-button {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
.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%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|