2019-01-22 11:21:13 -05:00
|
|
|
/**
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
* or more contributor license agreements. See the NOTICE file
|
|
|
|
* distributed with this work for additional information
|
|
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
|
|
* to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance
|
|
|
|
* with the License. You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing,
|
|
|
|
* software distributed under the License is distributed on an
|
|
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
* KIND, either express or implied. See the License for the
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
*/
|
2016-08-19 02:49:31 -04:00
|
|
|
// Forked Cosmo 3.3.7
|
|
|
|
// Bootswatch
|
|
|
|
// -----------------------------------------------------
|
|
|
|
|
|
|
|
// Navbar =====================================================================
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
border: none;
|
2019-03-25 18:19:43 -04:00
|
|
|
|
|
|
|
li > a:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
&-inverse {
|
|
|
|
.badge {
|
2020-01-13 12:59:20 -05:00
|
|
|
background-color: @lightest;
|
2016-08-19 02:49:31 -04:00
|
|
|
color: @brand-primary;
|
|
|
|
}
|
|
|
|
}
|
2019-03-25 18:19:43 -04:00
|
|
|
|
2019-11-20 01:56:27 -05:00
|
|
|
.caret {
|
2019-03-25 18:19:43 -04:00
|
|
|
display: inline-block;
|
|
|
|
padding: 0 5px 18px 5px;
|
|
|
|
}
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
|
2016-08-25 03:02:23 -04:00
|
|
|
.navbar-inverse {
|
2020-08-25 02:16:44 -04:00
|
|
|
border: none;
|
2016-08-25 03:02:23 -04:00
|
|
|
}
|
|
|
|
|
2016-08-25 01:28:22 -04:00
|
|
|
.navbar-inverse .navbar-nav > .active > a,
|
|
|
|
.navbar-inverse .navbar-nav > .active > a:hover,
|
|
|
|
.navbar-inverse .navbar-nav > .active > a:focus {
|
|
|
|
background: transparent;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
|
2016-12-07 14:24:54 -05:00
|
|
|
.navbar-nav > li > a {
|
|
|
|
padding-top: 18px;
|
|
|
|
}
|
|
|
|
|
2016-08-25 01:28:22 -04:00
|
|
|
// Buttons ====================================================================
|
|
|
|
|
2020-06-18 18:01:58 -04:00
|
|
|
.btn {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2016-08-30 00:55:31 -04:00
|
|
|
.nav-tabs {
|
|
|
|
.dropdown-toggle.btn,
|
2020-01-31 12:38:31 -05:00
|
|
|
.btn-group.open .dropdown-toggle.btn {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
border-color: transparent;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2016-08-30 00:55:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
border: none;
|
|
|
|
color: @gray;
|
|
|
|
|
2020-01-31 12:38:31 -05:00
|
|
|
&:hover {
|
|
|
|
color: @gray-darker;
|
|
|
|
}
|
2016-08-30 00:55:31 -04:00
|
|
|
|
2020-01-31 12:38:31 -05:00
|
|
|
&:before {
|
|
|
|
font-family: 'FontAwesome';
|
|
|
|
font-size: @font-size-xs;
|
|
|
|
content: '\f078';
|
|
|
|
}
|
2016-08-30 00:55:31 -04:00
|
|
|
}
|
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
// Typography =================================================================
|
|
|
|
|
|
|
|
body {
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-primary,
|
|
|
|
.text-primary:hover {
|
|
|
|
color: @brand-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-success,
|
|
|
|
.text-success:hover {
|
2020-01-13 12:59:20 -05:00
|
|
|
color: @success;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-danger,
|
|
|
|
.text-danger:hover {
|
|
|
|
color: @brand-danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-warning,
|
|
|
|
.text-warning:hover {
|
|
|
|
color: @brand-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-info,
|
|
|
|
.text-info:hover {
|
|
|
|
color: @brand-info;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Tables =====================================================================
|
|
|
|
|
|
|
|
table,
|
|
|
|
.table {
|
|
|
|
.dropdown-menu a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.success,
|
|
|
|
.warning,
|
|
|
|
.danger,
|
|
|
|
.info {
|
2020-01-13 12:59:20 -05:00
|
|
|
color: @lightest;
|
2016-08-19 02:49:31 -04:00
|
|
|
|
|
|
|
a {
|
2020-01-13 12:59:20 -05:00
|
|
|
color: @lightest;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
2017-09-14 23:28:01 -04:00
|
|
|
|
|
|
|
.btn-default {
|
|
|
|
color: @gray;
|
|
|
|
}
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Forms ======================================================================
|
|
|
|
|
2021-01-11 19:47:10 -05:00
|
|
|
.form-control {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.has-warning {
|
|
|
|
.help-block,
|
|
|
|
.control-label,
|
|
|
|
.radio,
|
|
|
|
.checkbox,
|
|
|
|
.radio-inline,
|
|
|
|
.checkbox-inline,
|
|
|
|
&.radio label,
|
|
|
|
&.checkbox label,
|
|
|
|
&.radio-inline label,
|
|
|
|
&.checkbox-inline label,
|
|
|
|
.form-control-feedback {
|
|
|
|
color: @brand-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control,
|
|
|
|
.form-control:focus,
|
|
|
|
.input-group-addon {
|
|
|
|
border: 1px solid @brand-warning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-error {
|
|
|
|
.help-block,
|
|
|
|
.control-label,
|
|
|
|
.radio,
|
|
|
|
.checkbox,
|
|
|
|
.radio-inline,
|
|
|
|
.checkbox-inline,
|
|
|
|
&.radio label,
|
|
|
|
&.checkbox label,
|
|
|
|
&.radio-inline label,
|
|
|
|
&.checkbox-inline label,
|
|
|
|
.form-control-feedback {
|
|
|
|
color: @brand-danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control,
|
|
|
|
.form-control:focus,
|
|
|
|
.input-group-addon {
|
|
|
|
border: 1px solid @brand-danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-success {
|
|
|
|
.help-block,
|
|
|
|
.control-label,
|
|
|
|
.radio,
|
|
|
|
.checkbox,
|
|
|
|
.radio-inline,
|
|
|
|
.checkbox-inline,
|
|
|
|
&.radio label,
|
|
|
|
&.checkbox label,
|
|
|
|
&.radio-inline label,
|
|
|
|
&.checkbox-inline label,
|
|
|
|
.form-control-feedback {
|
|
|
|
color: @brand-success;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control,
|
|
|
|
.form-control:focus,
|
|
|
|
.input-group-addon {
|
|
|
|
border: 1px solid @brand-success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Navs =======================================================================
|
|
|
|
|
|
|
|
.nav-pills {
|
|
|
|
& > li > a {
|
2020-01-22 20:55:57 -05:00
|
|
|
border-radius: @border-radius-normal;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
& > li > a:hover,
|
|
|
|
& > li > a:focus {
|
|
|
|
background-image: none;
|
2020-08-05 21:53:53 -04:00
|
|
|
text-decoration: none;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Indicators =================================================================
|
|
|
|
|
|
|
|
.close {
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: none;
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
border: none;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.alert-link {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-info .alert-link {
|
|
|
|
color: @alert-info-text;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.alert-danger .alert-link {
|
|
|
|
color: @alert-danger-text;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.alert-warning .alert-link {
|
|
|
|
color: @alert-warning-text;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.alert-success .alert-link {
|
|
|
|
color: @alert-success-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
2020-07-24 21:03:38 -04:00
|
|
|
border-radius: 21px;
|
|
|
|
padding: 0.35em 0.8em 0.35em;
|
2020-06-18 18:01:58 -04:00
|
|
|
font-weight: @font-weight-normal;
|
2020-07-24 21:03:38 -04:00
|
|
|
font-size: @font-size-s;
|
|
|
|
}
|
|
|
|
.label-default:hover {
|
|
|
|
background-color: darken(@label-default-bg, 5%);
|
|
|
|
}
|
|
|
|
.label-warning:hover {
|
|
|
|
background-color: darken(@label-warning-bg, 5%);
|
|
|
|
}
|
|
|
|
.label-danger:hover {
|
|
|
|
background-color: darken(@label-danger-bg, 5%);
|
|
|
|
}
|
|
|
|
.label-primary:hover {
|
|
|
|
background-color: darken(@label-primary-bg, 5%);
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
label {
|
2019-11-27 13:36:25 -05:00
|
|
|
font-weight: @font-weight-normal;
|
2020-06-18 18:01:58 -04:00
|
|
|
font-size: @font-size-s;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Progress bars ==============================================================
|
|
|
|
|
|
|
|
.progress {
|
2016-08-30 00:55:31 -04:00
|
|
|
height: 14px;
|
2016-08-19 02:49:31 -04:00
|
|
|
.box-shadow(none);
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.progress-bar {
|
2019-11-27 13:36:25 -05:00
|
|
|
font-size: @font-size-s;
|
2020-01-13 12:59:20 -05:00
|
|
|
line-height: @line-height-tight;
|
2020-06-18 18:01:58 -04:00
|
|
|
padding-top: 2px;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Containers =================================================================
|
|
|
|
|
|
|
|
.panel {
|
|
|
|
border: none;
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
&-heading,
|
|
|
|
&-footer {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-default {
|
|
|
|
.panel-heading {
|
|
|
|
padding: 15px 15px 0 15px;
|
2016-08-30 18:02:09 -04:00
|
|
|
background-color: transparent;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.panel-title {
|
2016-08-30 18:02:09 -04:00
|
|
|
color: @text-color;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
border-bottom: 1px solid @gray-light;
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2020-01-13 12:59:20 -05:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2016-08-30 18:02:09 -04:00
|
|
|
margin: 10px 0 0 0;
|
2019-11-27 13:36:25 -05:00
|
|
|
font-weight: @font-weight-bold;
|
2016-08-30 18:02:09 -04:00
|
|
|
}
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-30 18:02:09 -04:00
|
|
|
.close {
|
|
|
|
color: @text-color;
|
|
|
|
}
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2019-11-15 19:35:48 -05:00
|
|
|
&-primary {
|
2016-08-30 18:02:09 -04:00
|
|
|
.panel-heading {
|
|
|
|
padding: 15px 15px 0 15px;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-30 18:02:09 -04:00
|
|
|
.panel-title {
|
|
|
|
color: @text-color;
|
2016-08-19 02:49:31 -04:00
|
|
|
padding-bottom: 5px;
|
|
|
|
border-bottom: 1px solid @gray-light;
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2020-01-13 12:59:20 -05:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2016-08-19 02:49:31 -04:00
|
|
|
margin: 10px 0 0 0;
|
2019-11-27 13:36:25 -05:00
|
|
|
font-weight: @font-weight-bold;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.close {
|
|
|
|
color: @text-color;
|
|
|
|
}
|
|
|
|
}
|
2021-01-05 02:31:52 -05:00
|
|
|
|
|
|
|
.accordion-toggle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
display: flex;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
|
2016-11-28 23:12:44 -05:00
|
|
|
.panel-title-large {
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
2021-01-11 19:47:10 -05:00
|
|
|
.list-group-item {
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
a.list-group-item {
|
|
|
|
&-success {
|
|
|
|
&.active {
|
|
|
|
background-color: @state-success-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
|
|
|
background-color: darken(@state-success-bg, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-warning {
|
|
|
|
&.active {
|
|
|
|
background-color: @state-warning-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
|
|
|
background-color: darken(@state-warning-bg, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-danger {
|
|
|
|
&.active {
|
|
|
|
background-color: @state-danger-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
|
|
|
background-color: darken(@state-danger-bg, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
.close {
|
|
|
|
color: @text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover {
|
|
|
|
color: @text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Tabs ==============================================================
|
|
|
|
|
2019-03-25 18:19:43 -04:00
|
|
|
.nav-tabs > li > a {
|
|
|
|
border-top: 3px solid transparent;
|
2020-06-18 18:01:58 -04:00
|
|
|
color: @text-color;
|
2019-03-25 18:19:43 -04:00
|
|
|
}
|
|
|
|
|
2020-01-13 12:59:20 -05:00
|
|
|
.nav-tabs > li.active > a,
|
|
|
|
.nav-tabs > li.active > a:hover,
|
|
|
|
.nav-tabs > li.active > a:focus {
|
|
|
|
background-color: @lightest;
|
2019-11-27 13:36:25 -05:00
|
|
|
font-weight: @font-weight-bold;
|
2016-08-30 00:55:31 -04:00
|
|
|
border-top: 3px solid @brand-primary;
|
2016-08-19 02:49:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Tables ==============================================================
|
|
|
|
|
|
|
|
.table {
|
|
|
|
.info {
|
|
|
|
color: @state-info-text;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.danger {
|
|
|
|
color: @state-danger-text;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.warning {
|
|
|
|
color: @state-warning-text;
|
|
|
|
}
|
2020-01-31 12:38:31 -05:00
|
|
|
|
2016-08-19 02:49:31 -04:00
|
|
|
.success {
|
|
|
|
color: @state-success-text;
|
|
|
|
}
|
|
|
|
}
|
2016-08-30 00:55:31 -04:00
|
|
|
|
|
|
|
// Utils ==============================================================
|
|
|
|
hr {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
2016-11-18 13:08:50 -05:00
|
|
|
|
|
|
|
// generate space-n classes for vertical spacing
|
|
|
|
.space-loop(@counter) when (@counter > 0) {
|
2020-01-13 12:59:20 -05:00
|
|
|
.space-loop((@counter - 1)); // next iteration
|
2016-11-18 13:08:50 -05:00
|
|
|
.space-@{counter} {
|
|
|
|
margin-bottom: (10px * @counter); // code for each iteration
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.space-loop(6);
|
2017-05-30 14:05:18 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-07-21 23:30:36 -04:00
|
|
|
|
|
|
|
.control-label {
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: @gray;
|
|
|
|
font-size: @font-size-s;
|
|
|
|
}
|