forked from shaba/openuds
Experimenting with dashboard
This commit is contained in:
parent
fdaf974009
commit
95230292c3
File diff suppressed because one or more lines are too long
BIN
server/src/uds/static/adm/fonts/DroidSansMono.woff2
Normal file
BIN
server/src/uds/static/adm/fonts/DroidSansMono.woff2
Normal file
Binary file not shown.
@ -263,7 +263,7 @@
|
||||
if enable
|
||||
$(btn).prop('disabled', false)
|
||||
$(btn).addClass('disabled')
|
||||
$(btn).removeClass("disabled").addClass cls
|
||||
$(btn).removeClass("disabled") # .addClass cls
|
||||
else
|
||||
$(btn).prop('disabled', true)
|
||||
$(btn).removeClass(cls).addClass "disabled"
|
||||
|
@ -41,28 +41,28 @@
|
||||
|
||||
gui.config.dataTableButtons =
|
||||
new:
|
||||
text: "<span class=\"fa fa-pencil\"></span> <span class=\"label-tbl-button\">" + gettext("New") + "</span>"
|
||||
css: "btn btn-primary btn-tables"
|
||||
text: "<span class=\"fa fa-pencil\"></span> " + gettext("New") + ""
|
||||
css: "btn btn-action btn-tables"
|
||||
|
||||
edit:
|
||||
text: "<span class=\"fa fa-edit\"></span> <span class=\"label-tbl-button\">" + gettext("Edit") + "</span>"
|
||||
css: "btn disabled btn-default btn-tables"
|
||||
css: "btn disabled btn-action btn-tables"
|
||||
|
||||
delete:
|
||||
text: "<span class=\"fa fa-trash-o\"></span> <span class=\"label-tbl-button\">" + gettext("Delete") + "</span>"
|
||||
css: "btn disabled btn-default btn-tables"
|
||||
css: "btn disabled btn-alert btn-tables"
|
||||
|
||||
permissions:
|
||||
text: "<span class=\"fa fa-save\"></span> <span class=\"label-tbl-button\">" + gettext("Permissions") + "</span>"
|
||||
css: "btn disabled btn-default btn-tables"
|
||||
css: "btn disabled btn-action btn-tables"
|
||||
|
||||
xls:
|
||||
text: "<span class=\"fa fa-save\"></span> <span class=\"label-tbl-button\">" + gettext("Xls") + "</span>"
|
||||
css: "btn btn-info btn-tables"
|
||||
css: "btn btn-export btn-tables"
|
||||
|
||||
custom:
|
||||
text: null
|
||||
css: "btn btn-default btn-tables"
|
||||
css: "btn btn-action btn-tables"
|
||||
|
||||
gui.genRamdonId = (prefix) ->
|
||||
prefix = prefix or ""
|
||||
|
@ -24,11 +24,6 @@
|
||||
<link href="{% get_static_prefix %}adm/css/jasny-bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<link href="{% get_static_prefix %}adm/css/uds.css" rel="stylesheet" media="screen">
|
||||
|
||||
<!-- <link href="{% get_static_prefix %}adm/css/jquery.dataTables.css" rel="stylesheet" media="screen">
|
||||
<link href="{% get_static_prefix %}adm/css/TableTools.css" rel="stylesheet" media="screen">
|
||||
<link href="{% get_static_prefix %}adm/css/dataTables.bootstrap.css" rel="stylesheet" media="screen"> -->
|
||||
|
||||
{% endcompress %}
|
||||
</head>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% load i18n html5 static %}
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
|
||||
|
@ -0,0 +1,8 @@
|
||||
{% verbatim %}
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{{ name }}</label>
|
||||
<div class="col-md-9">
|
||||
<input type="text" readonly="true" class="form-control" placeholder="{{ paceholder }}">{{ value }}
|
||||
</div>
|
||||
</div>
|
||||
{% endverbatim %}
|
@ -0,0 +1,12 @@
|
||||
{% verbatim %}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<form class="form-horizontal">
|
||||
<fielset>
|
||||
<legend>{{{ legend }}}</legend>
|
||||
{{{ fields }}}
|
||||
</fielset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endverbatim %}
|
@ -1,177 +1,23 @@
|
||||
.btn3d {
|
||||
margin: 4px;
|
||||
box-shadow: 1px 1px 5px #888888;
|
||||
}
|
||||
|
||||
.btn3d-xs {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.btn3d-danger {
|
||||
color: #fff;
|
||||
background-color: #db5566;
|
||||
border-bottom: 2px solid #af4451;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background-color: #df6a78;
|
||||
border-bottom: 2px solid #b25560;
|
||||
outline: none;
|
||||
.btn-alert {
|
||||
@include button-variant($btn-default-color, darken($brand-danger, 40%), darken($brand-danger, 60%));
|
||||
&.disabled,
|
||||
&[disabled] {
|
||||
@include button-variant(darken($btn-default-color, 20%), darken($brand-danger, 40%), $btn-default-border);
|
||||
}
|
||||
}
|
||||
|
||||
.btn3d-primary.active:focus, .btn3d-danger:focus, .open > .dropdown-toggle.btn3d-danger {
|
||||
color: #fff;
|
||||
background-color: #df6a78;
|
||||
border-bottom: 2px solid #b25560;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.btn3d-danger {
|
||||
&:active, &.active {
|
||||
color: #fff;
|
||||
background-color: #c04b59;
|
||||
border-top: 2px solid #9a3c47;
|
||||
margin-top: 2px;
|
||||
.btn-action {
|
||||
@include button-variant($btn-default-color, $btn-default-bg, $btn-default-border);
|
||||
&.disabled,
|
||||
&[disabled] {
|
||||
@include button-variant(darken($btn-default-color, 20%), darken($btn-default-bg, 20%), $btn-default-border);
|
||||
}
|
||||
}
|
||||
|
||||
.btn3d-warning {
|
||||
color: #fff;
|
||||
background-color: #f4ad49;
|
||||
border-bottom: 2px solid #c38a3a;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background-color: #f5b75f;
|
||||
border-bottom: 2px solid #c4924c;
|
||||
outline: none;
|
||||
.btn-export {
|
||||
@include button-variant($btn-default-color, $btn-default-bg, $btn-default-border);
|
||||
&.disabled,
|
||||
&[disabled] {
|
||||
@include button-variant(darken($btn-default-color, 20%), darken($btn-default-bg, 20%), $btn-default-border);
|
||||
}
|
||||
}
|
||||
|
||||
.btn3d-primary.active:focus, .btn3d-warning:focus, .open > .dropdown-toggle.btn3d-warning {
|
||||
color: #fff;
|
||||
background-color: #f5b75f;
|
||||
border-bottom: 2px solid #c4924c;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.btn3d-warning {
|
||||
&:active, &.active {
|
||||
color: #fff;
|
||||
background-color: #d69840;
|
||||
border-top: 2px solid #ab7a33;
|
||||
margin-top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn3d-success {
|
||||
color: #fff;
|
||||
background-color: #51bf87;
|
||||
border-bottom: 2px solid #41996c;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background-color: #66c796;
|
||||
border-bottom: 2px solid #529f78;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.btn3d-primary.active:focus, .btn3d-success:focus, .open > .dropdown-toggle.btn3d-success {
|
||||
color: #fff;
|
||||
background-color: #66c796;
|
||||
border-bottom: 2px solid #529f78;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.btn3d-success {
|
||||
&:active, &.active {
|
||||
color: #fff;
|
||||
background-color: #47a877;
|
||||
border-top: 2px solid #39865f;
|
||||
outline: none;
|
||||
outline-offset: none;
|
||||
margin-top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn3d-primary {
|
||||
color: #fff;
|
||||
background-color: #0bacd3;
|
||||
border-bottom: 2px solid #098aa9;
|
||||
|
||||
&:hover, &.active:focus, &:focus {
|
||||
color: #fff;
|
||||
background-color: #29b6d8;
|
||||
border-bottom: 2px solid #2192ad;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.open > .dropdown-toggle.btn3d-primary {
|
||||
color: #fff;
|
||||
background-color: #29b6d8;
|
||||
border-bottom: 2px solid #2192ad;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.btn3d-primary {
|
||||
&:active, &.active {
|
||||
color: #fff;
|
||||
background-color: #0a97b9;
|
||||
border-top: 2px solid #087994;
|
||||
outline-offset: none;
|
||||
margin-top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn3d {
|
||||
&:focus, &:active:focus, &.active:focus {
|
||||
outline: none;
|
||||
outline-offset: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
.btn3d {
|
||||
transition:all .08s linear;
|
||||
position:relative;
|
||||
outline:medium none;
|
||||
-moz-outline-style:none;
|
||||
border:0px;
|
||||
margin-right:10px;
|
||||
margin-top:15px;
|
||||
}
|
||||
.btn3d:focus {
|
||||
outline:medium none;
|
||||
-moz-outline-style:none;
|
||||
}
|
||||
.btn3d:active {
|
||||
top:9px;
|
||||
}
|
||||
.btn3d-default {
|
||||
box-shadow:0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255,255,255,0.15) inset, 0 8px 0 0 #adadad, 0 8px 0 1px rgba(0,0,0,0.4), 0 8px 8px 1px rgba(0,0,0,0.5);
|
||||
background-color:#fff;
|
||||
}
|
||||
.btn3d-primary {
|
||||
box-shadow:0 0 0 1px #428bca inset, 0 0 0 2px rgba(255,255,255,0.15) inset, 0 8px 0 0 #357ebd, 0 8px 0 1px rgba(0,0,0,0.4), 0 8px 8px 1px rgba(0,0,0,0.5);
|
||||
background-color:#428bca;
|
||||
}
|
||||
.btn3d-success {
|
||||
box-shadow:0 0 0 1px #5cb85c inset, 0 0 0 2px rgba(255,255,255,0.15) inset, 0 8px 0 0 #4cae4c, 0 8px 0 1px rgba(0,0,0,0.4), 0 8px 8px 1px rgba(0,0,0,0.5);
|
||||
background-color:#5cb85c;
|
||||
}
|
||||
.btn3d-info {
|
||||
box-shadow:0 0 0 1px #5bc0de inset, 0 0 0 2px rgba(255,255,255,0.15) inset, 0 8px 0 0 #46b8da, 0 8px 0 1px rgba(0,0,0,0.4), 0 8px 8px 1px rgba(0,0,0,0.5);
|
||||
background-color:#5bc0de;
|
||||
}
|
||||
.btn3d-warning {
|
||||
box-shadow:0 0 0 1px #f0ad4e inset, 0 0 0 2px rgba(255,255,255,0.15) inset, 0 8px 0 0 #eea236, 0 8px 0 1px rgba(0,0,0,0.4), 0 8px 8px 1px rgba(0,0,0,0.5);
|
||||
background-color:#f0ad4e;
|
||||
}
|
||||
.btn3d-danger {
|
||||
box-shadow:0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255,255,255,0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 1px rgba(0,0,0,0.4), 0 8px 8px 1px rgba(0,0,0,0.5);
|
||||
background-color:#c63702;
|
||||
}
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@ This states displays as default
|
||||
*/
|
||||
|
||||
.row-maintenance-true {
|
||||
color: $brand-danger;
|
||||
color: lighten($brand-danger, 20%);
|
||||
}
|
||||
|
||||
.log-WARN {
|
||||
@ -22,42 +22,6 @@ This states displays as default
|
||||
color: $brand-danger;
|
||||
}
|
||||
|
||||
|
||||
/*tr {
|
||||
&.row-state-B:nth-child(2n) > td, &.row-state-C:nth-child(2n) > td, &.row-state-E:nth-child(2n) > td, &.row-state-Y:nth-child(2n) > td, &.row-state-B:nth-child(2n+1) > td, &.row-state-C:nth-child(2n+1) > td, &.row-state-E:nth-child(2n+1) > td, &.row-state-Y:nth-child(2n+1) > td {
|
||||
color: #FF6600 !important;
|
||||
}
|
||||
|
||||
&.row-state-M:nth-child(2n+1) > td, &.row-state-R:nth-child(2n+1) > td, &.row-state-I:nth-child(2n+1) > td, &.row-state-S > td:nth-child(2n+1) {
|
||||
color: #9A9A9A !important;
|
||||
}
|
||||
|
||||
&.row-state-M:nth-child(2n) > td, &.row-state-R:nth-child(2n) > td, &.row-state-I:nth-child(2n) > td, &.row-state-S > td:nth-child(2n) {
|
||||
color: #858585 !important;
|
||||
}
|
||||
|
||||
&.row-maintenance-true > td {
|
||||
color: #FF6600 !important;
|
||||
}
|
||||
|
||||
&.log-WARN {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
&.log-DEBUG {
|
||||
color: green;
|
||||
}
|
||||
|
||||
&.log-INFO, &.log-OTHER {
|
||||
color: black;
|
||||
}
|
||||
|
||||
&.log-ERROR, &.log-FATAL {
|
||||
color: red;
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
// To position correctly things
|
||||
.btn-tables {
|
||||
margin-top: 0px;
|
||||
@ -78,7 +42,11 @@ This states displays as default
|
||||
}
|
||||
|
||||
.table {
|
||||
font-family: 'Andale Mono', 'Courier New'
|
||||
// $font-family-monospace
|
||||
// $font-family-serif
|
||||
// $font-family-sans-serif
|
||||
font-family: $font-family-monospace;
|
||||
font-size: $font-size-large;
|
||||
}
|
||||
|
||||
/*.table tbody tr.selected {
|
||||
|
859
server/templates/admin/app/css/_udsvars-black.scss
Normal file
859
server/templates/admin/app/css/_udsvars-black.scss
Normal file
@ -0,0 +1,859 @@
|
||||
//
|
||||
// Variables
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
//== Colors
|
||||
//
|
||||
//## Gray and brand colors for use across Bootstrap.
|
||||
$bg-color1: #252830;
|
||||
$bg-color2: lighten($bg-color1, 14%);
|
||||
|
||||
$gray-base: #FFFFFF;
|
||||
$gray-darker: darken($gray-base, 13.5%); // #222
|
||||
$gray-dark: darken($gray-base, 20%); // #333
|
||||
$gray: darken($gray-base, 33.5%); // #555
|
||||
$gray-light: darken($gray-base, 46.7%); // #777
|
||||
$gray-lighter: darken($gray-base, 93.5%); // #eee
|
||||
|
||||
$brand-primary: darken(#1CA8DD, 0%); // #337ab7
|
||||
$brand-success: #1BC98E;
|
||||
$brand-info: #9F86FF;
|
||||
$brand-warning: #E4D836;
|
||||
$brand-danger: #E64759;
|
||||
|
||||
|
||||
//== Scaffolding
|
||||
//
|
||||
//## Settings for some of the most global styles.
|
||||
|
||||
//** Background color for `<body>`.
|
||||
$body-bg: $bg-color1;
|
||||
//** Global text color on `<body>`.
|
||||
$text-color: $gray-darker;
|
||||
|
||||
//** Global textual link color.
|
||||
$link-color: $brand-primary;
|
||||
//** Link hover color set via `darken()` function.
|
||||
$link-hover-color: lighten($link-color, 15%);
|
||||
//** Link hover decoration.
|
||||
$link-hover-decoration: underline;
|
||||
|
||||
|
||||
//== Typography
|
||||
//
|
||||
//## Font, line-height, and color for body text, headings, and more.
|
||||
|
||||
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
$font-family-serif: Georgia, "Times New Roman", Times, serif;
|
||||
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
||||
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
$font-family-base: $font-family-sans-serif;
|
||||
|
||||
$font-size-base: 14px;
|
||||
$font-size-large: ceil(($font-size-base * 1.25)); // ~18px
|
||||
$font-size-small: ceil(($font-size-base * 0.85)); // ~12px
|
||||
|
||||
$font-size-h1: floor(($font-size-base * 2.6)); // ~36px
|
||||
$font-size-h2: floor(($font-size-base * 2.15)); // ~30px
|
||||
$font-size-h3: ceil(($font-size-base * 1.7)); // ~24px
|
||||
$font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
|
||||
$font-size-h5: $font-size-base;
|
||||
$font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
|
||||
|
||||
//** Unit-less `line-height` for use in components like buttons.
|
||||
$line-height-base: 1.428571429; // 20/14
|
||||
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
||||
$line-height-computed: floor(($font-size-base * $line-height-base)); // ~20px
|
||||
|
||||
//** By default, this inherits from the `<body>`.
|
||||
$headings-font-family: inherit;
|
||||
$headings-font-weight: 500;
|
||||
$headings-line-height: 1.1;
|
||||
$headings-color: $brand-info;
|
||||
|
||||
|
||||
//== Iconography
|
||||
//
|
||||
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
||||
|
||||
//** Load fonts from this directory.
|
||||
$icon-font-path: "../fonts/";
|
||||
//** File name for all font files.
|
||||
$icon-font-name: "glyphicons-halflings-regular";
|
||||
//** Element ID within SVG icon file.
|
||||
$icon-font-svg-id: "glyphicons_halflingsregular";
|
||||
|
||||
|
||||
//== Components
|
||||
//
|
||||
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
||||
|
||||
$padding-base-vertical: 6px;
|
||||
$padding-base-horizontal: 12px;
|
||||
|
||||
$padding-large-vertical: 10px;
|
||||
$padding-large-horizontal: 16px;
|
||||
|
||||
$padding-small-vertical: 5px;
|
||||
$padding-small-horizontal: 10px;
|
||||
|
||||
$padding-xs-vertical: 1px;
|
||||
$padding-xs-horizontal: 5px;
|
||||
|
||||
$line-height-large: 1.33;
|
||||
$line-height-small: 1.5;
|
||||
|
||||
$border-radius-base: 0px;
|
||||
$border-radius-large: 0px;
|
||||
$border-radius-small: 0px;
|
||||
|
||||
//** Global color for active items (e.g., navs or dropdowns).
|
||||
$component-active-color: #fff;
|
||||
//** Global background color for active items (e.g., navs or dropdowns).
|
||||
$component-active-bg: $brand-primary;
|
||||
|
||||
//** Width of the `border` for generating carets that indicator dropdowns.
|
||||
$caret-width-base: 4px;
|
||||
//** Carets increase slightly in size for larger components.
|
||||
$caret-width-large: 5px;
|
||||
|
||||
|
||||
//== Tables
|
||||
//
|
||||
//## Customizes the `.table` component with basic values, each used across all table variations.
|
||||
|
||||
//** Padding for `<th>`s and `<td>`s.
|
||||
$table-cell-padding: 8px;
|
||||
//** Padding for cells in `.table-condensed`.
|
||||
$table-condensed-cell-padding: 5px;
|
||||
|
||||
//** Default background color used for all tables.
|
||||
$table-bg: transparent;
|
||||
//** Background color used for `.table-striped`.
|
||||
$table-bg-accent: lighten($body-bg, 10%);
|
||||
//** Background color used for `.table-hover`.
|
||||
$table-bg-hover: $brand-primary;
|
||||
$table-bg-active: darken($brand-primary, 20%);
|
||||
|
||||
//** Border color for table and cell borders.
|
||||
$table-border-color: darken($body-bg, 10%);
|
||||
|
||||
|
||||
//== Buttons
|
||||
//
|
||||
//## For each of Bootstrap's buttons, define text, background and border color.
|
||||
|
||||
$btn-font-weight: normal;
|
||||
|
||||
$btn-default-color: $gray-base;
|
||||
$btn-default-bg: lighten($body-bg, 20%);
|
||||
$btn-default-border: lighten($body-bg, 10%);
|
||||
|
||||
$btn-primary-color: $gray-base;
|
||||
$btn-primary-bg: $brand-primary;
|
||||
$btn-primary-border: darken($btn-primary-bg, 5%);
|
||||
|
||||
$btn-success-color: $gray-base;
|
||||
$btn-success-bg: $brand-success;
|
||||
$btn-success-border: darken($btn-success-bg, 5%);
|
||||
|
||||
$btn-info-color: $gray-base;
|
||||
$btn-info-bg: $brand-info;
|
||||
$btn-info-border: darken($btn-info-bg, 5%);
|
||||
|
||||
$btn-warning-color: $gray-base;
|
||||
$btn-warning-bg: $brand-warning;
|
||||
$btn-warning-border: darken($btn-warning-bg, 5%);
|
||||
|
||||
$btn-danger-color: $gray-base;
|
||||
$btn-danger-bg: $brand-danger;
|
||||
$btn-danger-border: darken($btn-danger-bg, 5%);
|
||||
|
||||
$btn-link-disabled-color: $gray-light;
|
||||
|
||||
|
||||
//== Forms
|
||||
//
|
||||
//##
|
||||
|
||||
//** `<input>` background color
|
||||
$input-bg: $body-bg;
|
||||
//** `<input disabled>` background color
|
||||
$input-bg-disabled: lighten($body-bg, 15%);
|
||||
|
||||
//** Text color for `<input>`s
|
||||
$input-color: $gray-base;
|
||||
//** `<input>` border color
|
||||
$input-border: $brand-primary;
|
||||
|
||||
// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
|
||||
//** Default `.form-control` border radius
|
||||
$input-border-radius: $border-radius-base;
|
||||
//** Large `.form-control` border radius
|
||||
$input-border-radius-large: $border-radius-large;
|
||||
//** Small `.form-control` border radius
|
||||
$input-border-radius-small: $border-radius-small;
|
||||
|
||||
//** Border color for inputs on focus
|
||||
$input-border-focus: $brand-info;
|
||||
|
||||
//** Placeholder text color
|
||||
$input-color-placeholder: darken($brand-primary, 15%);
|
||||
|
||||
//** Default `.form-control` height
|
||||
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2);
|
||||
//** Large `.form-control` height
|
||||
$input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2);
|
||||
//** Small `.form-control` height
|
||||
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2);
|
||||
|
||||
$legend-color: $gray-dark;
|
||||
$legend-border-color: lighten($body-bg, 15%);
|
||||
|
||||
//** Background color for textual input addons
|
||||
$input-group-addon-bg: $input-bg;
|
||||
//** Border color for textual input addons
|
||||
$input-group-addon-border-color: $input-border;
|
||||
|
||||
//** Disabled cursor for form controls and buttons.
|
||||
$cursor-disabled: not-allowed;
|
||||
|
||||
|
||||
//== Dropdowns
|
||||
//
|
||||
//## Dropdown menu container and contents.
|
||||
|
||||
//** Background for the dropdown menu.
|
||||
$dropdown-bg: lighten($body-bg, 15%);
|
||||
//** Dropdown menu `border-color`.
|
||||
$dropdown-border: lighten($body-bg, 40%);
|
||||
//** Dropdown menu `border-color` **for IE8**.
|
||||
$dropdown-fallback-border: lighten($body-bg, 40%);
|
||||
//** Divider color for between dropdown items.
|
||||
$dropdown-divider-bg: lighten($body-bg, 40%);
|
||||
|
||||
//** Dropdown link text color.
|
||||
$dropdown-link-color: $gray-dark;
|
||||
//** Hover color for dropdown links.
|
||||
$dropdown-link-hover-color: darken($gray-dark, 5%);
|
||||
//** Hover background for dropdown links.
|
||||
$dropdown-link-hover-bg: $gray-lighter;
|
||||
|
||||
//** Active dropdown menu item text color.
|
||||
$dropdown-link-active-color: $component-active-color;
|
||||
//** Active dropdown menu item background color.
|
||||
$dropdown-link-active-bg: $component-active-bg;
|
||||
|
||||
//** Disabled dropdown menu item background color.
|
||||
$dropdown-link-disabled-color: $gray-light;
|
||||
|
||||
//** Text color for headers within dropdown menus.
|
||||
$dropdown-header-color: $gray-light;
|
||||
|
||||
//** Deprecated `$dropdown-caret-color` as of v3.1.0
|
||||
$dropdown-caret-color: $gray-light;
|
||||
|
||||
|
||||
//-- Z-index master list
|
||||
//
|
||||
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
||||
// of components dependent on the z-axis and are designed to all work together.
|
||||
//
|
||||
// Note: These variables are not generated into the Customizer.
|
||||
|
||||
$zindex-navbar: 1000;
|
||||
$zindex-dropdown: 1000;
|
||||
$zindex-popover: 1060;
|
||||
$zindex-tooltip: 1070;
|
||||
$zindex-navbar-fixed: 1030;
|
||||
$zindex-modal: 1050;
|
||||
$zindex-modal-background: 1040;
|
||||
|
||||
|
||||
//== Media queries breakpoints
|
||||
//
|
||||
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
||||
|
||||
// Extra small screen / phone
|
||||
//** Deprecated `$screen-xs` as of v3.0.1
|
||||
$screen-xs: 480px;
|
||||
//** Deprecated `$screen-xs-min` as of v3.2.0
|
||||
$screen-xs-min: $screen-xs;
|
||||
//** Deprecated `$screen-phone` as of v3.0.1
|
||||
$screen-phone: $screen-xs-min;
|
||||
|
||||
// Small screen / tablet
|
||||
//** Deprecated `$screen-sm` as of v3.0.1
|
||||
$screen-sm: 768px;
|
||||
$screen-sm-min: $screen-sm;
|
||||
//** Deprecated `$screen-tablet` as of v3.0.1
|
||||
$screen-tablet: $screen-sm-min;
|
||||
|
||||
// Medium screen / desktop
|
||||
//** Deprecated `$screen-md` as of v3.0.1
|
||||
$screen-md: 992px;
|
||||
$screen-md-min: $screen-md;
|
||||
//** Deprecated `$screen-desktop` as of v3.0.1
|
||||
$screen-desktop: $screen-md-min;
|
||||
|
||||
// Large screen / wide desktop
|
||||
//** Deprecated `$screen-lg` as of v3.0.1
|
||||
$screen-lg: 1200px;
|
||||
$screen-lg-min: $screen-lg;
|
||||
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
||||
$screen-lg-desktop: $screen-lg-min;
|
||||
|
||||
// So media queries don't overlap when required, provide a maximum
|
||||
$screen-xs-max: ($screen-sm-min - 1);
|
||||
$screen-sm-max: ($screen-md-min - 1);
|
||||
$screen-md-max: ($screen-lg-min - 1);
|
||||
|
||||
|
||||
//== Grid system
|
||||
//
|
||||
//## Define your custom responsive grid.
|
||||
|
||||
//** Number of columns in the grid.
|
||||
$grid-columns: 12;
|
||||
//** Padding between columns. Gets divided in half for the left and right.
|
||||
$grid-gutter-width: 30px;
|
||||
// Navbar collapse
|
||||
//** Point at which the navbar becomes uncollapsed.
|
||||
$grid-float-breakpoint: $screen-sm-min;
|
||||
//** Point at which the navbar begins collapsing.
|
||||
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
|
||||
|
||||
|
||||
//== Container sizes
|
||||
//
|
||||
//## Define the maximum width of `.container` for different screen sizes.
|
||||
|
||||
// Small screen / tablet
|
||||
$container-tablet: (720px + $grid-gutter-width);
|
||||
//** For `$screen-sm-min` and up.
|
||||
$container-sm: $container-tablet;
|
||||
|
||||
// Medium screen / desktop
|
||||
$container-desktop: (940px + $grid-gutter-width);
|
||||
//** For `$screen-md-min` and up.
|
||||
$container-md: $container-desktop;
|
||||
|
||||
// Large screen / wide desktop
|
||||
$container-large-desktop: (1140px + $grid-gutter-width);
|
||||
//** For `$screen-lg-min` and up.
|
||||
$container-lg: $container-large-desktop;
|
||||
|
||||
|
||||
//== Navbar
|
||||
//
|
||||
//##
|
||||
|
||||
// Basics of a navbar
|
||||
$navbar-height: 50px;
|
||||
$navbar-margin-bottom: $line-height-computed;
|
||||
$navbar-border-radius: $border-radius-base;
|
||||
$navbar-padding-horizontal: floor(($grid-gutter-width / 2));
|
||||
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
|
||||
$navbar-collapse-max-height: 340px;
|
||||
|
||||
$navbar-default-color: #777;
|
||||
$navbar-default-bg: #f8f8f8;
|
||||
$navbar-default-border: darken($navbar-default-bg, 6.5%);
|
||||
|
||||
// Navbar links
|
||||
$navbar-default-link-color: #777;
|
||||
$navbar-default-link-hover-color: #333;
|
||||
$navbar-default-link-hover-bg: transparent;
|
||||
$navbar-default-link-active-color: #555;
|
||||
$navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%);
|
||||
$navbar-default-link-disabled-color: #ccc;
|
||||
$navbar-default-link-disabled-bg: transparent;
|
||||
|
||||
// Navbar brand label
|
||||
$navbar-default-brand-color: $navbar-default-link-color;
|
||||
$navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%);
|
||||
$navbar-default-brand-hover-bg: transparent;
|
||||
|
||||
// Navbar toggle
|
||||
$navbar-default-toggle-hover-bg: #ddd;
|
||||
$navbar-default-toggle-icon-bar-bg: #888;
|
||||
$navbar-default-toggle-border-color: #ddd;
|
||||
|
||||
|
||||
// Inverted navbar
|
||||
// Reset inverted navbar basics
|
||||
$navbar-inverse-color: lighten($gray-light, 15%);
|
||||
$navbar-inverse-bg: darken($body-bg, 5%);
|
||||
$navbar-inverse-border: darken($navbar-inverse-bg, 10%);
|
||||
|
||||
// Inverted navbar links
|
||||
$navbar-inverse-link-color: lighten($gray-light, 15%);
|
||||
$navbar-inverse-link-hover-color: $gray-light;
|
||||
$navbar-inverse-link-hover-bg: darken($brand-primary, 30%);
|
||||
$navbar-inverse-link-active-color: $gray-lighter;
|
||||
$navbar-inverse-link-active-bg: $brand-primary;
|
||||
$navbar-inverse-link-disabled-color: #444;
|
||||
$navbar-inverse-link-disabled-bg: transparent;
|
||||
|
||||
// Inverted navbar brand label
|
||||
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
||||
$navbar-inverse-brand-hover-color: $brand-primary;
|
||||
$navbar-inverse-brand-hover-bg: transparent;
|
||||
|
||||
// Inverted navbar toggle
|
||||
$navbar-inverse-toggle-hover-bg: #333;
|
||||
$navbar-inverse-toggle-icon-bar-bg: #fff;
|
||||
$navbar-inverse-toggle-border-color: #333;
|
||||
|
||||
|
||||
//== Navs
|
||||
//
|
||||
//##
|
||||
|
||||
//=== Shared nav styles
|
||||
$nav-link-padding: 10px 15px;
|
||||
$nav-link-hover-bg: $gray-lighter;
|
||||
|
||||
$nav-disabled-link-color: $gray-light;
|
||||
$nav-disabled-link-hover-color: $gray-light;
|
||||
|
||||
//== Tabs
|
||||
$nav-tabs-border-color: #ddd;
|
||||
|
||||
$nav-tabs-link-hover-border-color: $gray-lighter;
|
||||
|
||||
$nav-tabs-active-link-hover-bg: $body-bg;
|
||||
$nav-tabs-active-link-hover-color: $gray;
|
||||
$nav-tabs-active-link-hover-border-color: #ddd;
|
||||
|
||||
$nav-tabs-justified-link-border-color: #ddd;
|
||||
$nav-tabs-justified-active-link-border-color: $body-bg;
|
||||
|
||||
//== Pills
|
||||
$nav-pills-border-radius: $border-radius-base;
|
||||
$nav-pills-active-link-hover-bg: $component-active-bg;
|
||||
$nav-pills-active-link-hover-color: $component-active-color;
|
||||
|
||||
|
||||
//== Pagination
|
||||
//
|
||||
//##
|
||||
|
||||
$pagination-color: $link-color;
|
||||
$pagination-bg: $body-bg;
|
||||
$pagination-border: $brand-primary;
|
||||
|
||||
$pagination-hover-color: $gray-base;
|
||||
$pagination-hover-bg: $brand-primary;
|
||||
$pagination-hover-border: $pagination-border;
|
||||
|
||||
$pagination-active-color: $gray-lighter;
|
||||
$pagination-active-bg: $brand-primary;
|
||||
$pagination-active-border: $brand-primary;
|
||||
|
||||
$pagination-disabled-color: darken($pagination-color, 30%);
|
||||
$pagination-disabled-bg: darken($pagination-bg, 30%);
|
||||
$pagination-disabled-border: darken($pagination-border, 0%);
|
||||
|
||||
|
||||
//== Pager
|
||||
//
|
||||
//##
|
||||
|
||||
$pager-bg: $pagination-bg;
|
||||
$pager-border: $pagination-border;
|
||||
$pager-border-radius: 0px;
|
||||
|
||||
$pager-hover-bg: $pagination-hover-bg;
|
||||
|
||||
$pager-active-bg: $pagination-active-bg;
|
||||
$pager-active-color: $pagination-active-color;
|
||||
|
||||
$pager-disabled-color: $pagination-disabled-color;
|
||||
|
||||
|
||||
//== Jumbotron
|
||||
//
|
||||
//##
|
||||
|
||||
$jumbotron-padding: 30px;
|
||||
$jumbotron-color: inherit;
|
||||
$jumbotron-bg: lighten($body-bg,30%);
|
||||
$jumbotron-heading-color: inherit;
|
||||
$jumbotron-font-size: ceil(($font-size-base * 1.5));
|
||||
|
||||
|
||||
//== Form states and alerts
|
||||
//
|
||||
//## Define colors for form feedback states and, by default, alerts.
|
||||
|
||||
$state-success-text: $brand-success;
|
||||
$state-success-bg: darken($state-success-text, 50%);;
|
||||
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%);
|
||||
|
||||
$state-info-text: $brand-info;
|
||||
$state-info-bg: darken($state-info-text, 50%);;
|
||||
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%);
|
||||
|
||||
$state-warning-text: $brand-warning;
|
||||
$state-warning-bg: darken($state-warning-text, 50%);
|
||||
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%);
|
||||
|
||||
$state-danger-text: $brand-danger;
|
||||
$state-danger-bg: darken($state-danger-text, 50%);
|
||||
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%);
|
||||
|
||||
|
||||
//== Tooltips
|
||||
//
|
||||
//##
|
||||
|
||||
//** Tooltip max width
|
||||
$tooltip-max-width: 200px;
|
||||
//** Tooltip text color
|
||||
$tooltip-color: $gray-base;
|
||||
//** Tooltip background color
|
||||
$tooltip-bg: lighten($body-bg, 25%);
|
||||
$tooltip-opacity: .9;
|
||||
|
||||
//** Tooltip arrow width
|
||||
$tooltip-arrow-width: 5px;
|
||||
//** Tooltip arrow color
|
||||
$tooltip-arrow-color: $tooltip-bg;
|
||||
|
||||
|
||||
//== Popovers
|
||||
//
|
||||
//##
|
||||
|
||||
//** Popover body background color
|
||||
$popover-bg: #fff;
|
||||
//** Popover maximum width
|
||||
$popover-max-width: 276px;
|
||||
//** Popover border color
|
||||
$popover-border-color: rgba(0,0,0,.2);
|
||||
//** Popover fallback border color
|
||||
$popover-fallback-border-color: #ccc;
|
||||
|
||||
//** Popover title background color
|
||||
$popover-title-bg: darken($popover-bg, 3%);
|
||||
|
||||
//** Popover arrow width
|
||||
$popover-arrow-width: 10px;
|
||||
//** Popover arrow color
|
||||
$popover-arrow-color: $popover-bg;
|
||||
|
||||
//** Popover outer arrow width
|
||||
$popover-arrow-outer-width: ($popover-arrow-width + 1);
|
||||
//** Popover outer arrow color
|
||||
$popover-arrow-outer-color: fadein($popover-border-color, 5%);
|
||||
//** Popover outer arrow fallback color
|
||||
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%);
|
||||
|
||||
|
||||
//== Labels
|
||||
//
|
||||
//##
|
||||
|
||||
//** Default label background color
|
||||
$label-default-bg: lighten($body-bg, 15%);
|
||||
//** Primary label background color
|
||||
$label-primary-bg: $brand-primary;
|
||||
//** Success label background color
|
||||
$label-success-bg: $brand-success;
|
||||
//** Info label background color
|
||||
$label-info-bg: $brand-info;
|
||||
//** Warning label background color
|
||||
$label-warning-bg: $brand-warning;
|
||||
//** Danger label background color
|
||||
$label-danger-bg: $brand-danger;
|
||||
|
||||
//** Default label text color
|
||||
$label-color: $gray-lighter;
|
||||
//** Default text color of a linked label
|
||||
$label-link-hover-color: #fff;
|
||||
|
||||
|
||||
//== Modals
|
||||
//
|
||||
//##
|
||||
|
||||
//** Padding applied to the modal body
|
||||
$modal-inner-padding: 15px;
|
||||
|
||||
//** Padding applied to the modal title
|
||||
$modal-title-padding: 15px;
|
||||
//** Modal title line-height
|
||||
$modal-title-line-height: $line-height-base;
|
||||
|
||||
//** Background color of modal content area
|
||||
$modal-content-bg: lighten($body-bg, 15%);
|
||||
//** Modal content border color
|
||||
$modal-content-border-color: $brand-primary;
|
||||
//** Modal content border color **for IE8**
|
||||
$modal-content-fallback-border-color: $brand-info;
|
||||
|
||||
//** Modal backdrop background color
|
||||
$modal-backdrop-bg: #000;
|
||||
//** Modal backdrop opacity
|
||||
$modal-backdrop-opacity: .4;
|
||||
//** Modal header border color
|
||||
$modal-header-border-color: $brand-primary;
|
||||
//** Modal footer border color
|
||||
$modal-footer-border-color: $modal-header-border-color;
|
||||
|
||||
$modal-lg: 900px;
|
||||
$modal-md: 600px;
|
||||
$modal-sm: 300px;
|
||||
|
||||
|
||||
//== Alerts
|
||||
//
|
||||
//## Define alert colors, border radius, and padding.
|
||||
|
||||
$alert-padding: 15px;
|
||||
$alert-border-radius: $border-radius-base;
|
||||
$alert-link-font-weight: bold;
|
||||
|
||||
$alert-success-bg: $state-success-bg;
|
||||
$alert-success-text: $state-success-text;
|
||||
$alert-success-border: $state-success-border;
|
||||
|
||||
$alert-info-bg: $state-info-bg;
|
||||
$alert-info-text: $state-info-text;
|
||||
$alert-info-border: $state-info-border;
|
||||
|
||||
$alert-warning-bg: $state-warning-bg;
|
||||
$alert-warning-text: $state-warning-text;
|
||||
$alert-warning-border: $state-warning-border;
|
||||
|
||||
$alert-danger-bg: $state-danger-bg;
|
||||
$alert-danger-text: $state-danger-text;
|
||||
$alert-danger-border: $state-danger-border;
|
||||
|
||||
|
||||
//== Progress bars
|
||||
//
|
||||
//##
|
||||
|
||||
//** Background color of the whole progress component
|
||||
$progress-bg: lighten($body-bg, 15%);
|
||||
//** Progress bar text color
|
||||
$progress-bar-color: #fff;
|
||||
//** Variable for setting rounded corners on progress bar.
|
||||
$progress-border-radius: $border-radius-base;
|
||||
|
||||
//** Default progress bar color
|
||||
$progress-bar-bg: $brand-primary;
|
||||
//** Success progress bar color
|
||||
$progress-bar-success-bg: $brand-success;
|
||||
//** Warning progress bar color
|
||||
$progress-bar-warning-bg: $brand-warning;
|
||||
//** Danger progress bar color
|
||||
$progress-bar-danger-bg: $brand-danger;
|
||||
//** Info progress bar color
|
||||
$progress-bar-info-bg: $brand-info;
|
||||
|
||||
|
||||
//== List group
|
||||
//
|
||||
//##
|
||||
|
||||
//** Background color on `.list-group-item`
|
||||
$list-group-bg: lighten($body-bg, 15%);
|
||||
//** `.list-group-item` border color
|
||||
$list-group-border: lighten($body-bg, 30%);
|
||||
//** List group border radius
|
||||
$list-group-border-radius: $border-radius-base;
|
||||
|
||||
//** Background color of single list items on hover
|
||||
$list-group-hover-bg: $gray-dark;
|
||||
//** Text color of active list items
|
||||
$list-group-active-color: $gray-base;
|
||||
//** Background color of active list items
|
||||
$list-group-active-bg: $gray-darker;
|
||||
//** Border color of active list elements
|
||||
$list-group-active-border: $list-group-active-bg;
|
||||
//** Text color for content within active list items
|
||||
$list-group-active-text-color: lighten($list-group-active-bg, 40%);
|
||||
|
||||
//** Text color of disabled list items
|
||||
$list-group-disabled-color: $gray-darker;
|
||||
//** Background color of disabled list items
|
||||
$list-group-disabled-bg: $gray-lighter;
|
||||
//** Text color for content within disabled list items
|
||||
$list-group-disabled-text-color: $list-group-disabled-color;
|
||||
|
||||
$list-group-link-color: $brand-primary;
|
||||
$list-group-link-hover-color: $list-group-link-color;
|
||||
$list-group-link-heading-color: $gray-base;
|
||||
|
||||
|
||||
//== Panels
|
||||
//
|
||||
//##
|
||||
|
||||
$panel-bg: lighten($body-bg, 15%);
|
||||
$panel-body-padding: 15px;
|
||||
$panel-heading-padding: 10px 15px;
|
||||
$panel-footer-padding: $panel-heading-padding;
|
||||
$panel-border-radius: $border-radius-base;
|
||||
|
||||
//** Border color for elements within panels
|
||||
$panel-inner-border: $brand-primary;
|
||||
$panel-footer-bg: lighten($body-bg,5%);
|
||||
|
||||
$panel-default-text: $gray-lighter;
|
||||
$panel-default-border: $brand-primary;
|
||||
$panel-default-heading-bg: lighten($body-bg, 45%);
|
||||
|
||||
$panel-primary-text: $gray-lighter;
|
||||
$panel-primary-border: $brand-primary;
|
||||
$panel-primary-heading-bg: $brand-primary;
|
||||
|
||||
$panel-success-text: $state-success-text;
|
||||
$panel-success-border: $state-success-border;
|
||||
$panel-success-heading-bg: $state-success-bg;
|
||||
|
||||
$panel-info-text: $state-info-text;
|
||||
$panel-info-border: $state-info-border;
|
||||
$panel-info-heading-bg: $state-info-bg;
|
||||
|
||||
$panel-warning-text: $state-warning-text;
|
||||
$panel-warning-border: $state-warning-border;
|
||||
$panel-warning-heading-bg: $state-warning-bg;
|
||||
|
||||
$panel-danger-text: $state-danger-text;
|
||||
$panel-danger-border: $state-danger-border;
|
||||
$panel-danger-heading-bg: $state-danger-bg;
|
||||
|
||||
|
||||
//== Thumbnails
|
||||
//
|
||||
//##
|
||||
|
||||
//** Padding around the thumbnail image
|
||||
$thumbnail-padding: 4px;
|
||||
//** Thumbnail background color
|
||||
$thumbnail-bg: $body-bg;
|
||||
//** Thumbnail border color
|
||||
$thumbnail-border: #ddd;
|
||||
//** Thumbnail border radius
|
||||
$thumbnail-border-radius: $border-radius-base;
|
||||
|
||||
//** Custom text color for thumbnail captions
|
||||
$thumbnail-caption-color: $text-color;
|
||||
//** Padding around the thumbnail caption
|
||||
$thumbnail-caption-padding: 9px;
|
||||
|
||||
|
||||
//== Wells
|
||||
//
|
||||
//##
|
||||
|
||||
$well-bg: lighten($body-bg, 15%);
|
||||
$well-border: darken($well-bg, 7%);
|
||||
|
||||
|
||||
//== Badges
|
||||
//
|
||||
//##
|
||||
|
||||
$badge-color: #fff;
|
||||
//** Linked badge text color on hover
|
||||
$badge-link-hover-color: #fff;
|
||||
$badge-bg: $gray-light;
|
||||
|
||||
//** Badge text color in active nav link
|
||||
$badge-active-color: $link-color;
|
||||
//** Badge background color in active nav link
|
||||
$badge-active-bg: #fff;
|
||||
|
||||
$badge-font-weight: bold;
|
||||
$badge-line-height: 1;
|
||||
$badge-border-radius: 10px;
|
||||
|
||||
|
||||
//== Breadcrumbs
|
||||
//
|
||||
//##
|
||||
|
||||
$breadcrumb-padding-vertical: 8px;
|
||||
$breadcrumb-padding-horizontal: 15px;
|
||||
//** Breadcrumb background color
|
||||
$breadcrumb-bg: $body-bg;
|
||||
//** Breadcrumb text color
|
||||
$breadcrumb-color: #ccc;
|
||||
//** Text color of current page in the breadcrumb
|
||||
$breadcrumb-active-color: $gray-light;
|
||||
//** Textual separator for between breadcrumb elements
|
||||
$breadcrumb-separator: "/ ";
|
||||
|
||||
|
||||
//== Carousel
|
||||
//
|
||||
//##
|
||||
|
||||
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
|
||||
|
||||
$carousel-control-color: #fff;
|
||||
$carousel-control-width: 15%;
|
||||
$carousel-control-opacity: .5;
|
||||
$carousel-control-font-size: 20px;
|
||||
|
||||
$carousel-indicator-active-bg: #fff;
|
||||
$carousel-indicator-border-color: #fff;
|
||||
|
||||
$carousel-caption-color: #fff;
|
||||
|
||||
|
||||
//== Close
|
||||
//
|
||||
//##
|
||||
|
||||
$close-font-weight: bold;
|
||||
$close-color: #000;
|
||||
$close-text-shadow: 0 1px 0 #fff;
|
||||
|
||||
|
||||
//== Code
|
||||
//
|
||||
//##
|
||||
|
||||
$code-color: #c7254e;
|
||||
$code-bg: #f9f2f4;
|
||||
|
||||
$kbd-color: #fff;
|
||||
$kbd-bg: #333;
|
||||
|
||||
$pre-bg: #f5f5f5;
|
||||
$pre-color: $gray-dark;
|
||||
$pre-border-color: #ccc;
|
||||
$pre-scrollable-max-height: 340px;
|
||||
|
||||
|
||||
//== Type
|
||||
//
|
||||
//##
|
||||
|
||||
//** Horizontal offset for forms and lists.
|
||||
$component-offset-horizontal: 180px;
|
||||
//** Text muted color
|
||||
$text-muted: $gray-light;
|
||||
//** Abbreviations and acronyms border color
|
||||
$abbr-border-color: $gray-light;
|
||||
//** Headings small color
|
||||
$headings-small-color: $gray-light;
|
||||
//** Blockquote small color
|
||||
$blockquote-small-color: $gray-light;
|
||||
//** Blockquote font size
|
||||
$blockquote-font-size: ($font-size-base * 1.25);
|
||||
//** Blockquote border color
|
||||
$blockquote-border-color: $gray-lighter;
|
||||
//** Page header border color
|
||||
$page-header-border-color: $gray-lighter;
|
||||
//** Width of horizontal description list titles
|
||||
$dl-horizontal-offset: $component-offset-horizontal;
|
||||
//** Horizontal line color.
|
||||
$hr-border: $gray-lighter;
|
@ -6,21 +6,19 @@
|
||||
//== Colors
|
||||
//
|
||||
//## Gray and brand colors for use across Bootstrap.
|
||||
$bg-color1: #252830;
|
||||
$bg-color2: lighten($bg-color1, 14%);
|
||||
|
||||
$gray-base: #FFFFFF;
|
||||
$gray-darker: darken($gray-base, 13.5%); // #222
|
||||
$gray-dark: darken($gray-base, 20%); // #333
|
||||
$gray: darken($gray-base, 33.5%); // #555
|
||||
$gray-light: darken($gray-base, 46.7%); // #777
|
||||
$gray-lighter: darken($gray-base, 93.5%); // #eee
|
||||
$gray-base: #000;
|
||||
$gray-darker: lighten($gray-base, 13.5%); // #222
|
||||
$gray-dark: lighten($gray-base, 20%); // #333
|
||||
$gray: lighten($gray-base, 33.5%); // #555
|
||||
$gray-light: lighten($gray-base, 46.7%); // #777
|
||||
$gray-lighter: lighten($gray-base, 93.5%); // #eee
|
||||
|
||||
$brand-primary: darken(#1CA8DD, 0%); // #337ab7
|
||||
$brand-success: #1BC98E;
|
||||
$brand-info: #9F86FF;
|
||||
$brand-warning: #E4D836;
|
||||
$brand-danger: #E64759;
|
||||
$brand-primary: darken(#428bca, 6.5%); // #337ab7
|
||||
$brand-success: #5cb85c;
|
||||
$brand-info: #5bc0de;
|
||||
$brand-warning: #f0ad4e;
|
||||
$brand-danger: #d9534f;
|
||||
|
||||
|
||||
//== Scaffolding
|
||||
@ -28,14 +26,14 @@ $brand-danger: #E64759;
|
||||
//## Settings for some of the most global styles.
|
||||
|
||||
//** Background color for `<body>`.
|
||||
$body-bg: $bg-color1;
|
||||
$body-bg: #fff;
|
||||
//** Global text color on `<body>`.
|
||||
$text-color: $gray-darker;
|
||||
$text-color: $gray-dark;
|
||||
|
||||
//** Global textual link color.
|
||||
$link-color: $brand-primary;
|
||||
//** Link hover color set via `darken()` function.
|
||||
$link-hover-color: lighten($link-color, 15%);
|
||||
$link-hover-color: darken($link-color, 15%);
|
||||
//** Link hover decoration.
|
||||
$link-hover-decoration: underline;
|
||||
|
||||
@ -70,7 +68,7 @@ $line-height-computed: floor(($font-size-base * $line-height-base)); // ~20px
|
||||
$headings-font-family: inherit;
|
||||
$headings-font-weight: 500;
|
||||
$headings-line-height: 1.1;
|
||||
$headings-color: $brand-info;
|
||||
$headings-color: inherit;
|
||||
|
||||
|
||||
//== Iconography
|
||||
@ -131,13 +129,13 @@ $table-condensed-cell-padding: 5px;
|
||||
//** Default background color used for all tables.
|
||||
$table-bg: transparent;
|
||||
//** Background color used for `.table-striped`.
|
||||
$table-bg-accent: darken($brand-primary, 10%);
|
||||
$table-bg-accent: #f9f9f9;
|
||||
//** Background color used for `.table-hover`.
|
||||
$table-bg-hover: $brand-primary;
|
||||
$table-bg-active: darken($brand-primary, 20%);
|
||||
$table-bg-hover: #f5f5f5;
|
||||
$table-bg-active: $table-bg-hover;
|
||||
|
||||
//** Border color for table and cell borders.
|
||||
$table-border-color: darken($body-bg, 10%);
|
||||
$table-border-color: #ddd;
|
||||
|
||||
|
||||
//== Buttons
|
||||
@ -146,27 +144,27 @@ $table-border-color: darken($body-bg, 10%);
|
||||
|
||||
$btn-font-weight: normal;
|
||||
|
||||
$btn-default-color: $gray-base;
|
||||
$btn-default-bg: $body-bg;
|
||||
$btn-default-border: $brand-primary;
|
||||
$btn-default-color: #333;
|
||||
$btn-default-bg: #fff;
|
||||
$btn-default-border: #ccc;
|
||||
|
||||
$btn-primary-color: $gray-base;
|
||||
$btn-primary-color: #fff;
|
||||
$btn-primary-bg: $brand-primary;
|
||||
$btn-primary-border: darken($btn-primary-bg, 5%);
|
||||
|
||||
$btn-success-color: $gray-base;
|
||||
$btn-success-color: #fff;
|
||||
$btn-success-bg: $brand-success;
|
||||
$btn-success-border: darken($btn-success-bg, 5%);
|
||||
|
||||
$btn-info-color: $gray-base;
|
||||
$btn-info-color: #fff;
|
||||
$btn-info-bg: $brand-info;
|
||||
$btn-info-border: darken($btn-info-bg, 5%);
|
||||
|
||||
$btn-warning-color: $gray-base;
|
||||
$btn-warning-color: #fff;
|
||||
$btn-warning-bg: $brand-warning;
|
||||
$btn-warning-border: darken($btn-warning-bg, 5%);
|
||||
|
||||
$btn-danger-color: $gray-base;
|
||||
$btn-danger-color: #fff;
|
||||
$btn-danger-bg: $brand-danger;
|
||||
$btn-danger-border: darken($btn-danger-bg, 5%);
|
||||
|
||||
@ -178,14 +176,14 @@ $btn-link-disabled-color: $gray-light;
|
||||
//##
|
||||
|
||||
//** `<input>` background color
|
||||
$input-bg: $body-bg;
|
||||
$input-bg: #fff;
|
||||
//** `<input disabled>` background color
|
||||
$input-bg-disabled: lighten($body-bg, 15%);
|
||||
$input-bg-disabled: $gray-lighter;
|
||||
|
||||
//** Text color for `<input>`s
|
||||
$input-color: $gray-base;
|
||||
$input-color: $gray;
|
||||
//** `<input>` border color
|
||||
$input-border: $brand-primary;
|
||||
$input-border: #ccc;
|
||||
|
||||
// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
|
||||
//** Default `.form-control` border radius
|
||||
@ -196,10 +194,10 @@ $input-border-radius-large: $border-radius-large;
|
||||
$input-border-radius-small: $border-radius-small;
|
||||
|
||||
//** Border color for inputs on focus
|
||||
$input-border-focus: $brand-info;
|
||||
$input-border-focus: #66afe9;
|
||||
|
||||
//** Placeholder text color
|
||||
$input-color-placeholder: darken($brand-primary, 15%);
|
||||
$input-color-placeholder: #999;
|
||||
|
||||
//** Default `.form-control` height
|
||||
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2);
|
||||
@ -209,10 +207,10 @@ $input-height-large: (ceil($font-size-large * $line-height-large) +
|
||||
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2);
|
||||
|
||||
$legend-color: $gray-dark;
|
||||
$legend-border-color: lighten($body-bg, 15%);
|
||||
$legend-border-color: #e5e5e5;
|
||||
|
||||
//** Background color for textual input addons
|
||||
$input-group-addon-bg: $input-bg;
|
||||
$input-group-addon-bg: $gray-lighter;
|
||||
//** Border color for textual input addons
|
||||
$input-group-addon-border-color: $input-border;
|
||||
|
||||
@ -225,20 +223,20 @@ $cursor-disabled: not-allowed;
|
||||
//## Dropdown menu container and contents.
|
||||
|
||||
//** Background for the dropdown menu.
|
||||
$dropdown-bg: lighten($body-bg, 15%);
|
||||
$dropdown-bg: #fff;
|
||||
//** Dropdown menu `border-color`.
|
||||
$dropdown-border: lighten($body-bg, 40%);
|
||||
$dropdown-border: rgba(0,0,0,.15);
|
||||
//** Dropdown menu `border-color` **for IE8**.
|
||||
$dropdown-fallback-border: lighten($body-bg, 40%);
|
||||
$dropdown-fallback-border: #ccc;
|
||||
//** Divider color for between dropdown items.
|
||||
$dropdown-divider-bg: lighten($body-bg, 40%);
|
||||
$dropdown-divider-bg: #e5e5e5;
|
||||
|
||||
//** Dropdown link text color.
|
||||
$dropdown-link-color: $gray-dark;
|
||||
//** Hover color for dropdown links.
|
||||
$dropdown-link-hover-color: darken($gray-dark, 5%);
|
||||
//** Hover background for dropdown links.
|
||||
$dropdown-link-hover-bg: $gray-lighter;
|
||||
$dropdown-link-hover-bg: #f5f5f5;
|
||||
|
||||
//** Active dropdown menu item text color.
|
||||
$dropdown-link-active-color: $component-active-color;
|
||||
@ -252,7 +250,7 @@ $dropdown-link-disabled-color: $gray-light;
|
||||
$dropdown-header-color: $gray-light;
|
||||
|
||||
//** Deprecated `$dropdown-caret-color` as of v3.1.0
|
||||
$dropdown-caret-color: $gray-light;
|
||||
$dropdown-caret-color: #000;
|
||||
|
||||
|
||||
//-- Z-index master list
|
||||
@ -384,21 +382,21 @@ $navbar-default-toggle-border-color: #ddd;
|
||||
// Inverted navbar
|
||||
// Reset inverted navbar basics
|
||||
$navbar-inverse-color: lighten($gray-light, 15%);
|
||||
$navbar-inverse-bg: darken($body-bg, 5%);
|
||||
$navbar-inverse-bg: #222;
|
||||
$navbar-inverse-border: darken($navbar-inverse-bg, 10%);
|
||||
|
||||
// Inverted navbar links
|
||||
$navbar-inverse-link-color: lighten($gray-light, 15%);
|
||||
$navbar-inverse-link-hover-color: $gray-light;
|
||||
$navbar-inverse-link-hover-bg: darken($brand-primary, 30%);
|
||||
$navbar-inverse-link-active-color: $gray-lighter;
|
||||
$navbar-inverse-link-active-bg: $brand-primary;
|
||||
$navbar-inverse-link-hover-color: #fff;
|
||||
$navbar-inverse-link-hover-bg: transparent;
|
||||
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color;
|
||||
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%);
|
||||
$navbar-inverse-link-disabled-color: #444;
|
||||
$navbar-inverse-link-disabled-bg: transparent;
|
||||
|
||||
// Inverted navbar brand label
|
||||
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
||||
$navbar-inverse-brand-hover-color: $brand-primary;
|
||||
$navbar-inverse-brand-hover-color: #fff;
|
||||
$navbar-inverse-brand-hover-bg: transparent;
|
||||
|
||||
// Inverted navbar toggle
|
||||
@ -441,20 +439,20 @@ $nav-pills-active-link-hover-color: $component-active-color;
|
||||
//##
|
||||
|
||||
$pagination-color: $link-color;
|
||||
$pagination-bg: $body-bg;
|
||||
$pagination-border: $brand-primary;
|
||||
$pagination-bg: #fff;
|
||||
$pagination-border: #ddd;
|
||||
|
||||
$pagination-hover-color: $gray-base;
|
||||
$pagination-hover-bg: $brand-primary;
|
||||
$pagination-hover-border: $pagination-border;
|
||||
$pagination-hover-color: $link-hover-color;
|
||||
$pagination-hover-bg: $gray-lighter;
|
||||
$pagination-hover-border: #ddd;
|
||||
|
||||
$pagination-active-color: $gray-lighter;
|
||||
$pagination-active-color: #fff;
|
||||
$pagination-active-bg: $brand-primary;
|
||||
$pagination-active-border: $brand-primary;
|
||||
|
||||
$pagination-disabled-color: darken($pagination-color, 30%);
|
||||
$pagination-disabled-bg: darken($pagination-bg, 30%);
|
||||
$pagination-disabled-border: darken($pagination-border, 0%);
|
||||
$pagination-disabled-color: $gray-light;
|
||||
$pagination-disabled-bg: #fff;
|
||||
$pagination-disabled-border: #ddd;
|
||||
|
||||
|
||||
//== Pager
|
||||
@ -463,7 +461,7 @@ $pagination-disabled-border: darken($pagination-border, 0%);
|
||||
|
||||
$pager-bg: $pagination-bg;
|
||||
$pager-border: $pagination-border;
|
||||
$pager-border-radius: 0px;
|
||||
$pager-border-radius: 15px;
|
||||
|
||||
$pager-hover-bg: $pagination-hover-bg;
|
||||
|
||||
@ -479,7 +477,7 @@ $pager-disabled-color: $pagination-disabled-color;
|
||||
|
||||
$jumbotron-padding: 30px;
|
||||
$jumbotron-color: inherit;
|
||||
$jumbotron-bg: lighten($body-bg,30%);
|
||||
$jumbotron-bg: $gray-lighter;
|
||||
$jumbotron-heading-color: inherit;
|
||||
$jumbotron-font-size: ceil(($font-size-base * 1.5));
|
||||
|
||||
@ -488,20 +486,20 @@ $jumbotron-font-size: ceil(($font-size-base * 1.5));
|
||||
//
|
||||
//## Define colors for form feedback states and, by default, alerts.
|
||||
|
||||
$state-success-text: $brand-success;
|
||||
$state-success-bg: darken($state-success-text, 50%);;
|
||||
$state-success-text: #3c763d;
|
||||
$state-success-bg: #dff0d8;
|
||||
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%);
|
||||
|
||||
$state-info-text: $brand-info;
|
||||
$state-info-bg: darken($state-info-text, 50%);;
|
||||
$state-info-text: #31708f;
|
||||
$state-info-bg: #d9edf7;
|
||||
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%);
|
||||
|
||||
$state-warning-text: $brand-warning;
|
||||
$state-warning-bg: darken($state-warning-text, 50%);
|
||||
$state-warning-text: #8a6d3b;
|
||||
$state-warning-bg: #fcf8e3;
|
||||
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%);
|
||||
|
||||
$state-danger-text: $brand-danger;
|
||||
$state-danger-bg: darken($state-danger-text, 50%);
|
||||
$state-danger-text: #a94442;
|
||||
$state-danger-bg: #f2dede;
|
||||
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%);
|
||||
|
||||
|
||||
@ -512,9 +510,9 @@ $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%);
|
||||
//** Tooltip max width
|
||||
$tooltip-max-width: 200px;
|
||||
//** Tooltip text color
|
||||
$tooltip-color: $gray-base;
|
||||
$tooltip-color: #fff;
|
||||
//** Tooltip background color
|
||||
$tooltip-bg: lighten($body-bg, 25%);
|
||||
$tooltip-bg: #000;
|
||||
$tooltip-opacity: .9;
|
||||
|
||||
//** Tooltip arrow width
|
||||
@ -557,7 +555,7 @@ $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%
|
||||
//##
|
||||
|
||||
//** Default label background color
|
||||
$label-default-bg: lighten($body-bg, 15%);
|
||||
$label-default-bg: $gray-light;
|
||||
//** Primary label background color
|
||||
$label-primary-bg: $brand-primary;
|
||||
//** Success label background color
|
||||
@ -570,7 +568,7 @@ $label-warning-bg: $brand-warning;
|
||||
$label-danger-bg: $brand-danger;
|
||||
|
||||
//** Default label text color
|
||||
$label-color: $gray-lighter;
|
||||
$label-color: #fff;
|
||||
//** Default text color of a linked label
|
||||
$label-link-hover-color: #fff;
|
||||
|
||||
@ -588,18 +586,18 @@ $modal-title-padding: 15px;
|
||||
$modal-title-line-height: $line-height-base;
|
||||
|
||||
//** Background color of modal content area
|
||||
$modal-content-bg: lighten($body-bg, 15%);
|
||||
$modal-content-bg: #fff;
|
||||
//** Modal content border color
|
||||
$modal-content-border-color: $brand-primary;
|
||||
$modal-content-border-color: rgba(0,0,0,.2);
|
||||
//** Modal content border color **for IE8**
|
||||
$modal-content-fallback-border-color: $brand-info;
|
||||
$modal-content-fallback-border-color: #999;
|
||||
|
||||
//** Modal backdrop background color
|
||||
$modal-backdrop-bg: #000;
|
||||
//** Modal backdrop opacity
|
||||
$modal-backdrop-opacity: .4;
|
||||
$modal-backdrop-opacity: .5;
|
||||
//** Modal header border color
|
||||
$modal-header-border-color: $brand-primary;
|
||||
$modal-header-border-color: #e5e5e5;
|
||||
//** Modal footer border color
|
||||
$modal-footer-border-color: $modal-header-border-color;
|
||||
|
||||
@ -638,7 +636,7 @@ $alert-danger-border: $state-danger-border;
|
||||
//##
|
||||
|
||||
//** Background color of the whole progress component
|
||||
$progress-bg: lighten($body-bg, 15%);
|
||||
$progress-bg: #f5f5f5;
|
||||
//** Progress bar text color
|
||||
$progress-bar-color: #fff;
|
||||
//** Variable for setting rounded corners on progress bar.
|
||||
@ -661,54 +659,54 @@ $progress-bar-info-bg: $brand-info;
|
||||
//##
|
||||
|
||||
//** Background color on `.list-group-item`
|
||||
$list-group-bg: lighten($body-bg, 15%);
|
||||
$list-group-bg: #fff;
|
||||
//** `.list-group-item` border color
|
||||
$list-group-border: lighten($body-bg, 30%);
|
||||
$list-group-border: #ddd;
|
||||
//** List group border radius
|
||||
$list-group-border-radius: $border-radius-base;
|
||||
|
||||
//** Background color of single list items on hover
|
||||
$list-group-hover-bg: $gray-dark;
|
||||
$list-group-hover-bg: #f5f5f5;
|
||||
//** Text color of active list items
|
||||
$list-group-active-color: $gray-base;
|
||||
$list-group-active-color: $component-active-color;
|
||||
//** Background color of active list items
|
||||
$list-group-active-bg: $gray-darker;
|
||||
$list-group-active-bg: $component-active-bg;
|
||||
//** Border color of active list elements
|
||||
$list-group-active-border: $list-group-active-bg;
|
||||
//** Text color for content within active list items
|
||||
$list-group-active-text-color: lighten($list-group-active-bg, 40%);
|
||||
|
||||
//** Text color of disabled list items
|
||||
$list-group-disabled-color: $gray-darker;
|
||||
$list-group-disabled-color: $gray-light;
|
||||
//** Background color of disabled list items
|
||||
$list-group-disabled-bg: $gray-lighter;
|
||||
//** Text color for content within disabled list items
|
||||
$list-group-disabled-text-color: $list-group-disabled-color;
|
||||
|
||||
$list-group-link-color: $brand-primary;
|
||||
$list-group-link-color: #555;
|
||||
$list-group-link-hover-color: $list-group-link-color;
|
||||
$list-group-link-heading-color: $gray-base;
|
||||
$list-group-link-heading-color: #333;
|
||||
|
||||
|
||||
//== Panels
|
||||
//
|
||||
//##
|
||||
|
||||
$panel-bg: lighten($body-bg, 15%);
|
||||
$panel-bg: #fff;
|
||||
$panel-body-padding: 15px;
|
||||
$panel-heading-padding: 10px 15px;
|
||||
$panel-footer-padding: $panel-heading-padding;
|
||||
$panel-border-radius: $border-radius-base;
|
||||
|
||||
//** Border color for elements within panels
|
||||
$panel-inner-border: $brand-primary;
|
||||
$panel-footer-bg: lighten($body-bg,5%);
|
||||
$panel-inner-border: #ddd;
|
||||
$panel-footer-bg: #f5f5f5;
|
||||
|
||||
$panel-default-text: $gray-lighter;
|
||||
$panel-default-border: $brand-primary;
|
||||
$panel-default-heading-bg: lighten($body-bg, 45%);
|
||||
$panel-default-text: $gray-dark;
|
||||
$panel-default-border: #ddd;
|
||||
$panel-default-heading-bg: #f5f5f5;
|
||||
|
||||
$panel-primary-text: $gray-lighter;
|
||||
$panel-primary-text: #fff;
|
||||
$panel-primary-border: $brand-primary;
|
||||
$panel-primary-heading-bg: $brand-primary;
|
||||
|
||||
@ -752,7 +750,7 @@ $thumbnail-caption-padding: 9px;
|
||||
//
|
||||
//##
|
||||
|
||||
$well-bg: lighten($body-bg, 15%);
|
||||
$well-bg: #f5f5f5;
|
||||
$well-border: darken($well-bg, 7%);
|
||||
|
||||
|
||||
@ -782,13 +780,13 @@ $badge-border-radius: 10px;
|
||||
$breadcrumb-padding-vertical: 8px;
|
||||
$breadcrumb-padding-horizontal: 15px;
|
||||
//** Breadcrumb background color
|
||||
$breadcrumb-bg: $body-bg;
|
||||
$breadcrumb-bg: #f5f5f5;
|
||||
//** Breadcrumb text color
|
||||
$breadcrumb-color: #ccc;
|
||||
//** Text color of current page in the breadcrumb
|
||||
$breadcrumb-active-color: $gray-light;
|
||||
//** Textual separator for between breadcrumb elements
|
||||
$breadcrumb-separator: "/ ";
|
||||
$breadcrumb-separator: "/";
|
||||
|
||||
|
||||
//== Carousel
|
||||
@ -856,4 +854,4 @@ $page-header-border-color: $gray-lighter;
|
||||
//** Width of horizontal description list titles
|
||||
$dl-horizontal-offset: $component-offset-horizontal;
|
||||
//** Horizontal line color.
|
||||
$hr-border: $gray-lighter;
|
||||
$hr-border: $gray-lighter;
|
||||
|
@ -1,7 +1,15 @@
|
||||
// Widgets
|
||||
|
||||
$widget-head-bg-start: darken($body-bg, 10%);
|
||||
$widget-head-bg-end: darken($body-bg, 15%);
|
||||
|
||||
$widget-body-bg: darken($body-bg, 5%);
|
||||
$widget-border-color: darken($body-bg, 25%);
|
||||
|
||||
|
||||
.widget {
|
||||
background: #fff;
|
||||
border: 1px solid $uds-background-color-light;
|
||||
background: $widget-body-bg;
|
||||
border: 1px solid $widget-border-color;
|
||||
margin: 0 auto 20px;
|
||||
position: static;
|
||||
|
||||
@ -10,15 +18,15 @@
|
||||
}
|
||||
|
||||
.widget-head {
|
||||
background-color: $uds-background-color;
|
||||
background-image: linear-gradient(to bottom, $uds-background-color, $uds-background-color);
|
||||
background-image: -moz-linear-gradient(top, $uds-background-color, $uds-background-color);
|
||||
background-image: -o-linear-gradient(top, $uds-background-color, $uds-background-color);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($uds-background-color), to($uds-background-color));
|
||||
background-image: -webkit-linear-gradient(top, $uds-background-color, $uds-background-color);
|
||||
background-color: $widget-head-bg-start;
|
||||
background-image: linear-gradient(to bottom, $widget-head-bg-start, $widget-head-bg-end);
|
||||
background-image: -moz-linear-gradient(top, $widget-head-bg-start, $widget-head-bg-end);
|
||||
background-image: -o-linear-gradient(top, $widget-head-bg-start, $widget-head-bg-end);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($widget-head-bg-start), to($widget-head-bg-end));
|
||||
background-image: -webkit-linear-gradient(top, $widget-head-bg-start, $widget-head-bg-end);
|
||||
background-repeat: repeat-x;
|
||||
border-bottom: 1px solid #434857;
|
||||
color: $uds-foreground-color;
|
||||
color: $text-color;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
padding: 0 15px 0 0;
|
||||
@ -49,7 +57,7 @@
|
||||
}
|
||||
|
||||
.heading {
|
||||
color: $uds-foreground-color;
|
||||
color: $text-color;
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
height: 40px;
|
||||
@ -85,37 +93,37 @@
|
||||
|
||||
.dropdown-menu li > a {
|
||||
&:hover, &:focus {
|
||||
background-color: $uds-background-color;
|
||||
background-image: linear-gradient(to bottom, $uds-background-color, #d24343);
|
||||
background-image: -moz-linear-gradient(top, $uds-background-color, #d24343);
|
||||
background-image: -o-linear-gradient(top, $uds-background-color, #d24343);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($uds-background-color), to(#d24343));
|
||||
background-image: -webkit-linear-gradient(top, $uds-background-color, #d24343);
|
||||
background-color: $body-bg;
|
||||
background-image: linear-gradient(to bottom, $body-bg, #d24343);
|
||||
background-image: -moz-linear-gradient(top, $body-bg, #d24343);
|
||||
background-image: -o-linear-gradient(top, $body-bg, #d24343);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($body-bg), to(#d24343));
|
||||
background-image: -webkit-linear-gradient(top, $body-bg, #d24343);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffda4c4c', endColorstr='#ffd24343', GradientType=0);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-submenu:hover > a {
|
||||
background-color: $uds-background-color;
|
||||
background-image: linear-gradient(to bottom, $uds-background-color, #d24343);
|
||||
background-image: -moz-linear-gradient(top, $uds-background-color, #d24343);
|
||||
background-image: -o-linear-gradient(top, $uds-background-color, #d24343);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($uds-background-color), to(#d24343));
|
||||
background-image: -webkit-linear-gradient(top, $uds-background-color, #d24343);
|
||||
background-color: $body-bg;
|
||||
background-image: linear-gradient(to bottom, $body-bg, #d24343);
|
||||
background-image: -moz-linear-gradient(top, $body-bg, #d24343);
|
||||
background-image: -o-linear-gradient(top, $body-bg, #d24343);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($body-bg), to(#d24343));
|
||||
background-image: -webkit-linear-gradient(top, $body-bg, #d24343);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffda4c4c', endColorstr='#ffd24343', GradientType=0);
|
||||
}
|
||||
}
|
||||
|
||||
.details {
|
||||
color: $uds-foreground-color;
|
||||
color: $text-color;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
.widget-body {
|
||||
padding: 20px 15px;
|
||||
background-color: $uds-background-color;
|
||||
background-color: $widget-body-bg;
|
||||
|
||||
form {
|
||||
margin: 0;
|
||||
@ -155,7 +163,7 @@
|
||||
}
|
||||
|
||||
.count {
|
||||
color: $uds-background-color;
|
||||
color: $body-bg;
|
||||
float: right;
|
||||
}
|
||||
|
||||
@ -221,14 +229,14 @@
|
||||
border-color: #dddddd;
|
||||
|
||||
i:before {
|
||||
background: $uds-background-color;
|
||||
background: $body-bg;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $uds-background-color;
|
||||
color: $body-bg;
|
||||
}
|
||||
}
|
||||
|
||||
@ -286,9 +294,9 @@
|
||||
}
|
||||
|
||||
.widget-footer {
|
||||
background: $uds-background-color;
|
||||
border-bottom: 1px solid $uds-background-color-light;
|
||||
border-top: 1px solid $uds-background-color-light;
|
||||
background: $body-bg;
|
||||
border-bottom: 1px solid $body-bg;
|
||||
border-top: 1px solid $body-bg;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
|
||||
@ -343,7 +351,7 @@
|
||||
}
|
||||
|
||||
&.widget-body-white .widget-body {
|
||||
background: $uds-background-color;
|
||||
background: $body-bg;
|
||||
}
|
||||
}
|
||||
|
||||
|
4
server/templates/admin/app/css/font-awesome.min.css
vendored
Normal file
4
server/templates/admin/app/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1,15 +1,8 @@
|
||||
// Own variables
|
||||
$sidebar-size: 225px;
|
||||
$sidebar-size-collapsed: 40px;
|
||||
$sidebar-size: 90px; // 225 px
|
||||
$sidebar-size-collapsed: 90px; // 40px;
|
||||
$sidebar-top: 50px;
|
||||
|
||||
$uds-background-color: #252830;
|
||||
$uds-background-color-light: #434857;
|
||||
$uds-background-color-lighter: #444444;
|
||||
$uds-foreground-color: #ffffff;
|
||||
|
||||
$uds-color-blue: #1CA8DD;
|
||||
$uds-color-blue-dark: #165B75;
|
||||
|
||||
$uds-panel-min-height: 500px;
|
||||
|
||||
@ -39,7 +32,7 @@ $icon-font-path: "../fonts/";
|
||||
|
||||
body {
|
||||
font-family: 'Droid Sans Mono', sans-serif;
|
||||
background-color: $uds-background-color;
|
||||
background-color: $body-bg;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
@ -142,12 +135,13 @@ body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* Edit Below to Customize Widths > 768px */
|
||||
@media (min-width: 768px) {
|
||||
/* Wrappers */
|
||||
|
||||
#wrapper {
|
||||
padding-left: 64px;
|
||||
padding-left: $sidebar-size;
|
||||
}
|
||||
|
||||
#page-wrapper {
|
||||
@ -201,8 +195,22 @@ body {
|
||||
}
|
||||
|
||||
> a {
|
||||
width: $sidebar-size;
|
||||
border-bottom: 1px solid darken($body-bg, 50%);
|
||||
color: $text-color;
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
min-height: 60px;
|
||||
padding-top: 12px;
|
||||
text-align: center;
|
||||
width: $sidebar-size-collapsed;
|
||||
> img {
|
||||
min-width: 32px;
|
||||
}
|
||||
|
||||
}
|
||||
/* > a {
|
||||
width: $sidebar-size;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
@ -225,5 +233,6 @@ body {
|
||||
|
||||
@import "_theme";
|
||||
@import "_widgets";
|
||||
@import "_buttons";
|
||||
//@import "_data-tables";
|
||||
@import "_tables";
|
||||
|
File diff suppressed because it is too large
Load Diff
1548
server/templates/admin/app/index_all.html
Normal file
1548
server/templates/admin/app/index_all.html
Normal file
File diff suppressed because it is too large
Load Diff
@ -28,5 +28,38 @@ $(function(){
|
||||
$('#table1').DataTable(options);
|
||||
$('#table2').DataTable(options);
|
||||
|
||||
$('.table-tbar').html('<div style="float: left;"><div class="dropdown"><button class="btn btn-primary btn-tables dropdown-toggle" type="button" data-toggle="dropdown"> <span class="fa fa-pencil"></span> <span class="label-tbl-button">Nuevo</span> <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" aria-labelledby=""> <li role="presentation"><a data-original-title="Proporciona conexión a los Servicios del Centro Virtual" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="PhysicalMachinesServiceProvider"><span class="provi-PhysicalMachinesServiceProvider"></span> Physical Machines Provider</a></li> <li role="presentation"><a data-original-title="Proveedor de servicios de muestra (y simulado)" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="SampleProvider"><span class="provi-SampleProvider"></span> Proveedor de muestra</a></li> <li role="presentation"><a data-original-title="Proveedor de servicios de plataforma HyperV (experimental)" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="HyperVPlatform"><span class="provi-HyperVPlatform"></span> Proveedor de Plataforma HyperV (experimental)</a></li> <li role="presentation"><a data-original-title="Proveedor de servicios de plataforma XenServer" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="XenPlatform"><span class="provi-XenPlatform"></span> Proveedor de Plataforma XenServer</a></li> <li role="presentation"><a data-original-title="Proveedor de servicios para la plataforma oVirt" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="oVirtPlatform"><span class="provi-oVirtPlatform"></span> Proveedor de Plataformas oVirt/RHEV </a></li> <li role="presentation"><a data-original-title="Proveedor de servicios de prueba (y simulado)" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="TestProvider"><span class="provi-TestProvider"></span> Proveedor de prueba</a></li> <li role="presentation"><a data-original-title="Proveedor de Microsoft basado en RDS " role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="RDSProvider"><span class="provi-RDSProvider"></span> Proveedor de RDS (Experimental)</a></li> <li role="presentation"><a data-original-title="Proporciona conexión a los Servicios del Centro Virtual" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="VmwareVCServiceProvider"><span class="provi-VmwareVCServiceProvider"></span> Proveedor de VMWare Virtual Center </a></li> <li role="presentation"><a data-original-title="Proveedor Nutanix basado en MV" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="NutanixProvider"><span class="provi-NutanixProvider"></span> Proveedor Nutanix Acrópolis (Experimental)</a></li> </ul></div></div><button id="btn2265627877000671" class="btn btn-default btn-tables btn-success"><span class="fa fa-edit"></span> <span class="label-tbl-button">Editar</span></button><button id="btn7116895133755943" class="btn btn-default btn-tables btn-warning"><div>Entrar en modo mantenimiento</div></button><button id="btn9877117224970206" class="btn btn-default btn-tables btn-danger"><span class="fa fa-trash-o"></span> <span class="label-tbl-button">Borrar</span></button><button id="btn06863313201655186" class="btn btn-info btn-tables"><span class="fa fa-save"></span> <span class="label-tbl-button">Xls</span></button><button id="btn6091545362597098" class="btn btn-default btn-tables btn-success"><span class="fa fa-save"></span> <span class="label-tbl-button">Permisos</span></button>')
|
||||
$('.table-tbar').html(
|
||||
'<div style="float: left;">' +
|
||||
' <div class="dropdown">' +
|
||||
' <button class="btn btn-action btn-tables dropdown-toggle" type="button" data-toggle="dropdown">' +
|
||||
' <span class="fa fa-pencil"></span> <span class="label-tbl-button">Nuevo</span> <span class="caret"></span>' +
|
||||
' </button>' +
|
||||
' <ul class="dropdown-menu" role="menu" aria-labelledby="">' +
|
||||
' <li role="presentation"><a data-original-title="Proporciona conexión a los Servicios del Centro Virtual" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="PhysicalMachinesServiceProvider"><span class="provi-PhysicalMachinesServiceProvider"></span> Physical Machines Provider</a></li>' +
|
||||
' <li role="presentation"><a data-original-title="Proveedor de servicios de muestra (y simulado)" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="SampleProvider"><span class="provi-SampleProvider"></span> Proveedor de muestra</a></li>' +
|
||||
' <li role="presentation"><a data-original-title="Proveedor de servicios de plataforma HyperV (experimental)" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="HyperVPlatform"><span class="provi-HyperVPlatform"></span> Proveedor de Plataforma HyperV (experimental)</a></li>' +
|
||||
' <li role="presentation"><a data-original-title="Proveedor de servicios de plataforma XenServer" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="XenPlatform"><span class="provi-XenPlatform"></span> Proveedor de Plataforma XenServer</a></li>' +
|
||||
' <li role="presentation"><a data-original-title="Proveedor de servicios para la plataforma oVirt" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="oVirtPlatform"><span class="provi-oVirtPlatform"></span> Proveedor de Plataformas oVirt/RHEV </a></li>' +
|
||||
' <li role="presentation"><a data-original-title="Proveedor de servicios de prueba (y simulado)" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="TestProvider"><span class="provi-TestProvider"></span> Proveedor de prueba</a></li>' +
|
||||
' <li role="presentation"><a data-original-title="Proveedor de Microsoft basado en RDS " role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="RDSProvider"><span class="provi-RDSProvider"></span> Proveedor de RDS (Experimental)</a></li>' +
|
||||
' <li role="presentation"><a data-original-title="Proporciona conexión a los Servicios del Centro Virtual" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="VmwareVCServiceProvider"><span class="provi-VmwareVCServiceProvider"></span> Proveedor de VMWare Virtual Center </a></li>'+
|
||||
' <li role="presentation"><a data-original-title="Proveedor Nutanix basado en MV" role="menuitem" tabindex="-1" data-toggle="tooltip" title="" href="#" data-type="NutanixProvider"><span class="provi-NutanixProvider"></span> Proveedor Nutanix Acrópolis (Experimental)</a></li>'+
|
||||
' </ul>'+
|
||||
' </div>'+
|
||||
'</div>'+
|
||||
'<button id="btn2265627877000671" class="btn btn-tables btn-action">'+
|
||||
' <span class="fa fa-edit"></span> <span class="label-tbl-button">Editar</span>'+
|
||||
'</button>'+
|
||||
'<button id="btn7116895133755943" class="btn btn-tables btn-action">'+
|
||||
' <div>Entrar en modo mantenimiento</div>'+
|
||||
'</button>' +
|
||||
'<button id="btn9877117224970206" class="btn btn-tables btn-alert">'+
|
||||
' <span class="fa fa-trash-o"></span> Borrar'+
|
||||
'</button>'+
|
||||
'<button id="btn06863313201655186" class="btn btn-tables btn-export disabled" disabled="true">'+
|
||||
' <span class="fa fa-save"></span> <span class="label-tbl-button">Xls</span>'+
|
||||
'</button>'+
|
||||
'<button id="btn6091545362597098" class="btn btn-tables btn-action">'+
|
||||
' <span class="fa fa-save"></span> <span class="label-tbl-button">Permisos</span>'+
|
||||
'</button>')
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user