first commit
This commit is contained in:
90
libraries/framework/skin/base/alerts.less
Normal file
90
libraries/framework/skin/base/alerts.less
Normal file
@@ -0,0 +1,90 @@
|
||||
/*==================================================
|
||||
Alerts
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Base styles
|
||||
// -------------------------
|
||||
|
||||
.alert {
|
||||
color: @white;
|
||||
font-size: @alert-font-size;
|
||||
padding: @alert-padding;
|
||||
margin-bottom: @line-height-computed;
|
||||
border: 1px solid rgba(0,0,0,0.1);
|
||||
border-radius: @alert-border-radius;
|
||||
|
||||
// Adjust close link position
|
||||
.close {
|
||||
color: @text-color;
|
||||
&:hover {
|
||||
color: @text-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Divider
|
||||
hr {
|
||||
border-top-color: rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
// Headings for larger alerts
|
||||
h4 {
|
||||
margin-top: 0;
|
||||
// Specified for the h4 to prevent conflicts of changing @headings-color
|
||||
color: inherit;
|
||||
}
|
||||
// Provide class for links that match alerts
|
||||
.alert-link {
|
||||
color: @white;
|
||||
font-weight: @alert-link-font-weight;
|
||||
}
|
||||
|
||||
// Improve alignment and spacing of inner content
|
||||
> p,
|
||||
> ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
> p + p {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
// Alert sizes
|
||||
&.alert-micro,.alert-sm {
|
||||
font-size: 13px;
|
||||
padding: 9px 35px 9px 9px;
|
||||
border-radius: 0;
|
||||
}
|
||||
&.alert-sm { padding: 12px 35px 12px 12px; }
|
||||
|
||||
// Border variations - options
|
||||
&.alert-border { border: 1px solid transparent; }
|
||||
&.alert-border-right { border-right-width: 6px; }
|
||||
&.alert-border-top { border-top-width: 3px; }
|
||||
&.alert-border-bottom { border-bottom-width: 3px; }
|
||||
&.alert-border-left {
|
||||
padding-left: 15px;
|
||||
border-left-width: 6px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Dismissible alerts
|
||||
//
|
||||
// Expand the right padding and account for the close button's positioning.
|
||||
.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
|
||||
.alert-dismissible {
|
||||
padding-right: (@alert-padding + 20);
|
||||
|
||||
// Adjust close link position
|
||||
.close {
|
||||
position: relative;
|
||||
right: -21px;
|
||||
color: #FFF;
|
||||
opacity: 0.3;
|
||||
|
||||
&:hover {
|
||||
color: #FFF;
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
1375
libraries/framework/skin/base/animate.less
vendored
Normal file
1375
libraries/framework/skin/base/animate.less
vendored
Normal file
File diff suppressed because it is too large
Load Diff
59
libraries/framework/skin/base/backgrounds.less
Normal file
59
libraries/framework/skin/base/backgrounds.less
Normal file
@@ -0,0 +1,59 @@
|
||||
/*==================================================
|
||||
Background Options
|
||||
==================================================== */
|
||||
// transparent bg
|
||||
.bg-tp {
|
||||
background-color: rgba(0,0,0, 0.5) !important;
|
||||
}
|
||||
|
||||
// BG gradient setting
|
||||
.bg-gradient {
|
||||
border-color: rgba(0, 0, 0, 0.07) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.18);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
|
||||
background-repeat: repeat-x;
|
||||
background-image: -webkit-linear-gradient(top, rgba(255,255,255, 0.30) 1%,rgba(255,255,255,0.15) 100%);
|
||||
background-image: linear-gradient(to bottom, rgba(255,255,255, 0.30) 1%,rgba(255,255,255,0.15) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff',endColorstr='#00ffffff',GradientType=0);
|
||||
}
|
||||
|
||||
//
|
||||
// Background Images
|
||||
// --------------------------------------------------
|
||||
|
||||
.bg-background {
|
||||
z-index: 0;
|
||||
color: #FFF;
|
||||
position: relative;
|
||||
|
||||
&.bg-topbar {
|
||||
background: url("@{img-path}/patterns/topbar-bg.jpg") no-repeat center left;
|
||||
}
|
||||
&.bg-topbar2 {
|
||||
background: url("@{img-path}/patterns/topbar-bg2.jpg") no-repeat center left;
|
||||
}
|
||||
&.bg-topbar3 {
|
||||
background: url("@{img-path}/patterns/topbar-bg3.jpg") no-repeat center left;
|
||||
}
|
||||
|
||||
&.bg-psuedo-tp:before,
|
||||
&.bg-psuedo-tp-dark:before,
|
||||
&.bg-psuedo-tp-light:before {
|
||||
z-index: -1;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0,0,0,0.4);
|
||||
}
|
||||
&.bg-psuedo-tp-dark:before {
|
||||
background: rgba(0,0,0,0.6);
|
||||
}
|
||||
&.bg-psuedo-tp-light:before {
|
||||
background: rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
54
libraries/framework/skin/base/badges.less
Normal file
54
libraries/framework/skin/base/badges.less
Normal file
@@ -0,0 +1,54 @@
|
||||
/*==================================================
|
||||
Badges
|
||||
==================================================== */
|
||||
|
||||
// Base class
|
||||
.badge {
|
||||
display: inline-block;
|
||||
min-width: 10px;
|
||||
padding: 3px 7px;
|
||||
font-size: @badge-font-size;
|
||||
font-weight: @badge-font-weight;
|
||||
color: @badge-color;
|
||||
line-height: @badge-line-height;
|
||||
vertical-align: baseline;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
background-color: @badge-bg;
|
||||
border-radius: @badge-border-radius;
|
||||
|
||||
// Empty badges collapse automatically (not available in IE8)
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Quick fix for badges in buttons
|
||||
.btn & {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
.btn-xs & {
|
||||
top: 0;
|
||||
padding: 1px 5px;
|
||||
}
|
||||
|
||||
// Hover state, but only for links
|
||||
a& {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @badge-link-hover-color;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// Account for badges in navs
|
||||
a.list-group-item.active > &,
|
||||
.nav-pills > .active > a > & {
|
||||
color: @badge-active-color;
|
||||
background-color: @badge-active-bg;
|
||||
}
|
||||
.nav-pills > li > a > & {
|
||||
margin-left: 3px;
|
||||
}
|
||||
}
|
||||
26
libraries/framework/skin/base/breadcrumbs.less
Normal file
26
libraries/framework/skin/base/breadcrumbs.less
Normal file
@@ -0,0 +1,26 @@
|
||||
/*==================================================
|
||||
Breadcrumbs
|
||||
==================================================== */
|
||||
|
||||
|
||||
.breadcrumb {
|
||||
padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;
|
||||
margin-bottom: @line-height-computed;
|
||||
list-style: none;
|
||||
background-color: @breadcrumb-bg;
|
||||
border-radius: @border-radius-base;
|
||||
|
||||
> li {
|
||||
display: inline-block;
|
||||
|
||||
+ li:before {
|
||||
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
||||
padding: 0 5px;
|
||||
color: @breadcrumb-color;
|
||||
}
|
||||
}
|
||||
|
||||
> .active {
|
||||
color: @breadcrumb-active-color;
|
||||
}
|
||||
}
|
||||
241
libraries/framework/skin/base/button-groups.less
Normal file
241
libraries/framework/skin/base/button-groups.less
Normal file
@@ -0,0 +1,241 @@
|
||||
/*==================================================
|
||||
Button Groups
|
||||
==================================================== */
|
||||
|
||||
// Make the div behave like a button
|
||||
.btn-group,
|
||||
.btn-group-vertical {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle; // match .btn alignment given font-size hack above
|
||||
> .btn {
|
||||
position: relative;
|
||||
float: left;
|
||||
// Bring the "active" button to the front
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active {
|
||||
z-index: 2;
|
||||
}
|
||||
&:focus {
|
||||
// Remove focus outline when dropdown JS adds it after closing the menu
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Prevent double borders when buttons are next to each other
|
||||
.btn-group {
|
||||
.btn + .btn,
|
||||
.btn + .btn-group,
|
||||
.btn-group + .btn,
|
||||
.btn-group + .btn-group {
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
// Optional: Group multiple button groups together for a toolbar
|
||||
.btn-toolbar {
|
||||
margin-left: -5px; // Offset the first child's margin
|
||||
&:extend(.clearfix all);
|
||||
|
||||
.btn-group,
|
||||
.input-group {
|
||||
float: left;
|
||||
}
|
||||
> .btn,
|
||||
> .btn-group,
|
||||
> .input-group {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
||||
.btn-group > .btn:first-child {
|
||||
margin-left: 0;
|
||||
&:not(:last-child):not(.dropdown-toggle) {
|
||||
.border-right-radius(0);
|
||||
}
|
||||
}
|
||||
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
||||
.btn-group > .btn:last-child:not(:first-child),
|
||||
.btn-group > .dropdown-toggle:not(:first-child) {
|
||||
.border-left-radius(0);
|
||||
}
|
||||
|
||||
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
||||
.btn-group > .btn-group {
|
||||
float: left;
|
||||
}
|
||||
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||
border-radius: 0;
|
||||
}
|
||||
.btn-group > .btn-group:first-child {
|
||||
> .btn:last-child,
|
||||
> .dropdown-toggle {
|
||||
.border-right-radius(0);
|
||||
}
|
||||
}
|
||||
.btn-group > .btn-group:last-child > .btn:first-child {
|
||||
.border-left-radius(0);
|
||||
}
|
||||
|
||||
// On active and open, don't show outline
|
||||
.btn-group .dropdown-toggle:active,
|
||||
.btn-group.open .dropdown-toggle {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
// Sizing
|
||||
//
|
||||
// Remix the default button sizing classes into new ones for easier manipulation.
|
||||
|
||||
.btn-group-xs > .btn { &:extend(.btn-xs); }
|
||||
.btn-group-sm > .btn { &:extend(.btn-sm); }
|
||||
.btn-group-lg > .btn { &:extend(.btn-lg); }
|
||||
|
||||
|
||||
// Split button dropdowns
|
||||
// ----------------------
|
||||
|
||||
// Give the line between buttons some depth
|
||||
.btn-group > .btn + .dropdown-toggle {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
border-left: 1px solid rgba(0, 0, 0, 0.12); // required as btn borders were removed
|
||||
}
|
||||
.btn-group > .btn-lg + .dropdown-toggle {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
// The clickable button for toggling the menu
|
||||
// Remove the gradient and set the same inset shadow as the :active state
|
||||
.btn-group.open .dropdown-toggle {
|
||||
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
||||
|
||||
// Show no shadow for `.btn-link` since it has no other button styles.
|
||||
&.btn-link {
|
||||
.box-shadow(none);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Reposition the caret
|
||||
.btn .caret {
|
||||
margin-left: 0;
|
||||
}
|
||||
// Carets in other button sizes
|
||||
.btn-lg .caret {
|
||||
border-width: @caret-width-large @caret-width-large 0;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
// Upside down carets for .dropup
|
||||
.dropup .btn-lg .caret {
|
||||
border-width: 0 @caret-width-large @caret-width-large;
|
||||
}
|
||||
|
||||
|
||||
// Vertical button groups
|
||||
// ----------------------
|
||||
|
||||
.btn-group-vertical {
|
||||
> .btn,
|
||||
> .btn-group,
|
||||
> .btn-group > .btn {
|
||||
display: block;
|
||||
float: none;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
// Clear floats so dropdown menus can be properly placed
|
||||
> .btn-group {
|
||||
&:extend(.clearfix all);
|
||||
> .btn {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
> .btn + .btn,
|
||||
> .btn + .btn-group,
|
||||
> .btn-group + .btn,
|
||||
> .btn-group + .btn-group {
|
||||
margin-top: -1px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-group-vertical > .btn {
|
||||
&:not(:first-child):not(:last-child) {
|
||||
border-radius: 0;
|
||||
}
|
||||
&:first-child:not(:last-child) {
|
||||
border-top-right-radius: @border-radius-base;
|
||||
.border-bottom-radius(0);
|
||||
}
|
||||
&:last-child:not(:first-child) {
|
||||
border-bottom-left-radius: @border-radius-base;
|
||||
.border-top-radius(0);
|
||||
}
|
||||
}
|
||||
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||
border-radius: 0;
|
||||
}
|
||||
.btn-group-vertical > .btn-group:first-child:not(:last-child) {
|
||||
> .btn:last-child,
|
||||
> .dropdown-toggle {
|
||||
.border-bottom-radius(0);
|
||||
}
|
||||
}
|
||||
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
||||
.border-top-radius(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Justified button groups
|
||||
// ----------------------
|
||||
|
||||
.btn-group-justified {
|
||||
display: table;
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
border-collapse: separate;
|
||||
> .btn,
|
||||
> .btn-group {
|
||||
float: none;
|
||||
display: table-cell;
|
||||
width: 1%;
|
||||
}
|
||||
> .btn-group .btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
> .btn-group .dropdown-menu {
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Checkbox and radio options
|
||||
//
|
||||
// In order to support the browser's form validation feedback, powered by the
|
||||
// `required` attribute, we have to "hide" the inputs via `opacity`. We cannot
|
||||
// use `display: none;` or `visibility: hidden;` as that also hides the popover.
|
||||
// This way, we ensure a DOM element is visible to position the popover from.
|
||||
//
|
||||
// See https://github.com/twbs/bootstrap/pull/12794 for more.
|
||||
|
||||
[data-toggle="buttons"] > .btn > input[type="radio"],
|
||||
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
.opacity(0);
|
||||
}
|
||||
249
libraries/framework/skin/base/buttons.less
Normal file
249
libraries/framework/skin/base/buttons.less
Normal file
@@ -0,0 +1,249 @@
|
||||
/*==================================================
|
||||
Buttons
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Base styles
|
||||
// --------------------------------------------------
|
||||
.btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 0; // For input.btn
|
||||
font-weight: @btn-font-weight;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
||||
border: 1px solid transparent;
|
||||
border-color: rgba(0, 0, 0, 0.0);
|
||||
white-space: nowrap;
|
||||
.button-size(@padding-base-vertical;
|
||||
@padding-base-horizontal;
|
||||
@font-size-base;
|
||||
@line-height-base;
|
||||
@border-radius-small);
|
||||
.user-select(none);
|
||||
&, &:active, &.active {
|
||||
&:focus {
|
||||
.tab-focus();
|
||||
}
|
||||
}
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @btn-default-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
&:active,
|
||||
&.active {
|
||||
outline: 0;
|
||||
background-image: none;
|
||||
.box-shadow(inset 0 3px 5px rgba(0, 0, 0, .125));
|
||||
}
|
||||
&.disabled,
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
cursor: not-allowed;
|
||||
pointer-events: none; // Future-proof disabling of clicks
|
||||
.opacity(.65);
|
||||
.box-shadow(none);
|
||||
}
|
||||
&.btn-gradient {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
||||
border-color: rgba(0, 0, 0, 0.07) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.18);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||
background-repeat: repeat-x;
|
||||
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 1%, rgba(255, 255, 255, 0.15) 100%);
|
||||
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 1%, rgba(255, 255, 255, 0.15) 100%);
|
||||
// filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0);
|
||||
}
|
||||
&.btn-rounded {
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Link buttons
|
||||
// -------------------------
|
||||
// Make a button look and behave like a link
|
||||
.btn-link {
|
||||
color: @link-color;
|
||||
font-weight: normal;
|
||||
cursor: pointer;
|
||||
border-radius: 0;
|
||||
&, &:active, &[disabled], fieldset[disabled] & {
|
||||
background-color: transparent;
|
||||
.box-shadow(none);
|
||||
}
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
border-color: transparent;
|
||||
}
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @link-hover-color;
|
||||
text-decoration: underline;
|
||||
background-color: transparent;
|
||||
}
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&:hover, &:focus {
|
||||
color: @btn-link-disabled-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Button Sizes
|
||||
// --------------------------------------------------
|
||||
.btn-lg {
|
||||
// line-height: ensure even-numbered height of button next to large input
|
||||
.button-size(@padding-large-vertical;
|
||||
@padding-large-horizontal;
|
||||
@font-size-large;
|
||||
@line-height-large;
|
||||
@border-radius-large);
|
||||
}
|
||||
.btn-sm {
|
||||
// line-height: ensure proper height of button next to small input
|
||||
.button-size(@padding-small-vertical;
|
||||
@padding-small-horizontal;
|
||||
@font-size-small;
|
||||
@line-height-small;
|
||||
@border-radius-small);
|
||||
}
|
||||
.btn-xs {
|
||||
.button-size(@padding-xs-vertical;
|
||||
@padding-xs-horizontal;
|
||||
@font-size-small;
|
||||
@line-height-small;
|
||||
@border-radius-small);
|
||||
}
|
||||
|
||||
|
||||
// Block button
|
||||
// --------------------------------------------------
|
||||
.btn-block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
// Vertically space out multiple block buttons
|
||||
.btn-block + .btn-block {
|
||||
margin-top: 5px;
|
||||
}
|
||||
// Specificity overrides
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"] {
|
||||
&.btn-block {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Alt Btns - white buttons with thick left border
|
||||
// --------------------------------------------------
|
||||
// default alt btns
|
||||
.btn.btn-alt {
|
||||
position: relative;
|
||||
padding: 7px 11px;
|
||||
margin: 5px 3px;
|
||||
color: #999;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
background-color: #fbfbfb;
|
||||
border-radius: 1px;
|
||||
border: 1px solid #EEE;
|
||||
border-left: 4px solid #EEE;
|
||||
-webkit-transition: opacity 0.1s ease;
|
||||
transition: opacity 0.1s ease;
|
||||
}
|
||||
.btn.btn-alt.item-active,
|
||||
.btn.btn-alt:hover,
|
||||
.btn.btn-alt:focus {
|
||||
color: #666 !important;
|
||||
background-color: #fefefe !important;
|
||||
}
|
||||
// alt btns with gradient (set via .btn-gradient)
|
||||
.btn.btn-alt.btn-gradient {
|
||||
background-color: #f0f0f0;
|
||||
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||
background-repeat: repeat-x;
|
||||
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.3) 100%);
|
||||
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.3) 100%);
|
||||
//filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0);
|
||||
border-color: rgba(0, 0, 0, 0.07) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.14);
|
||||
border-left: 4px solid #DDD;
|
||||
}
|
||||
.btn.btn-alt.btn-gradient:hover,
|
||||
.btn.btn-alt.btn-gradient:focus {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.btn.btn-alt.item-checked {
|
||||
opacity: 1;
|
||||
color: #666;
|
||||
border-left-color: @brand-success !important;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
|
||||
// Holder Style - applies a placeholder like style to the element
|
||||
// --------------------------------------------------
|
||||
.holder-style {
|
||||
display: block;
|
||||
padding: 9px 16px;
|
||||
color: #AAA;
|
||||
background-color: #f1f1f1;
|
||||
outline: 2px dashed #d9d9d9;
|
||||
border: 0;
|
||||
-webkit-transition: all 0.15s ease;
|
||||
-moz-transition: all 0.15s ease;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
// holder states
|
||||
.holder-style:hover,
|
||||
.holder-style:focus {
|
||||
cursor: pointer;
|
||||
color: #777;
|
||||
background-color: #EEE;
|
||||
outline: 2px dashed #aaa;
|
||||
border: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
// active holder item
|
||||
.holder-style.holder-active {
|
||||
background-color: #FFF;
|
||||
outline-color: @brand-success;
|
||||
}
|
||||
// holder icon
|
||||
.holder-style .holder-icon {
|
||||
color: #AAA;
|
||||
font-size: 30px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
// holder icon states and active
|
||||
.holder-style:hover .holder-icon,
|
||||
.holder-style:focus .holder-icon,
|
||||
.holder-style.holder-active .holder-icon {
|
||||
color: @brand-success;
|
||||
}
|
||||
|
||||
|
||||
// Button Hover Effects
|
||||
// ------------------------------------------------
|
||||
|
||||
// '.btn-dimmer' - Dims all child btn except active & :hover btns
|
||||
.btn-dimmer.btn,
|
||||
.btn-dimmer .btn {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.btn-dimmer.btn:hover,
|
||||
.btn-dimmer .btn:hover,
|
||||
.btn-dimmer.btn.item-active,
|
||||
.btn-dimmer .btn.item-active {
|
||||
opacity: 1;
|
||||
}
|
||||
243
libraries/framework/skin/base/carousel.less
Normal file
243
libraries/framework/skin/base/carousel.less
Normal file
@@ -0,0 +1,243 @@
|
||||
/*==================================================
|
||||
Carousel
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Wrapper for the slide container and indicators
|
||||
.carousel {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.carousel-inner {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
> .item {
|
||||
display: none;
|
||||
position: relative;
|
||||
.transition(.6s ease-in-out left);
|
||||
|
||||
// Account for jankitude on images
|
||||
> img,
|
||||
> a > img {
|
||||
&:extend(.img-responsive);
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
> .active,
|
||||
> .next,
|
||||
> .prev {
|
||||
display: block;
|
||||
}
|
||||
|
||||
> .active {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
> .next,
|
||||
> .prev {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
> .next {
|
||||
left: 100%;
|
||||
}
|
||||
> .prev {
|
||||
left: -100%;
|
||||
}
|
||||
> .next.left,
|
||||
> .prev.right {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
> .active.left {
|
||||
left: -100%;
|
||||
}
|
||||
> .active.right {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Left/right controls for nav
|
||||
// ---------------------------
|
||||
|
||||
.carousel-control {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: @carousel-control-width;
|
||||
.opacity(@carousel-control-opacity);
|
||||
font-size: @carousel-control-font-size;
|
||||
color: @carousel-control-color;
|
||||
text-align: center;
|
||||
text-shadow: @carousel-text-shadow;
|
||||
// We can't have this transition here because WebKit cancels the carousel
|
||||
// animation if you trip this while in the middle of another animation.
|
||||
|
||||
// Set gradients for backgrounds
|
||||
&.left {
|
||||
#gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
|
||||
}
|
||||
&.right {
|
||||
left: auto;
|
||||
right: 0;
|
||||
#gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
|
||||
}
|
||||
|
||||
// Hover/focus state
|
||||
&:hover,
|
||||
&:focus {
|
||||
outline: 0;
|
||||
color: @carousel-control-color;
|
||||
text-decoration: none;
|
||||
.opacity(.9);
|
||||
}
|
||||
|
||||
// Toggles
|
||||
.icon-prev,
|
||||
.icon-next,
|
||||
.glyphicon-chevron-left,
|
||||
.glyphicon-chevron-right {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: 5;
|
||||
display: inline-block;
|
||||
}
|
||||
.icon-prev,
|
||||
.glyphicon-chevron-left {
|
||||
left: 50%;
|
||||
margin-left: -10px;
|
||||
}
|
||||
.icon-next,
|
||||
.glyphicon-chevron-right {
|
||||
right: 50%;
|
||||
margin-right: -10px;
|
||||
}
|
||||
.icon-prev,
|
||||
.icon-next {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-top: -10px;
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
|
||||
.icon-prev {
|
||||
&:before {
|
||||
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
|
||||
}
|
||||
}
|
||||
.icon-next {
|
||||
&:before {
|
||||
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Optional indicator pips
|
||||
//
|
||||
// Add an unordered list with the following class and add a list item for each
|
||||
// slide your carousel holds.
|
||||
|
||||
.carousel-indicators {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 50%;
|
||||
z-index: 15;
|
||||
width: 60%;
|
||||
margin-left: -30%;
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
margin: 1px;
|
||||
text-indent: -999px;
|
||||
border: 1px solid @carousel-indicator-border-color;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
|
||||
// IE8-9 hack for event handling
|
||||
//
|
||||
// Internet Explorer 8-9 does not support clicks on elements without a set
|
||||
// `background-color`. We cannot use `filter` since that's not viewed as a
|
||||
// background color by the browser. Thus, a hack is needed.
|
||||
//
|
||||
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
||||
// set alpha transparency for the best results possible.
|
||||
background-color: #000 \9; // IE8
|
||||
background-color: rgba(0,0,0,0); // IE9
|
||||
}
|
||||
.active {
|
||||
margin: 0;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: @carousel-indicator-active-bg;
|
||||
}
|
||||
}
|
||||
|
||||
// Optional captions
|
||||
// -----------------------------
|
||||
// Hidden by default for smaller viewports
|
||||
.carousel-caption {
|
||||
position: absolute;
|
||||
left: 15%;
|
||||
right: 15%;
|
||||
bottom: 20px;
|
||||
z-index: 10;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
color: @carousel-caption-color;
|
||||
text-align: center;
|
||||
text-shadow: @carousel-text-shadow;
|
||||
& .btn {
|
||||
text-shadow: none; // No shadow for button elements in carousel-caption
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Scale up controls for tablets and up
|
||||
@media screen and (min-width: @screen-sm-min) {
|
||||
|
||||
// Scale up the controls a smidge
|
||||
.carousel-control {
|
||||
.glyphicon-chevron-left,
|
||||
.glyphicon-chevron-right,
|
||||
.icon-prev,
|
||||
.icon-next {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-top: -15px;
|
||||
font-size: 30px;
|
||||
}
|
||||
.glyphicon-chevron-left,
|
||||
.icon-prev {
|
||||
margin-left: -15px;
|
||||
}
|
||||
.glyphicon-chevron-right,
|
||||
.icon-next {
|
||||
margin-right: -15px;
|
||||
}
|
||||
}
|
||||
|
||||
// Show and left align the captions
|
||||
.carousel-caption {
|
||||
left: 20%;
|
||||
right: 20%;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
// Move up the indicators
|
||||
.carousel-indicators {
|
||||
bottom: 20px;
|
||||
}
|
||||
}
|
||||
135
libraries/framework/skin/base/checkboxes.less
Normal file
135
libraries/framework/skin/base/checkboxes.less
Normal file
@@ -0,0 +1,135 @@
|
||||
|
||||
/*==================================================
|
||||
Radios and Checkboxes
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Shared Radio/Checkbox Styles
|
||||
// --------------------------------------------
|
||||
.radio-custom,
|
||||
.checkbox-custom {
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
/* hide default input */
|
||||
.radio-custom input,
|
||||
.checkbox-custom input {
|
||||
display: none;
|
||||
}
|
||||
.checkbox-custom label:empty,
|
||||
.radio-custom label:empty {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
// Radios
|
||||
// --------------------------------------------
|
||||
|
||||
/* radio container */
|
||||
.radio-custom label {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
padding-left: 32px;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
/* radio border */
|
||||
.radio-custom label:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
border-radius: 64px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid #666;
|
||||
}
|
||||
/* check radio icon */
|
||||
.radio-custom input[type=radio]:checked + label:after,
|
||||
.radio-custom input[type=checkbox]:checked + label:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
border-radius: 64px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
color: #666;
|
||||
background-color: #666;
|
||||
}
|
||||
/* alt style - square */
|
||||
.radio-custom.square label:before { border-radius: 2px; }
|
||||
.radio-custom.square input[type=radio]:checked + label:after,
|
||||
.radio-custom.square input[type=checkbox]:checked + label:after { border-radius: 2px; }
|
||||
|
||||
|
||||
// Checkboxes
|
||||
// --------------------------------------------
|
||||
|
||||
/* checkbox container */
|
||||
.checkbox-custom label {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
padding-left: 32px;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
/* checkbox border */
|
||||
.checkbox-custom label:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 22px;
|
||||
height: 21px;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #666;
|
||||
border-width: 2px;
|
||||
border-radius: 1px;
|
||||
}
|
||||
/* checked state icon */
|
||||
.checkbox-custom input[type=checkbox]:checked + label:after,
|
||||
.checkbox-custom input[type=radio]:checked + label:after {
|
||||
position: absolute;
|
||||
font-family: "FontAwesome";
|
||||
content: "\f00c";
|
||||
font-size: 12px;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
transform: rotate(-13deg);
|
||||
}
|
||||
|
||||
/* alt style - filled bg ".fill" */
|
||||
.checkbox-custom.fill label {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
padding-left: 32px;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.checkbox-custom.fill label:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
border-radius: 2px;
|
||||
width: 22px;
|
||||
height: 21px;
|
||||
background-color: #666;
|
||||
}
|
||||
.checkbox-custom.fill input[type=checkbox]:checked + label:after,
|
||||
.checkbox-custom.fill input[type=radio]:checked + label:after {
|
||||
position: absolute;
|
||||
font-family: "FontAwesome";
|
||||
content: "\f00c";
|
||||
font-size: 12px;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
color: #fff !important;
|
||||
transform: rotate(-13deg);
|
||||
}
|
||||
|
||||
|
||||
33
libraries/framework/skin/base/close.less
Normal file
33
libraries/framework/skin/base/close.less
Normal file
@@ -0,0 +1,33 @@
|
||||
/*==================================================
|
||||
Close Icons
|
||||
==================================================== */
|
||||
|
||||
|
||||
.close {
|
||||
float: right;
|
||||
font-size: (@font-size-base * 1.5);
|
||||
font-weight: @close-font-weight;
|
||||
line-height: 1;
|
||||
color: @close-color;
|
||||
text-shadow: @close-text-shadow;
|
||||
.opacity(.2);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @close-color;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
.opacity(.5);
|
||||
}
|
||||
|
||||
// Additional properties for button version
|
||||
// iOS requires the button element instead of an anchor tag.
|
||||
// If you want the anchor version, it requires `href="#"`.
|
||||
button& {
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
}
|
||||
69
libraries/framework/skin/base/code.less
Normal file
69
libraries/framework/skin/base/code.less
Normal file
@@ -0,0 +1,69 @@
|
||||
/*==================================================
|
||||
Code(inline and block)
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Inline and block code styles
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: @font-family-monospace;
|
||||
}
|
||||
|
||||
// Inline code
|
||||
code {
|
||||
padding: 2px 4px;
|
||||
font-size: 90%;
|
||||
color: @code-color;
|
||||
background-color: @code-bg;
|
||||
border-radius: @border-radius-base;
|
||||
}
|
||||
|
||||
// User input typically entered via keyboard
|
||||
kbd {
|
||||
padding: 2px 4px;
|
||||
font-size: 90%;
|
||||
color: @kbd-color;
|
||||
background-color: @kbd-bg;
|
||||
border-radius: @border-radius-small;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
|
||||
|
||||
kbd {
|
||||
padding: 0;
|
||||
font-size: 100%;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Blocks of code
|
||||
pre {
|
||||
display: block;
|
||||
padding: ((@line-height-computed - 1) / 2);
|
||||
margin: 0 0 (@line-height-computed / 2);
|
||||
font-size: (@font-size-base - 1); // 14px to 13px
|
||||
line-height: @line-height-base;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
color: @pre-color;
|
||||
background-color: @pre-bg;
|
||||
border: 1px solid @pre-border-color;
|
||||
border-radius: @border-radius-base;
|
||||
|
||||
|
||||
// Account for some code outputs that place code tags in pre tags
|
||||
code {
|
||||
padding: 0;
|
||||
font-size: inherit;
|
||||
color: inherit;
|
||||
white-space: pre-wrap;
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Enable scrollable blocks of code
|
||||
.pre-scrollable {
|
||||
max-height: @pre-scrollable-max-height;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
31
libraries/framework/skin/base/component-animations.less
Normal file
31
libraries/framework/skin/base/component-animations.less
Normal file
@@ -0,0 +1,31 @@
|
||||
/*==================================================
|
||||
Component Animations
|
||||
==================================================== */
|
||||
|
||||
// Heads up!
|
||||
//
|
||||
// We don't use the `.opacity()` mixin here since it causes a bug with text
|
||||
// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
|
||||
|
||||
.fade {
|
||||
opacity: 0;
|
||||
.transition(opacity .15s linear);
|
||||
&.in {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.collapse {
|
||||
display: none;
|
||||
|
||||
&.in { display: block; }
|
||||
tr&.in { display: table-row; }
|
||||
tbody&.in { display: table-row-group; }
|
||||
}
|
||||
|
||||
.collapsing {
|
||||
position: relative;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
.transition(height .35s ease);
|
||||
}
|
||||
8
libraries/framework/skin/base/components/all.less
Normal file
8
libraries/framework/skin/base/components/all.less
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
@import "navbar";
|
||||
@import "content_trays";
|
||||
@import "sidebar_left";
|
||||
@import "sidebar_right";
|
||||
@import "sidebar_actions";
|
||||
@import "topbar";
|
||||
@import "footer"; // Added update v1.45
|
||||
474
libraries/framework/skin/base/components/content_trays.less
Normal file
474
libraries/framework/skin/base/components/content_trays.less
Normal file
@@ -0,0 +1,474 @@
|
||||
/* ==============================================
|
||||
Content Trays
|
||||
A. Trays
|
||||
B. Tray Sizes
|
||||
C. Tray Bin
|
||||
D. Misc Tray Helpers
|
||||
E. Tray Navigation
|
||||
F. Tray Hover Settings
|
||||
=================================================
|
||||
A. Content Trays
|
||||
================================================= */
|
||||
|
||||
/*tray table layout*/
|
||||
#content.table-layout {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#content.table-layout > div,
|
||||
#content.table-layout > section {
|
||||
vertical-align: top;
|
||||
padding: 25px 20px 50px;
|
||||
}
|
||||
#content.table-layout > aside {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/*trays*/
|
||||
.tray-left,
|
||||
.tray-right {
|
||||
position: relative;
|
||||
width: 250px;
|
||||
min-height: 100%;
|
||||
padding: 15px;
|
||||
border-right: 1px solid #DDD;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
/*Right tray*/
|
||||
.tray-right {
|
||||
border-left: 1px solid #DDD;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
/*Top tray*/
|
||||
.tray-top {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 150px;
|
||||
border-bottom: 1px solid #DDD;
|
||||
background-color: #f2f2f2;
|
||||
padding: 15px;
|
||||
}
|
||||
.tray-top.light {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
B. Tray Sizes
|
||||
================================================= */
|
||||
.tray200 {
|
||||
width: 200px;
|
||||
}
|
||||
.tray240 {
|
||||
width: 240px;
|
||||
}
|
||||
.tray270 {
|
||||
width: 270px;
|
||||
}
|
||||
.tray290 {
|
||||
width: 290px;
|
||||
}
|
||||
.tray300 {
|
||||
width: 300px;
|
||||
}
|
||||
.tray320 {
|
||||
width: 320px;
|
||||
}
|
||||
.tray350 {
|
||||
width: 350px;
|
||||
}
|
||||
.tray400 {
|
||||
width: 400px;
|
||||
}
|
||||
/* affixed tray widths - we subtract 1px to make
|
||||
* sure the parent left/right border is display */
|
||||
.tray200 .tray-nav.affix {
|
||||
width: 199px;
|
||||
}
|
||||
.tray200 .tray-nav.affix {
|
||||
width: 239px;
|
||||
}
|
||||
.tray270 .tray-nav.affix {
|
||||
width: 269px;
|
||||
}
|
||||
.tray290 .tray-nav.affix {
|
||||
width: 289px;
|
||||
}
|
||||
.tray300 .tray-nav.affix {
|
||||
width: 299px;
|
||||
}
|
||||
.tray320 .tray-nav.affix {
|
||||
width: 319px;
|
||||
}
|
||||
.tray350 .tray-nav.affix {
|
||||
width: 349px;
|
||||
}
|
||||
.tray400 .tray-nav.affix {
|
||||
width: 399px;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
C. Tray Bin
|
||||
================================================= */
|
||||
|
||||
/* tray bin - great for organizing buttons and links
|
||||
* negative margin added to counter parent tray padding
|
||||
*/
|
||||
.tray-bin {
|
||||
min-height: 65px;
|
||||
padding: 7px;
|
||||
margin: 0 -15px 15px;
|
||||
border: 1px dashed #CCC;
|
||||
background: #eee;
|
||||
}
|
||||
.tray-bin.stretch {
|
||||
border-left: 0;
|
||||
border-right: 0
|
||||
}
|
||||
/*If navbar has a contextual bg we make menu links white*/
|
||||
.tray-bin div[class*='col-'] {
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/*traybin divider text. Used primarily in li navs*/
|
||||
.tray-bin .nav-label {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: @muted;
|
||||
padding-left: 5px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
D. Misc Tray Helpers
|
||||
================================================= */
|
||||
|
||||
/* often used as first title in tray */
|
||||
.tray-title {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 15px;
|
||||
padding: 0 5px 15px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
/* Icon list commonly seen in tray header */
|
||||
.icon-list {
|
||||
margin: 20px 0 30px;
|
||||
font-size: 14px;
|
||||
padding-left: 5px;
|
||||
list-style: none;
|
||||
}
|
||||
.icon-list li + li {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
E. Tray Navigation
|
||||
================================================= */
|
||||
/* tray navigation - negative margin added
|
||||
* to counter parent tray padding
|
||||
*/
|
||||
ul.tray-nav {
|
||||
margin: 15px -15px;
|
||||
}
|
||||
/* item link */
|
||||
ul.tray-nav li a {
|
||||
width: 100%;
|
||||
padding: 11px 15px 11px 30px;
|
||||
color: #999;
|
||||
font-size: 13px;
|
||||
background: #f2f2f2;
|
||||
border-top: 1px solid #DDD;
|
||||
}
|
||||
|
||||
/* item icon */
|
||||
ul.tray-nav li a .fa {
|
||||
padding-right: 18px;
|
||||
}
|
||||
|
||||
/* active item */
|
||||
ul.tray-nav li.active a {
|
||||
color: #666;
|
||||
background: #fbfbfb;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* active item icon */
|
||||
ul.tray-nav li.active a .fa {
|
||||
color:@tray-nav-active-icon;
|
||||
}
|
||||
|
||||
/*Tray nav style option - Arrow*/
|
||||
|
||||
/* active item bottom border */
|
||||
ul.tray-nav.tray-nav-arrow li.active:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
top: 1px;
|
||||
left: 0;
|
||||
border-bottom: 1px solid #DDD;
|
||||
}
|
||||
ul.tray-nav.tray-nav-arrow li.active a:before,
|
||||
ul.tray-nav.tray-nav-arrow li.active a:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 100%;
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
vertical-align: middle;
|
||||
border-left: 20px solid;
|
||||
border-left-color: #fbfbfb;
|
||||
border-top: 20px solid transparent;
|
||||
border-bottom: 20px solid transparent;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
ul.tray-nav.tray-nav-arrow li.active a:before {
|
||||
border-left-color: #888;
|
||||
}
|
||||
|
||||
/* item hover */
|
||||
ul.tray-nav.tray-nav-arrow li:hover a:after {
|
||||
border-left-color: #f8f8f8;
|
||||
}
|
||||
|
||||
/*settings for arrows when used on a right aligned tray (.tray-right)*/
|
||||
|
||||
/* active item bottom border */
|
||||
.tray-right ul.tray-nav.tray-nav-arrow li.active:before {
|
||||
width: 100%;
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.tray-right ul.tray-nav.tray-nav-arrow li.active a:before,
|
||||
.tray-right ul.tray-nav.tray-nav-arrow li.active a:after {
|
||||
left: auto;
|
||||
right: 100%;
|
||||
border-right: 20px solid;
|
||||
border-left-color: transparent;
|
||||
border-right-color: #fbfbfb;
|
||||
}
|
||||
.tray-right ul.tray-nav.tray-nav-arrow li.active a:before {
|
||||
border-left-color: transparent;
|
||||
border-right-color: #888;
|
||||
}
|
||||
|
||||
/* item hover */
|
||||
.tray-right ul.tray-nav.tray-nav-arrow li:hover a:after {
|
||||
border-left-color: transparent;
|
||||
border-right-color: #f8f8f8;
|
||||
}
|
||||
|
||||
/*Tray nav style option - Bordered*/
|
||||
.tray-nav.tray-nav-border li {
|
||||
position: relative;
|
||||
}
|
||||
.tray-nav.tray-nav-border li a {
|
||||
font-size: 14px;
|
||||
padding: 12px 15px 12px 23px;
|
||||
}
|
||||
.tray-nav.tray-nav-border li:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 3px;
|
||||
background: #CCC;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active:after {
|
||||
background: @tray-nav-active-border;
|
||||
}
|
||||
.tray-nav.tray-nav-border li:hover:after {
|
||||
background: #999;
|
||||
}
|
||||
|
||||
/*modifcation for right side trays (.tray-right)*/
|
||||
.tray-right .tray-nav.tray-nav-border li:after {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
/*border skin contextuals*/
|
||||
.tray-nav.tray-nav-border li.active.nav-primary:after {
|
||||
background: @brand-primary;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active.nav-success:after {
|
||||
background: @brand-success;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active.nav-info:after {
|
||||
background: @brand-info;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active.nav-warning:after {
|
||||
background: @brand-warning;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active.nav-danger:after {
|
||||
background: @brand-danger;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active.nav-alert:after {
|
||||
background: @brand-alert;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active.nav-system:after {
|
||||
background: @brand-system;
|
||||
}
|
||||
.tray-nav.tray-nav-border li.active.nav-dark:after {
|
||||
background: @brand-dark;
|
||||
}
|
||||
|
||||
/* Tray elements fixed settings */
|
||||
.tray-nav.affix,
|
||||
.tray .tray-affix {
|
||||
top: 55px;
|
||||
}
|
||||
#topbar.affix + #content .tray-nav.affix,
|
||||
#topbar.affix + #content .tray .tray-affix {
|
||||
top: 115px;
|
||||
}
|
||||
|
||||
|
||||
/* tray-nav animation helper class */
|
||||
.tray-nav[data-nav-animate] li {
|
||||
display: none;
|
||||
}
|
||||
.tray-nav[data-nav-animate] li.animated {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
F. Tray Hover Settings
|
||||
|
||||
At <1000 window width javascript will add a
|
||||
"tray-rescale" class to the document body. This
|
||||
will shift the menu over out of sight and
|
||||
expand it only when the user hovers over the
|
||||
portion that's still visible
|
||||
================================================= */
|
||||
body.tray-rescale {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body.tray-rescale.sb-r-o .tray-center {
|
||||
padding-right: 20px !important;
|
||||
}
|
||||
body.tray-rescale.sb-r-o .tray-left,
|
||||
body.tray-rescale.sb-r-o .tray-right {
|
||||
display: none;
|
||||
}
|
||||
body.tray-rescale .tray-left,
|
||||
body.tray-rescale .tray-right {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
-webkit-transition: all 0.3s ease;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
body.tray-rescale .tray-left,
|
||||
body.tray-rescale .tray-right {right: -275px;}
|
||||
|
||||
body.tray-rescale .tray-left {
|
||||
border-left: 1px solid #DDD;
|
||||
}
|
||||
|
||||
/* adjust center tray to fill window width add needed
|
||||
padding to offset the partially hidden tray */
|
||||
body.tray-rescale .tray-center {
|
||||
width: 100%;
|
||||
-webkit-transition: all 0.3s ease;
|
||||
transition: all 0.3s ease;
|
||||
padding-right: 58px !important;
|
||||
}
|
||||
body.tray-rescale .tray-top + .tray-center {
|
||||
padding-right: inherit !important;
|
||||
}
|
||||
/* adjust depending on tray size */
|
||||
body.tray-rescale .tray.tray200 {
|
||||
right: -155px;
|
||||
}
|
||||
body.tray-rescale .tray.tray225 {
|
||||
right: -180px;
|
||||
}
|
||||
body.tray-rescale .tray.tray250 {
|
||||
right: -205px;
|
||||
}
|
||||
body.tray-rescale .tray.tray270 {
|
||||
right: -225px;
|
||||
}
|
||||
body.tray-rescale .tray.tray290 {
|
||||
right: -245px;
|
||||
}
|
||||
body.tray-rescale .tray.tray300 {
|
||||
right: -255px;
|
||||
}
|
||||
body.tray-rescale .tray.tray320 {
|
||||
right: -275px;
|
||||
}
|
||||
body.tray-rescale .tray.tray350 {
|
||||
right: -305px;
|
||||
}
|
||||
body.tray-rescale .tray.tray400 {
|
||||
right: -355px;
|
||||
}
|
||||
|
||||
/* on hover open the menus */
|
||||
body.tray-rescale .tray-left:hover,
|
||||
body.tray-rescale .tray-right:hover {
|
||||
opacity: 1;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
body.tray-rescale .tray-left:hover,
|
||||
body.tray-rescale .tray-right:hover {right: 0px;}
|
||||
|
||||
|
||||
/* adjust any bootstrap affix settings if they exist */
|
||||
// body.tray-rescale .tray .tray-nav.affix,
|
||||
// body.tray-rescale .tray .affix-pane.affix {
|
||||
// top: auto;
|
||||
// }
|
||||
|
||||
// Changes added via updates
|
||||
// Update v1.2
|
||||
//
|
||||
|
||||
// Tray Responsive Changes
|
||||
// Hide the tray completely iff window is <600 px
|
||||
|
||||
/* Disable completely on resolutions <600 */
|
||||
@media (max-width: 600px) {
|
||||
body.tray-rescale .tray-left,
|
||||
body.tray-rescale .tray-right {
|
||||
display: none;
|
||||
}
|
||||
body.tray-rescale .tray-center {
|
||||
padding-right: 13px !important;
|
||||
}
|
||||
body.tray-rescale #content.table-layout > div,
|
||||
body.tray-rescale #content.table-layout > section {
|
||||
padding: 10px 13px 40px !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Changes added via updates
|
||||
// Update v1.5
|
||||
//
|
||||
// Tray Scroller Settings (Fixed content panes)
|
||||
.tray-scroller { min-height: 500px; }
|
||||
.tray-left .tray-scroller { margin-right: -16px; }
|
||||
.tray-center .tray-scroller { margin-right: -20px; padding-right: 5px; }
|
||||
.tray-right .tray-scroller { margin-right: -13px; }
|
||||
.tray-scroller .scroller-handle {
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.3s ease;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.tray-scroller:hover .scroller-handle {
|
||||
opacity: 1;
|
||||
}
|
||||
68
libraries/framework/skin/base/components/footer.less
Normal file
68
libraries/framework/skin/base/components/footer.less
Normal file
@@ -0,0 +1,68 @@
|
||||
/* ==============================================
|
||||
Page Footer
|
||||
================================================= */
|
||||
#content-footer {
|
||||
color: #AAA;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 44px;
|
||||
padding: 12px 15px;
|
||||
background-color: #f8f8f8;
|
||||
border-top: 1px solid #DDD;
|
||||
|
||||
-webkit-transition: margin 0.2s ease;
|
||||
transition: margin 0.2s ease;
|
||||
|
||||
b { color: #888; }
|
||||
.footer-meta { padding-right: 30px; }
|
||||
.footer-return-top {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
right: 5px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
background-color: #eaeaea;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-transition: all 0.2s ease;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.footer-return-top span {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
color: #AAA;
|
||||
font-size: 12px;
|
||||
-webkit-transition: all 0.23s ease;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.footer-return-top:hover {
|
||||
cursor: pointer;
|
||||
background-color: #e2e2e2;
|
||||
}
|
||||
.footer-return-top:hover span {
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fixed Setting */
|
||||
#content-footer.affix {
|
||||
z-index: 1;
|
||||
position: fixed;
|
||||
margin-left: @sidebar-open-width;
|
||||
}
|
||||
/* Match Sidebar States */
|
||||
body.sb-l-c #content-footer.affix {
|
||||
margin-left: @sidebar-closed-width;
|
||||
}
|
||||
body.sb-l-m #content-footer.affix {
|
||||
margin-left: @sidebar-minified-width;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
body.sb-l-m #content-footer.affix {
|
||||
margin-left: 45px;
|
||||
}
|
||||
}
|
||||
1011
libraries/framework/skin/base/components/navbar.less
Normal file
1011
libraries/framework/skin/base/components/navbar.less
Normal file
File diff suppressed because it is too large
Load Diff
105
libraries/framework/skin/base/components/sidebar_actions.less
Normal file
105
libraries/framework/skin/base/components/sidebar_actions.less
Normal file
@@ -0,0 +1,105 @@
|
||||
/* ==============================================
|
||||
Sidebar Actions
|
||||
A. Sidebar Left Toggle
|
||||
B. Sidebar Right Toggle
|
||||
C. Left Sidebar Minified Helper
|
||||
D. Mobile Menu Modifications
|
||||
=================================================
|
||||
A. Sidebar Left Toggle
|
||||
================================================= */
|
||||
|
||||
/*left sidebar open*/
|
||||
.sb-l-o #sidebar_left {
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.sb-l-o #content_wrapper {
|
||||
margin-left: @sidebar-open-width;
|
||||
}
|
||||
|
||||
/*left sidebar closed*/
|
||||
.sb-l-c #sidebar_left {
|
||||
left: -(@sidebar-open-width);
|
||||
overflow: hidden;
|
||||
}
|
||||
.sb-l-c #content_wrapper {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Adjust navbar branding when closed */
|
||||
.sb-l-c .navbar-branding {
|
||||
width: @sidebar-minified-width;
|
||||
}
|
||||
.sb-l-c .navbar-brand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*====================================================
|
||||
B. Sidebar Right Toggle
|
||||
====================================================== */
|
||||
|
||||
/*Sidebar Right Open */
|
||||
.sb-r-o #sidebar_right {
|
||||
right: 0;
|
||||
}
|
||||
.sb-r-o #content_wrapper {
|
||||
margin-right: 300px;
|
||||
}
|
||||
|
||||
/*Sidebar Right Closed*/
|
||||
.sb-r-c #sidebar_right {
|
||||
right: -300px;
|
||||
}
|
||||
.sb-r-c #content_wrapper {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/*====================================================
|
||||
C. Left Sidebar Minified Helper
|
||||
====================================================== */
|
||||
.sb-l-c.sb-l-m #sidebar_left {
|
||||
left: -(@sidebar-minified-width);
|
||||
}
|
||||
|
||||
/*hide sidebar user menu button when the sidebar is
|
||||
collapsed. As it's not accessible in this mode*/
|
||||
.sb-l-m .navbar .sidebar-menu-toggle,
|
||||
.sb-l-c .navbar .sidebar-menu-toggle {
|
||||
margin-left: 10px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
D. Mobile Menu Modifications
|
||||
================================================= */
|
||||
|
||||
/* At less than 1100px we collapse any open sidebars via
|
||||
Media Queries. Theme Javscript will also add a a
|
||||
".mobile-view" class so that you can do any needed
|
||||
manipulation using an html class aswell */
|
||||
@media (max-width: 1100px) {
|
||||
|
||||
/* Sidebar Left Open/Default */
|
||||
#content_wrapper,
|
||||
.sb-l-o #content_wrapper {
|
||||
margin-left: 0;
|
||||
left: @sidebar-open-width;
|
||||
}
|
||||
|
||||
/* Sidebar Left Minified */
|
||||
.sb-l-m #content_wrapper {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
/* Sidebar Left Closed */
|
||||
.sb-l-c #content_wrapper {
|
||||
margin-left: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
/* Sidebar Right Open */
|
||||
.sb-r-o #content_wrapper {
|
||||
margin-right: 0;
|
||||
left: -300px;
|
||||
}
|
||||
}
|
||||
803
libraries/framework/skin/base/components/sidebar_left.less
Normal file
803
libraries/framework/skin/base/components/sidebar_left.less
Normal file
@@ -0,0 +1,803 @@
|
||||
/* ==============================================
|
||||
LEFT SIDEBAR
|
||||
A. Sidebar Default/Open State
|
||||
B. Sidebar Active Item Borders
|
||||
C. Sidebar Misc Elements
|
||||
D. Sidebar Widgets/Menus
|
||||
E. Sidebar Minified State
|
||||
F. Sidebar Default Color Settings
|
||||
G. Sidebar Light Color Settings
|
||||
H. Sidebar Nano Plugin Settings
|
||||
I. Sidebar Responsive Settings
|
||||
=================================================
|
||||
A. Default Open State
|
||||
================================================= */
|
||||
|
||||
/* Sidebar Container */
|
||||
#sidebar_left {
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: @sidebar-open-width;
|
||||
min-height: 100%;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
/* Sidebar Content Container */
|
||||
.sidebar-left-content { height: 100%; }
|
||||
|
||||
/* Sidebar-Menu */
|
||||
.sidebar-menu { padding-bottom: 20px; }
|
||||
|
||||
/* Sidebar-Menu Top Level Items */
|
||||
.sidebar-menu > li { margin: 0; }
|
||||
.sidebar-menu > li:first-child { padding-top: 4px; }
|
||||
|
||||
/* Sidebar Menu Links */
|
||||
.sidebar-menu > li a {}
|
||||
|
||||
/* Sidebar-Menu Top Level Links */
|
||||
.sidebar-menu > li > a {
|
||||
padding: 0;
|
||||
line-height: @sidebar-item-spacing;
|
||||
height: @sidebar-item-spacing;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Top Level - Icon */
|
||||
.sidebar-menu > li > a > span:nth-child(1) {
|
||||
float: left;
|
||||
top: 0;
|
||||
line-height: @sidebar-item-spacing;
|
||||
width: 38px;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
padding-left: 13px;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Top Level - Title */
|
||||
.sidebar-menu > li > a > span:nth-child(2) {
|
||||
font-weight: 600;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Top Level - Tray(holds labels,etc) */
|
||||
.sidebar-menu li > a > .sidebar-title-tray {
|
||||
position: absolute;
|
||||
right: 13px;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Top Level - Label */
|
||||
.sidebar-menu li > a > .sidebar-title-tray .label {
|
||||
padding: .0em .4em .2em;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Top Level - Caret */
|
||||
.sidebar-menu li > a > span.caret {
|
||||
position: absolute;
|
||||
top: 45%;
|
||||
right: 13px;
|
||||
border-top: 5px solid;
|
||||
border-right: 5px solid transparent;
|
||||
border-left: 5px solid transparent;
|
||||
}
|
||||
/* Open Menu Item Caret - we simply flip the carets border */
|
||||
.sidebar-menu li > a.menu-open > span.caret {
|
||||
border-top: 0;
|
||||
border-bottom: 5px solid;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Sub Level */
|
||||
.sidebar-menu > li > ul {
|
||||
clear: both;
|
||||
display: none;
|
||||
width: @sidebar-open-width;
|
||||
height: auto;
|
||||
}
|
||||
.sidebar-menu li > a.menu-open + ul { display: block; }
|
||||
|
||||
/* Sidebar-Menu Sub Level Items */
|
||||
.sidebar-menu > li > ul > li > a {
|
||||
padding: 11px 20px 11px 30px;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Sub Level - first and last items */
|
||||
.sidebar-menu > li > ul > li:first-child > a { padding-top: 14px; }
|
||||
.sidebar-menu > li > ul > li:last-child > a { padding-bottom: 17px; }
|
||||
|
||||
/* Sidebar-Menu Sub Level Item - Title */
|
||||
.sidebar-menu > li > ul > li > a > span:nth-child(1) {
|
||||
margin-right: 10px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Sub Level Item - Label */
|
||||
.sidebar-menu > li > ul > li > a > span.label {
|
||||
float: right;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Multi-level (submenu inside a submenu and so on) */
|
||||
.sidebar-menu > li > ul > li ul {
|
||||
clear: both;
|
||||
display: none;
|
||||
width: @sidebar-open-width;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Multi-level - Links */
|
||||
.sidebar-menu > li > ul > li > ul li a { padding: 9px 12px 9px 30px; }
|
||||
.sidebar-menu > li > ul > li > ul li:last-child a { padding-bottom: 13px; }
|
||||
|
||||
/* Sidebar-Menu Multi-level - Label(xs) */
|
||||
.sidebar-menu > li > ul > li > ul li a .label.label-xs {
|
||||
float: right;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
B. Sidebar-Menu Active Item Borders
|
||||
================================================= */
|
||||
|
||||
/* Top Level - Active Item Border */
|
||||
.sidebar-menu > li > a.menu-open:after,
|
||||
.sidebar-menu > li.active > a:after,
|
||||
.sidebar-menu > li:hover > a:after,
|
||||
.sidebar-menu > li:focus > a:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 3px;
|
||||
background: #AAA;
|
||||
}
|
||||
|
||||
/* Sub Level - Active Item Border */
|
||||
.sidebar-menu > li > ul > li > a.menu-open:after,
|
||||
.sidebar-menu > li > ul > li.active > a:after,
|
||||
.sidebar-menu > li > ul > li:hover > a:after,
|
||||
.sidebar-menu > li > ul > li:focus > a:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 3px;
|
||||
background: #AAA;
|
||||
}
|
||||
|
||||
/* Multi Level - Active Item Border */
|
||||
.sidebar-menu > li > ul > li > ul > li.active > a:after,
|
||||
.sidebar-menu > li > ul > li > ul > li:hover > a:after,
|
||||
.sidebar-menu > li > ul > li > ul > li:focus > a:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 5%;
|
||||
height: 90%;
|
||||
width: 3px;
|
||||
background: #999;
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
C. Sidebar Misc
|
||||
================================================= */
|
||||
|
||||
/* Sidebar labels */
|
||||
.sidebar-menu .sidebar-label {
|
||||
text-transform: uppercase;
|
||||
color: #70829a;
|
||||
font-weight: 600;
|
||||
padding-left: 18px;
|
||||
padding-bottom: 3px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Sidebar Project Links */
|
||||
.sidebar-menu .sidebar-proj {}
|
||||
|
||||
/* Sidebar Progress Bars */
|
||||
.sidebar-menu .sidebar-stat .progress {
|
||||
clear: both;
|
||||
background-color: #AAA;
|
||||
background-color: rgba(0,0,0,0.15);
|
||||
}
|
||||
/* Sidebar Progress Bars Titles */
|
||||
.sidebar-menu .sidebar-stat > a {
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Sidebar Toggle Button */
|
||||
.sidebar-toggle-mini {
|
||||
width: 35px;
|
||||
height: 32px;
|
||||
padding: 7px 0;
|
||||
}
|
||||
.sidebar-toggle-mini a {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
padding: 6px 6px 5px;
|
||||
background: rgba(0,0,0, 0.15);
|
||||
}
|
||||
.sidebar-toggle-mini span {
|
||||
position: relative;
|
||||
color: #999;
|
||||
font-size: 16px;
|
||||
|
||||
-webkit-transition: all ease-in-out 0.2s;
|
||||
transition: all ease-in-out 0.2s;
|
||||
|
||||
-webkit-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.sidebar-toggle-mini:hover span {
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
// If sidebar caret variable has been set to
|
||||
// "chevron" we use a mixin to change the style
|
||||
& when (@sidebar-caret-style = "chevron") {
|
||||
.sidebar-caret(@sidebar-caret-style);
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
C. Sidebar "top" - Horizontal Menu
|
||||
Activated by adding the ".sidebar-top"
|
||||
class to the "#sidebar_left" element
|
||||
================================================= */
|
||||
|
||||
// If the horizontal sidebar variable has been set
|
||||
// true we allow the mixin to generate the menu
|
||||
body.sb-top when (@sidebar-generate-top-style = true) {
|
||||
.sidebar-top-variant();
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
D. Sidebar Widgets
|
||||
================================================= */
|
||||
|
||||
/* Widget Wrapper */
|
||||
.sidebar-widget {
|
||||
position: relative;
|
||||
padding: 8px 13px;
|
||||
height: 51px;
|
||||
|
||||
+ .sidebar-widget { margin-top: 18px; }
|
||||
|
||||
/* Author Widget */
|
||||
&.author-widget {
|
||||
margin-top: 15px;
|
||||
|
||||
.media-left img {
|
||||
max-width: 40px;
|
||||
border: 2px solid #888;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.media-links a {
|
||||
display: inline-block;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
color: #70829a;
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.media-links a:hover {
|
||||
color: #FFF;
|
||||
}
|
||||
.media-body {
|
||||
padding-left: 3px;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
&.menu-widget-open .media-links a.sidebar-menu-toggle { color: #FFF; }
|
||||
|
||||
} // End Author Widget
|
||||
|
||||
/* Menu Widget - A Slide-Down Menu. Hidden by default */
|
||||
&.menu-widget {
|
||||
display: none;
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 130px;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background-color: @sb-widget-bg;
|
||||
border-top: 1px solid darken(@sb-widget-bg, 2%);
|
||||
border-bottom: 1px solid darken(@sb-widget-bg, 2%);
|
||||
|
||||
/* Menu Links */
|
||||
a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 12px 5px 12px;
|
||||
margin-bottom: 3px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
a:hover { background-color: @sb-menuwidget-item-hover; }
|
||||
|
||||
/* Menu Title(hidden) */
|
||||
a h5 { display: none; }
|
||||
|
||||
/* Menu Icons */
|
||||
a span {
|
||||
color: @sb-menuwidget-icon;
|
||||
font-size: 24px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
a:hover span { color: @sb-menuwidget-icon-hover; }
|
||||
|
||||
} // End Menu Widget
|
||||
|
||||
// Sidebar Search Widget
|
||||
&.search-widget {
|
||||
height: 40px;
|
||||
padding: 8px 6px;
|
||||
background-color: @sb-widget-bg;
|
||||
border-top: 1px solid darken(@sb-widget-bg, 2%);
|
||||
border-bottom: 1px solid darken(@sb-widget-bg, 2%);
|
||||
|
||||
input,
|
||||
.input-group-addon {
|
||||
color: #70829a;
|
||||
height: 22px;
|
||||
padding: 3px;
|
||||
font-size: 14px;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
input {
|
||||
padding-left: 0px;
|
||||
border-left: 0;
|
||||
}
|
||||
// placeholder psuedo text styles
|
||||
input::-webkit-input-placeholder { color: #70829a; }
|
||||
input::-moz-placeholder { color: #70829a; }
|
||||
input:-moz-placeholder { color: #70829a; }
|
||||
input:-ms-input-placeholder { color: #70829a; }
|
||||
|
||||
} // End Search Widget
|
||||
|
||||
|
||||
} // End Sidebar Widget Wrapper
|
||||
|
||||
|
||||
// Author Widget - w/Sidebar Minified
|
||||
body.sb-l-m .author-widget .media-body,
|
||||
body.sb-l-m .author-widget .media-heading {
|
||||
display: none;
|
||||
}
|
||||
body.sb-l-m .author-widget .media-left img {
|
||||
max-width: 30px;
|
||||
}
|
||||
// extra small minified sidebar
|
||||
@media (max-width: 900px) {
|
||||
body.sb-l-m .author-widget {
|
||||
padding: 8px 7px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*====================================================
|
||||
E. Sidebar Minified State
|
||||
====================================================== */
|
||||
|
||||
/* Sidebar Minified State */
|
||||
body.sb-l-m #sidebar_left {
|
||||
z-index: 1028;
|
||||
overflow: visible;
|
||||
width: @sidebar-minified-width;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
background-color: @sb-bg-color;
|
||||
}
|
||||
body.sb-l-m #sidebar_left:before { width: @sidebar-minified-width; }
|
||||
|
||||
/* Hide Multiple Sidebar Elements */
|
||||
body.sb-l-m .sidebar-header,
|
||||
body.sb-l-m #sidebar_left .sidebar-title,
|
||||
body.sb-l-m #sidebar_left .sidebar-label,
|
||||
body.sb-l-m #sidebar_left .sidebar-title-tray,
|
||||
body.sb-l-m #sidebar_left .caret,
|
||||
body.sb-l-m #sidebar_left .sidebar-proj,
|
||||
body.sb-l-m #sidebar_left .sidebar-stat {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Only Icon is showing - Modify Padding to fit */
|
||||
body.sb-l-m .sidebar-menu > li {
|
||||
padding: 7px 0;
|
||||
}
|
||||
/* Menu will be converted to on:hover - It requires overflow */
|
||||
body.sb-l-m .sidebar-menu > li > a {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Top Level - Icon */
|
||||
body.sb-l-m .sidebar-menu > li > a > span:nth-child(1) {
|
||||
color: #ccc;
|
||||
left: -1px;
|
||||
width: @sidebar-minified-width;
|
||||
font-size: 18px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Top Level - Title */
|
||||
body.sb-l-m .sidebar-menu > li > a > .sidebar-title {
|
||||
position: absolute;
|
||||
left: @sidebar-minified-width;
|
||||
top: -4px;
|
||||
width: 180px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
font-size: 14px;
|
||||
padding-left: 15px;
|
||||
border-left: 1px solid #222;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Menus have been converted to show only on:hover. Hide by default */
|
||||
body.sb-l-m .sidebar-menu > li > a.menu-open + ul {
|
||||
display: none;
|
||||
}
|
||||
/* Menus have been converted. We display them on:hover */
|
||||
body.sb-l-m .sidebar-menu > li:hover > a + ul,
|
||||
body.sb-l-m .sidebar-menu > li:hover > a > .sidebar-title,
|
||||
body.sb-l-m .sidebar-menu > li:hover > ul .caret {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Sub Level */
|
||||
body.sb-l-m .sidebar-menu > li > ul {
|
||||
position: absolute;
|
||||
left: @sidebar-minified-width;
|
||||
top: 38px;
|
||||
width: 180px;
|
||||
height: auto;
|
||||
border-left: 1px solid #222;
|
||||
padding-bottom: 7px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Sidebar-Menu Multi Level */
|
||||
body.sb-l-m .sidebar-menu > li > ul > li { overflow: hidden; }
|
||||
body.sb-l-m .sidebar-menu > li > ul > li ul { width: 180px; }
|
||||
|
||||
/* Sidebar-Menu Sub Level - Link Padding */
|
||||
body.sb-l-m .sidebar-menu li > ul > li > a { padding: 8px 15px 8px 15px; }
|
||||
|
||||
/* Sidebar-Menu Multi Level - Link Padding */
|
||||
body.sb-l-m .sidebar-menu li > ul > li > ul > li a { padding: 8px 15px 8px 20px; }
|
||||
|
||||
|
||||
/* Adjust Primary Content Container - Sidebar Minified */
|
||||
body.sb-l-m #content_wrapper { margin-left: @sidebar-minified-width; }
|
||||
|
||||
/* Primary Content Container - Sidebar Hidden */
|
||||
body.sb-l-c.sb-l-m #content_wrapper { margin-left: 0; }
|
||||
|
||||
/* Adjust Navbar Logo/Branding - Sidebar Minified */
|
||||
body.sb-l-m .navbar-branding { width: @sidebar-minified-width; }
|
||||
|
||||
/* Adjust Navbar Logo/Branding - Sidebar Hidden */
|
||||
body.sb-l-m .navbar-brand { display: none; }
|
||||
|
||||
|
||||
/*=======================================================
|
||||
F. Sidebar Default Color Settings
|
||||
========================================================= */
|
||||
|
||||
/* Sidebar Container */
|
||||
#sidebar_left {
|
||||
background-color: @sb-bg-color;
|
||||
}
|
||||
|
||||
/* Menu Item - Label Color */
|
||||
.sidebar-menu .sidebar-label {
|
||||
color: @sb-label;
|
||||
}
|
||||
/* Menu item Caret */
|
||||
.sidebar-menu li > a > span.caret {
|
||||
color: @sb-caret;
|
||||
}
|
||||
/* Open Menu item Caret */
|
||||
.sidebar-menu li > a.menu-open > span.caret {
|
||||
color: @sb-caret-open;
|
||||
}
|
||||
|
||||
/* Top Level Menu Item - Text Color */
|
||||
.sidebar-menu > li > a {
|
||||
color: @sb-menu-text;
|
||||
}
|
||||
/* Top Level Menu Item - BG Color:hover */
|
||||
.sidebar-menu > li > a:hover,
|
||||
.sidebar-menu > li > a:focus,
|
||||
.sidebar-menu > li > a:active {
|
||||
color: @sb-menu-text-hover;
|
||||
background-color: @sb-menu-item-hover;
|
||||
}
|
||||
/* Top Level Item - Border Color:hover */
|
||||
.sidebar-menu > li:hover > a:after,
|
||||
.sidebar-menu > li:focus > a:after {
|
||||
background: @sb-menu-border-hover;
|
||||
}
|
||||
/* Top Level Active Menu Item - BG/Text Color */
|
||||
.sidebar-menu > li.active > a {
|
||||
color: @sb-active-text;
|
||||
background-color: @sb-active-bg;
|
||||
}
|
||||
/* Top Level Active Menu Item - Icon Color */
|
||||
.sidebar-menu > li.active > a > span:nth-child(1) {
|
||||
color: @sb-active-icon;
|
||||
}
|
||||
/* Top Level Active Item - Border Color */
|
||||
.sidebar-menu > li.active > a:after,
|
||||
.sidebar-menu > li > a.menu-open:after {
|
||||
background: @sb-active-border;
|
||||
}
|
||||
|
||||
/* Sub-Menu Item - BG Color */
|
||||
.sidebar-menu > li > ul {
|
||||
background-color: @sub-menu-bg;
|
||||
}
|
||||
/* Sub-Menu Item - BG Color:hover */
|
||||
.sidebar-menu > li > ul > li > a {
|
||||
color: @sub-menu-text;
|
||||
}
|
||||
/* Sub-Menu Item - BG Color:hover */
|
||||
.sidebar-menu > li > ul > li > a:hover,
|
||||
.sidebar-menu > li > ul > li > a:focus {
|
||||
color: @sub-menu-text-hover;
|
||||
background-color: @sub-menu-item-hover;
|
||||
}
|
||||
/* Sub-Menu Item - Border Color:hover */
|
||||
.sidebar-menu > li > ul > li:hover > a:after,
|
||||
.sidebar-menu > li > ul > li:focus > a:after {
|
||||
background: @sub-menu-border-hover;
|
||||
}
|
||||
/* Sub-Menu Active Item - BG/Text Color */
|
||||
.sidebar-menu > li > ul > li.active > a {
|
||||
color: @sb-active-text;
|
||||
background-color: @sub-active-bg;
|
||||
}
|
||||
/* Sub-Menu Active Item - Icon Color */
|
||||
.sidebar-menu > li > ul > li.active > a > span:nth-child(1),
|
||||
.sidebar-menu > li > ul > li > a.menu-open > span:nth-child(1) {
|
||||
color: @sub-active-icon;
|
||||
}
|
||||
/* Sub-Menu Active Item - Border Color */
|
||||
.sidebar-menu > li > ul > li.active > a:after,
|
||||
.sidebar-menu > li > ul > li > a.menu-open:after {
|
||||
background: @sub-active-border;
|
||||
}
|
||||
|
||||
/* Multi-Menu Item - BG Color */
|
||||
.sidebar-menu > li > ul > li ul {
|
||||
background-color: @multi-menu-bg;
|
||||
}
|
||||
/* Multi-level Item - BG Color:hover */
|
||||
.sidebar-menu > li > ul > li > ul > li > a {
|
||||
color: @multi-menu-text;
|
||||
}
|
||||
/* Multi-level Item - BG Color:hover */
|
||||
.sidebar-menu > li > ul > li > ul > li > a:hover,
|
||||
.sidebar-menu > li > ul > li > ul > li > a:focus {
|
||||
color: @multi-menu-text-hover;
|
||||
background-color: @multi-menu-item-hover;
|
||||
}
|
||||
/* Multi-level Active Item - Border Color:hover */
|
||||
.sidebar-menu > li > ul > li > ul > li:hover > a:after,
|
||||
.sidebar-menu > li > ul > li > ul > li:focus > a:after {
|
||||
background: @multi-menu-border-hover;
|
||||
}
|
||||
/* Multi-level Active Item - BG/Text Color */
|
||||
.sidebar-menu > li > ul > li > ul > li.active > a {
|
||||
color: @sb-active-text;
|
||||
background: @multi-active-bg;
|
||||
}
|
||||
/* Multi-level Active Item - Icon Color */
|
||||
.sidebar-menu > li > ul > li > ul > li.active > a > span:nth-child(1),
|
||||
.sidebar-menu > li > ul > li > ul > li > a.menu-open > span:nth-child(1) {
|
||||
color: @multi-active-icon;
|
||||
}
|
||||
/* Multi-level Active Item - Border Color */
|
||||
.sidebar-menu > li > ul > li > ul > li.active > a:after {
|
||||
background: @multi-active-border;
|
||||
}
|
||||
|
||||
/* Minified Sidebar - Title */
|
||||
body.sb-l-m .sidebar-menu > li > a > .sidebar-title {
|
||||
background-color: @sub-menu-bg;
|
||||
}
|
||||
/* Minified Sidebar - Active Icon */
|
||||
body.sb-l-m .sidebar-menu > li.active > a > span:nth-child(1) {
|
||||
color: @sb-active-icon;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*=======================================================
|
||||
G. Sidebar Light Color Settings
|
||||
Applied via class to "#sidebar"
|
||||
eg: <aside id="sidebar_left" class="sidebar-light">
|
||||
========================================================= */
|
||||
|
||||
// Mixin which creates sidebar-light
|
||||
#sidebar_left.sidebar-light {
|
||||
.sidebar-light-variant();
|
||||
}
|
||||
|
||||
// Manual changes added to sidebar-light
|
||||
body.sb-l-m {
|
||||
#sidebar_left.sidebar-light {
|
||||
background-color: #FAFAFA;
|
||||
}
|
||||
#sidebar_left.sidebar-light.light {
|
||||
background-color: #FFF;
|
||||
}
|
||||
#sidebar_left.sidebar-light .sidebar-menu > li > a > .sidebar-title,
|
||||
#sidebar_left.sidebar-light .sidebar-menu > li > ul {
|
||||
border: 1px solid #DDD;
|
||||
border-top: 0;
|
||||
background-color: #f8f8f8;
|
||||
left: 59px;
|
||||
box-shadow: none;
|
||||
}
|
||||
#sidebar_left.sidebar-light .sidebar-menu > li > a > .sidebar-title {
|
||||
border-top: 1px solid #DDD;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*==================================================
|
||||
H. Sidebar "Nano Scroller" Settings (Core Plugin)
|
||||
==================================================== */
|
||||
#sidebar_left.nano > .nano-content {}
|
||||
#sidebar_left.nano.affix{
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#sidebar_left.affix.nano .tooltip {
|
||||
z-index: 9999 !important;
|
||||
}
|
||||
/* If the sidebar is minified we disable nanoscroll via css
|
||||
* otherwise nano scroll hides popout menus and the scroll is
|
||||
* needed to see submenus with many items */
|
||||
body.sb-l-m #sidebar_left.nano {
|
||||
position: absolute;
|
||||
}
|
||||
body.sb-l-m #sidebar_left.nano > .nano-content {
|
||||
overflow: visible;
|
||||
right: 0 !important;
|
||||
}
|
||||
/* If the sidebar is minified and in mobile mode we hard disable
|
||||
* the entire plugin via a display !important */
|
||||
body.sb-l-m.mobile-view .nano > .nano-pane {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
/*==========================================================
|
||||
I. Sidebar Responsive Settings - Added via Update v1.2.
|
||||
If window <900px create even smaller minified sidebar
|
||||
=========================================================== */
|
||||
|
||||
@media (max-width: 900px) {
|
||||
|
||||
/* Sidebar Minified State */
|
||||
body.sb-l-m #sidebar_left { width: 45px; }
|
||||
body.sb-l-m #sidebar_left:before { width: 45px; }
|
||||
|
||||
/* Sidebar-menu Top Level - Icon */
|
||||
body.sb-l-m .sidebar-menu > li > a > span:nth-child(1) {
|
||||
left: -1px;
|
||||
width: 45px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* Sidebar-menu Top Level - Title */
|
||||
body.sb-l-m .sidebar-menu > li > a > .sidebar-title {
|
||||
position: absolute;
|
||||
left: 45px;
|
||||
top: -4px;
|
||||
width: 180px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
font-size: 14px;
|
||||
padding-left: 15px;
|
||||
border-left: 1px solid #222;
|
||||
background-color: #282d33;
|
||||
}
|
||||
|
||||
/* Sidebar-menu Sub Level */
|
||||
body.sb-l-m .sidebar-menu > li > ul {
|
||||
position: absolute;
|
||||
left: 45px;
|
||||
top: 38px;
|
||||
width: 180px;
|
||||
height: auto;
|
||||
border-left: 1px solid #222;
|
||||
padding-bottom: 7px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Sidebar-menu Multi Level */
|
||||
body.sb-l-m .sidebar-menu > li > ul > li ul {
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
/* Sidebar-menu Sub Level - Link Padding */
|
||||
body.sb-l-m .sidebar-menu li > ul > li > a {
|
||||
padding: 8px 20px 8px 20px;
|
||||
}
|
||||
|
||||
/* Sidebar-menu Multi Level - Link Padding */
|
||||
body.sb-l-m .sidebar-menu li > ul > li > ul > li a {
|
||||
padding: 8px 20px 8px 35px;
|
||||
}
|
||||
|
||||
/* Adjust Primary Content Container - Sidebar Minified */
|
||||
body.sb-l-m #content_wrapper { margin-left: 45px; }
|
||||
|
||||
/* Adjust Primary Content Container - Sidebar Hidden */
|
||||
body.sb-l-c.sb-l-m #content_wrapper { margin-left: 0; }
|
||||
|
||||
/* Adjust Navbar Logo/Branding - Hide Logo */
|
||||
body.sb-l-o .navbar-brand,
|
||||
body.sb-l-m .navbar-brand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Adjust Navbar Logo/Branding - Adjust Width */
|
||||
body.sb-l-o .navbar-branding,
|
||||
body.sb-l-m .navbar-branding {
|
||||
max-width: 45px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
/* Adjust Navbar Toggle - Sidebar Open */
|
||||
body.sb-l-o .navbar #toggle_sidemenu_l {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
/* Adjust Navbar Toggle - Sidebar Minified */
|
||||
body.sb-l-o.sb-l-m .navbar #toggle_sidemenu_l{
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
/* Adjust Navbar Toggle - Sidebar Open + Minified */
|
||||
body.sb-l-o .navbar #toggle_sidemenu_l,
|
||||
body.sb-l-m .navbar #toggle_sidemenu_l {
|
||||
width: 45px;
|
||||
}
|
||||
|
||||
/* Hide sidebar user menu button when the sidebar is
|
||||
collapsed. As it's not accessible in this mode*/
|
||||
.sb-l-o .navbar .sidebar-menu-toggle,
|
||||
.sb-l-c .navbar .sidebar-menu-toggle {
|
||||
margin-left: 10px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Right Sidemenu Button
|
||||
#toggle_sidemenu_r { margin-top: 4px; }
|
||||
|
||||
// Manual Responsive changes added to sidebar-light
|
||||
body.sb-l-m #sidebar_left.sidebar-light .sidebar-menu > li > a > .sidebar-title,
|
||||
body.sb-l-m #sidebar_left.sidebar-light .sidebar-menu > li > ul {
|
||||
left: 44px;
|
||||
}
|
||||
|
||||
}
|
||||
66
libraries/framework/skin/base/components/sidebar_right.less
Normal file
66
libraries/framework/skin/base/components/sidebar_right.less
Normal file
@@ -0,0 +1,66 @@
|
||||
/* ==============================================
|
||||
Right Sidebar
|
||||
A. Default Closed State
|
||||
B. Sidebar Right Panel Menu
|
||||
C. Nano Sidebar Scroller Settings
|
||||
=================================================
|
||||
A. Default Closed State
|
||||
================================================= */
|
||||
#sidebar_right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
padding-top: 60px;
|
||||
right: -300px;
|
||||
border-left: 1px solid #ddd;
|
||||
background: #f8f8f8;
|
||||
}
|
||||
#sidebar_right.affix {
|
||||
position: fixed;
|
||||
}
|
||||
#sidebar_right .sidebar-right-header {
|
||||
width: 100%;
|
||||
height: 59px;
|
||||
padding: 4px 10px 4px 20px;
|
||||
}
|
||||
#sidebar_right .sidebar_right_content a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
B. Sidebar Right Panel Menu
|
||||
================================================= */
|
||||
.title-divider {
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
padding: 0 5px 9px 5px;
|
||||
}
|
||||
#sidebar_right .panel {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
#sidebar_right .panel-heading {
|
||||
height: 51px;
|
||||
min-height: 51px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#sidebar_right .panel-tabs li a {
|
||||
padding: 17px 18px;
|
||||
border-right: 1px solid transparent;
|
||||
}
|
||||
#sidebar_right .panel-tabs li:first-child a {
|
||||
border-left: 1px solid transparent;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
C. Nano Sidebar Scroller Settings
|
||||
================================================= */
|
||||
#sidebar_right.nano > .nano-pane {
|
||||
background: rgba(0, 0, 0, .07);
|
||||
}
|
||||
#sidebar_right.nano > .nano-pane > .nano-slider {
|
||||
background: #444;
|
||||
background: #CCC;
|
||||
}
|
||||
|
||||
261
libraries/framework/skin/base/components/topbar.less
Normal file
261
libraries/framework/skin/base/components/topbar.less
Normal file
@@ -0,0 +1,261 @@
|
||||
/* ==============================================
|
||||
Topbar
|
||||
A. Topbar
|
||||
B. Topbar Dropdown Menu
|
||||
C. Topbar Alternate Style
|
||||
D. Topbar Navigation - List
|
||||
E. Topbar Responsive Settings
|
||||
=================================================
|
||||
A. Topbar
|
||||
================================================= */
|
||||
|
||||
#topbar {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 51px;
|
||||
padding: 10px 21px;
|
||||
background: #fafafa;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
&:extend(.clearfix all);
|
||||
|
||||
.topbar-right {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
/* Topbar Breadcrumbs */
|
||||
.breadcrumb {
|
||||
float: left;
|
||||
position: relative;
|
||||
padding: 1px 25px 0 0;
|
||||
margin-bottom: 0;
|
||||
font-size: 12px;
|
||||
border-radius: 0;
|
||||
background-color: transparent;
|
||||
|
||||
> li {
|
||||
color: #888;
|
||||
}
|
||||
> li.crumb-active > a {
|
||||
color: #555;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*Toggle sidemenu button*/
|
||||
#toggle_sidemenu_r i.fa,
|
||||
#toggle_sidemenu_r span.glyphicon,
|
||||
#toggle_sidemenu_r span.glyphicons {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* toggle sidemenu button (when menu is open) */
|
||||
body.sb-r-o #toggle_sidemenu_r i.fa,
|
||||
body.sb-r-o #toggle_sidemenu_r span.glyphicon,
|
||||
body.sb-r-o #toggle_sidemenu_r span.glyphicons {
|
||||
-webkit-transform: scale(-1, 1);
|
||||
transform: scale(-1, 1);
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* Toggle Right Sidebar - Badge */
|
||||
.badge.badge-hero {
|
||||
position: relative;
|
||||
top: -12px;
|
||||
margin-left: -10px;
|
||||
padding: 2px 5px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
B. Topbar - Alternate Style
|
||||
Requires ".alt" class on #topbar
|
||||
================================================= */
|
||||
|
||||
#topbar.alt {
|
||||
min-height: 70px;
|
||||
padding: 20px 22px;
|
||||
background: #e7e7e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
|
||||
.breadcrumb {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
C. Topbar Dropmenu
|
||||
================================================= */
|
||||
|
||||
#topbar-dropmenu {
|
||||
z-index: 9999;
|
||||
overflow: hidden;
|
||||
display: none;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
padding: 17px 20px 10px;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
background: url("@{img-path}/patterns/topbar-bg.jpg") repeat -60px top;
|
||||
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4) inset;
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.4) inset;
|
||||
}
|
||||
#topbar-dropmenu:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.navbar[class*='bg-'] + #sidebar_left + #content_wrapper > #topbar-dropmenu {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.topbar-menu .metro-tile {
|
||||
opacity: 0;
|
||||
display: block;
|
||||
color: #FFF;
|
||||
height: 95px;
|
||||
position: relative;
|
||||
padding: 15px 5px 0;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
-webkit-transition: background 0.2s ease;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.topbar-menu .metro-tile:hover,
|
||||
.topbar-menu .metro-tile:focus,
|
||||
.topbar-menu .metro-tile:active {
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
.topbar-menu .metro-tile span:first-child {
|
||||
font-size: 44px;
|
||||
}
|
||||
.topbar-menu .metro-tile .metro-title {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Topbar Menu Modal */
|
||||
.metro-modal {
|
||||
z-index: 9998;
|
||||
cursor: pointer;
|
||||
position: fixed;
|
||||
display: none;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* if topbar is fixed we force it relative upon topbar
|
||||
* dropmenu open as it will create scrolling problems */
|
||||
#topbar-dropmenu.topbar-menu-open + #topbar.affix {
|
||||
position: relative !important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
D. Topbar Dropdown Menu - Alternate Style
|
||||
Requires ".alt" class on #topbar-dropmenu
|
||||
and bg classes on all ".metro-tiles"
|
||||
================================================= */
|
||||
|
||||
#topbar-dropmenu.alt {
|
||||
z-index: 1025;
|
||||
padding: 17px 20px 10px;
|
||||
background: #DDD;
|
||||
border-bottom: 1px solid #ccc;
|
||||
box-shadow: none;
|
||||
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topbar-menu > div {
|
||||
opacity: 0.85;
|
||||
}
|
||||
.topbar-menu .metro-tile {
|
||||
opacity: 1;
|
||||
border: 1px solid rgba(0,0,0, 0.15);
|
||||
}
|
||||
.topbar-menu .metro-tile:hover,
|
||||
.topbar-menu .metro-tile:focus,
|
||||
.topbar-menu .metro-tile:active {
|
||||
color: #fff;
|
||||
background: inherit;
|
||||
}
|
||||
.topbar-menu .metro-tile .metro-title {
|
||||
bottom: 7px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
D. Topbar List Navigation
|
||||
================================================= */
|
||||
|
||||
#topbar .nav.nav-list-topbar {
|
||||
margin: -10px 15px;
|
||||
|
||||
li a {
|
||||
padding: 16px 14px 12px;
|
||||
}
|
||||
li.active a {
|
||||
border-bottom: 3px solid @brand-primary;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
E. Topbar Settings - Responsive
|
||||
================================================= */
|
||||
|
||||
@media (max-width: 815px) {
|
||||
#topbar {
|
||||
padding: 10px 6px 10px 14px;
|
||||
}
|
||||
// Topbar Alt
|
||||
#topbar.alt {
|
||||
min-height: 40px;
|
||||
padding: 10px 6px 10px 14px;
|
||||
}
|
||||
#topbar .topbar-dropdown {
|
||||
display: none !important;
|
||||
}
|
||||
// when fixed
|
||||
#topbar.affix.alt + #content {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
#topbar .breadcrumb {
|
||||
font-size: 14px;
|
||||
padding-top: 5px;
|
||||
padding-left: 2px;
|
||||
}
|
||||
#topbar .breadcrumb .crumb-active {
|
||||
display: none;
|
||||
}
|
||||
#topbar .breadcrumb > li.crumb-active + li:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
233
libraries/framework/skin/base/dropdowns.less
Normal file
233
libraries/framework/skin/base/dropdowns.less
Normal file
@@ -0,0 +1,233 @@
|
||||
/*==================================================
|
||||
Dropdown menus
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Dropdown arrow/caret
|
||||
.caret {
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin-left: 2px;
|
||||
vertical-align: middle;
|
||||
border-top: @caret-width-base solid;
|
||||
border-right: @caret-width-base solid transparent;
|
||||
border-left: @caret-width-base solid transparent;
|
||||
|
||||
&.caret-tp {
|
||||
border-top-color: rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
// Caret Sizes
|
||||
&.caret-xs { border-width: 2px; }
|
||||
&.caret-sm { border-width: 3px; }
|
||||
&.caret-lg { border-width: 5px; }
|
||||
}
|
||||
|
||||
// The dropdown wrapper (div)
|
||||
.dropdown {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// Dropdown Menu Sizes
|
||||
// Small
|
||||
.dropdown-menu.dropdown-sm { min-width: 120px; }
|
||||
.dropdown-menu.dropdown-sm li { margin-bottom: 0; }
|
||||
.dropdown-menu.dropdown-sm li a {
|
||||
font-size: 13px;
|
||||
padding: 2px 12px;
|
||||
}
|
||||
|
||||
// Prevent the focus on the dropdown toggle when closing dropdowns
|
||||
.dropdown-toggle:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
// The dropdown menu (ul)
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: @zindex-dropdown;
|
||||
display: none; // none by default, but block on "open" of the menu
|
||||
float: left;
|
||||
min-width: 160px;
|
||||
padding: 5px 0;
|
||||
margin: 2px 0 0; // override default ul
|
||||
list-style: none;
|
||||
font-size: @font-size-base;
|
||||
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
||||
background-color: @dropdown-bg;
|
||||
border: 1px solid @dropdown-fallback-border; // IE8 fallback
|
||||
border: 1px solid @dropdown-border;
|
||||
border-radius: @border-radius-base;
|
||||
.box-shadow(0 6px 12px rgba(0,0,0,.175));
|
||||
background-clip: padding-box;
|
||||
|
||||
// Aligns the dropdown menu to right
|
||||
//
|
||||
// Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
|
||||
&.pull-right {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
// Dividers (basically an hr) within the dropdown
|
||||
.divider {
|
||||
.nav-divider(@dropdown-divider-bg);
|
||||
}
|
||||
|
||||
// Links within the dropdown menu
|
||||
> li > a {
|
||||
display: block;
|
||||
padding: 5px 15px;
|
||||
clear: both;
|
||||
color: @dropdown-link-color;
|
||||
font-weight: normal;
|
||||
line-height: @line-height-base;
|
||||
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
||||
}
|
||||
}
|
||||
|
||||
// Hover/Focus state
|
||||
.dropdown-menu > li > a {
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
color: @dropdown-link-hover-color;
|
||||
background-color: @dropdown-link-hover-bg;
|
||||
}
|
||||
}
|
||||
|
||||
// Active state
|
||||
.dropdown-menu > .active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @dropdown-link-active-color;
|
||||
text-decoration: none;
|
||||
outline: 0;
|
||||
background-color: @dropdown-link-active-bg;
|
||||
}
|
||||
}
|
||||
|
||||
// Disabled state
|
||||
//
|
||||
// Gray out text and ensure the hover/focus state remains gray
|
||||
|
||||
.dropdown-menu > .disabled > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @dropdown-link-disabled-color;
|
||||
}
|
||||
}
|
||||
// Nuke hover/focus effects
|
||||
.dropdown-menu > .disabled > a {
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
background-image: none; // Remove CSS gradient
|
||||
.reset-filter();
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
// Open state for the dropdown
|
||||
.open {
|
||||
// Show the menu
|
||||
> .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Remove the outline when :focus is triggered
|
||||
> a {
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Menu positioning
|
||||
//
|
||||
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
|
||||
// menu with the parent.
|
||||
.dropdown-menu-right {
|
||||
left: auto; // Reset the default from `.dropdown-menu`
|
||||
right: 0;
|
||||
}
|
||||
// With v3, we enabled auto-flipping if you have a dropdown within a right
|
||||
// aligned nav component. To enable the undoing of that, we provide an override
|
||||
// to restore the default dropdown menu alignment.
|
||||
//
|
||||
// This is only for left-aligning a dropdown menu within a `.navbar-right` or
|
||||
// `.pull-right` nav component.
|
||||
.dropdown-menu-left {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
// Dropdown section headers
|
||||
.dropdown-header {
|
||||
display: block;
|
||||
padding: 3px 20px;
|
||||
font-size: @font-size-small;
|
||||
line-height: @line-height-base;
|
||||
color: @dropdown-header-color;
|
||||
white-space: nowrap; // as with > li > a
|
||||
}
|
||||
|
||||
// Backdrop to catch body clicks on mobile, etc.
|
||||
.dropdown-backdrop {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
z-index: (@zindex-dropdown - 10);
|
||||
}
|
||||
|
||||
// Right aligned dropdowns
|
||||
.pull-right > .dropdown-menu {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
||||
//
|
||||
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
||||
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
||||
|
||||
.dropup,
|
||||
.navbar-fixed-bottom .dropdown {
|
||||
// Reverse the caret
|
||||
.caret {
|
||||
border-top: 0;
|
||||
border-bottom: @caret-width-base solid;
|
||||
content: "";
|
||||
}
|
||||
// Different positioning for bottom up menu
|
||||
.dropdown-menu {
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Component alignment
|
||||
//
|
||||
// Reiterate per navbar.less and the modified component alignment there.
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
.navbar-right {
|
||||
.dropdown-menu {
|
||||
.dropdown-menu-right();
|
||||
}
|
||||
// Necessary for overrides of the default right aligned menu.
|
||||
// Will remove come v4 in all likelihood.
|
||||
.dropdown-menu-left {
|
||||
.dropdown-menu-left();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
49
libraries/framework/skin/base/fonts/admindesigns.less
Normal file
49
libraries/framework/skin/base/fonts/admindesigns.less
Normal file
@@ -0,0 +1,49 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/*===============================================
|
||||
AdminDesigns Custom Icon Library
|
||||
================================================*/
|
||||
|
||||
/* Load font library */
|
||||
@font-face {
|
||||
font-family: "AdminDesigns";
|
||||
src:url("@{fonts-path}/admindesigns/admindesigns.eot");
|
||||
src:url("@{fonts-path}/admindesigns/admindesigns.eot?#iefix") format("embedded-opentype"),
|
||||
url("@{fonts-path}/admindesigns/admindesigns.woff") format("woff"),
|
||||
url("@{fonts-path}/admindesigns/admindesigns.ttf") format("truetype"),
|
||||
url("@{fonts-path}/admindesigns/admindesigns.svg#admindesigns") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* Font base class */
|
||||
.ad {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font: normal normal normal 16px/1 AdminDesigns;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
|
||||
/* Icon classes */
|
||||
.ad-lines:before {
|
||||
content: "\e600";
|
||||
}
|
||||
.ad-wand {
|
||||
top: 1px;
|
||||
}
|
||||
.ad-wand:before {
|
||||
content: "\e010";
|
||||
}
|
||||
.ad-radio-tower:before {
|
||||
content: "\f030";
|
||||
}
|
||||
.ad-ruby:before {
|
||||
content: "\f047";
|
||||
}
|
||||
.ad-screen-full:before {
|
||||
content: "\f066";
|
||||
}
|
||||
1810
libraries/framework/skin/base/fonts/font-awesome.less
vendored
Normal file
1810
libraries/framework/skin/base/fonts/font-awesome.less
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1714
libraries/framework/skin/base/fonts/glyphicons-pro.less
Normal file
1714
libraries/framework/skin/base/fonts/glyphicons-pro.less
Normal file
File diff suppressed because it is too large
Load Diff
807
libraries/framework/skin/base/fonts/glyphicons.less
Normal file
807
libraries/framework/skin/base/fonts/glyphicons.less
Normal file
@@ -0,0 +1,807 @@
|
||||
/*===============================================
|
||||
Glyphicons for Bootstrap
|
||||
=================================================
|
||||
* http://getbootstrap.com/components/
|
||||
* Creative Commons Attribution 3.0
|
||||
*/
|
||||
|
||||
/* Load font library */
|
||||
@font-face {
|
||||
font-family: 'Glyphicons Halflings';
|
||||
src: url('@{fonts-path}/glyphicons/glyphicons-halflings-regular.eot');
|
||||
src: url('@{fonts-path}/glyphicons/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('@{fonts-path}/glyphicons/glyphicons-halflings-regular.woff2') format('woff2'),
|
||||
url('@{fonts-path}/glyphicons/glyphicons-halflings-regular.woff') format('woff'),
|
||||
url('@{fonts-path}/glyphicons/glyphicons-halflings-regular.ttf') format('truetype'),
|
||||
url('@{fonts-path}/glyphicons/glyphicons-halflings-regular.svg#@glyphicons_halflingsregular') format('svg');
|
||||
}
|
||||
|
||||
/*Catchall baseclass*/
|
||||
.glyphicon {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
display: inline-block;
|
||||
font-family: 'Glyphicons Halflings';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/*Individual icons*/
|
||||
.glyphicon-asterisk:before {
|
||||
content: "\2a";
|
||||
}
|
||||
.glyphicon-plus:before {
|
||||
content: "\2b";
|
||||
}
|
||||
.glyphicon-euro:before,
|
||||
.glyphicon-eur:before {
|
||||
content: "\20ac";
|
||||
}
|
||||
.glyphicon-minus:before {
|
||||
content: "\2212";
|
||||
}
|
||||
.glyphicon-cloud:before {
|
||||
content: "\2601";
|
||||
}
|
||||
.glyphicon-envelope:before {
|
||||
content: "\2709";
|
||||
}
|
||||
.glyphicon-pencil:before {
|
||||
content: "\270f";
|
||||
}
|
||||
.glyphicon-glass:before {
|
||||
content: "\e001";
|
||||
}
|
||||
.glyphicon-music:before {
|
||||
content: "\e002";
|
||||
}
|
||||
.glyphicon-search:before {
|
||||
content: "\e003";
|
||||
}
|
||||
.glyphicon-heart:before {
|
||||
content: "\e005";
|
||||
}
|
||||
.glyphicon-star:before {
|
||||
content: "\e006";
|
||||
}
|
||||
.glyphicon-star-empty:before {
|
||||
content: "\e007";
|
||||
}
|
||||
.glyphicon-user:before {
|
||||
content: "\e008";
|
||||
}
|
||||
.glyphicon-film:before {
|
||||
content: "\e009";
|
||||
}
|
||||
.glyphicon-th-large:before {
|
||||
content: "\e010";
|
||||
}
|
||||
.glyphicon-th:before {
|
||||
content: "\e011";
|
||||
}
|
||||
.glyphicon-th-list:before {
|
||||
content: "\e012";
|
||||
}
|
||||
.glyphicon-ok:before {
|
||||
content: "\e013";
|
||||
}
|
||||
.glyphicon-remove:before {
|
||||
content: "\e014";
|
||||
}
|
||||
.glyphicon-zoom-in:before {
|
||||
content: "\e015";
|
||||
}
|
||||
.glyphicon-zoom-out:before {
|
||||
content: "\e016";
|
||||
}
|
||||
.glyphicon-off:before {
|
||||
content: "\e017";
|
||||
}
|
||||
.glyphicon-signal:before {
|
||||
content: "\e018";
|
||||
}
|
||||
.glyphicon-cog:before {
|
||||
content: "\e019";
|
||||
}
|
||||
.glyphicon-trash:before {
|
||||
content: "\e020";
|
||||
}
|
||||
.glyphicon-home:before {
|
||||
content: "\e021";
|
||||
}
|
||||
.glyphicon-file:before {
|
||||
content: "\e022";
|
||||
}
|
||||
.glyphicon-time:before {
|
||||
content: "\e023";
|
||||
}
|
||||
.glyphicon-road:before {
|
||||
content: "\e024";
|
||||
}
|
||||
.glyphicon-download-alt:before {
|
||||
content: "\e025";
|
||||
}
|
||||
.glyphicon-download:before {
|
||||
content: "\e026";
|
||||
}
|
||||
.glyphicon-upload:before {
|
||||
content: "\e027";
|
||||
}
|
||||
.glyphicon-inbox:before {
|
||||
content: "\e028";
|
||||
}
|
||||
.glyphicon-play-circle:before {
|
||||
content: "\e029";
|
||||
}
|
||||
.glyphicon-repeat:before {
|
||||
content: "\e030";
|
||||
}
|
||||
.glyphicon-refresh:before {
|
||||
content: "\e031";
|
||||
}
|
||||
.glyphicon-list-alt:before {
|
||||
content: "\e032";
|
||||
}
|
||||
.glyphicon-lock:before {
|
||||
content: "\e033";
|
||||
}
|
||||
.glyphicon-flag:before {
|
||||
content: "\e034";
|
||||
}
|
||||
.glyphicon-headphones:before {
|
||||
content: "\e035";
|
||||
}
|
||||
.glyphicon-volume-off:before {
|
||||
content: "\e036";
|
||||
}
|
||||
.glyphicon-volume-down:before {
|
||||
content: "\e037";
|
||||
}
|
||||
.glyphicon-volume-up:before {
|
||||
content: "\e038";
|
||||
}
|
||||
.glyphicon-qrcode:before {
|
||||
content: "\e039";
|
||||
}
|
||||
.glyphicon-barcode:before {
|
||||
content: "\e040";
|
||||
}
|
||||
.glyphicon-tag:before {
|
||||
content: "\e041";
|
||||
}
|
||||
.glyphicon-tags:before {
|
||||
content: "\e042";
|
||||
}
|
||||
.glyphicon-book:before {
|
||||
content: "\e043";
|
||||
}
|
||||
.glyphicon-bookmark:before {
|
||||
content: "\e044";
|
||||
}
|
||||
.glyphicon-print:before {
|
||||
content: "\e045";
|
||||
}
|
||||
.glyphicon-camera:before {
|
||||
content: "\e046";
|
||||
}
|
||||
.glyphicon-font:before {
|
||||
content: "\e047";
|
||||
}
|
||||
.glyphicon-bold:before {
|
||||
content: "\e048";
|
||||
}
|
||||
.glyphicon-italic:before {
|
||||
content: "\e049";
|
||||
}
|
||||
.glyphicon-text-height:before {
|
||||
content: "\e050";
|
||||
}
|
||||
.glyphicon-text-width:before {
|
||||
content: "\e051";
|
||||
}
|
||||
.glyphicon-align-left:before {
|
||||
content: "\e052";
|
||||
}
|
||||
.glyphicon-align-center:before {
|
||||
content: "\e053";
|
||||
}
|
||||
.glyphicon-align-right:before {
|
||||
content: "\e054";
|
||||
}
|
||||
.glyphicon-align-justify:before {
|
||||
content: "\e055";
|
||||
}
|
||||
.glyphicon-list:before {
|
||||
content: "\e056";
|
||||
}
|
||||
.glyphicon-indent-left:before {
|
||||
content: "\e057";
|
||||
}
|
||||
.glyphicon-indent-right:before {
|
||||
content: "\e058";
|
||||
}
|
||||
.glyphicon-facetime-video:before {
|
||||
content: "\e059";
|
||||
}
|
||||
.glyphicon-picture:before {
|
||||
content: "\e060";
|
||||
}
|
||||
.glyphicon-map-marker:before {
|
||||
content: "\e062";
|
||||
}
|
||||
.glyphicon-adjust:before {
|
||||
content: "\e063";
|
||||
}
|
||||
.glyphicon-tint:before {
|
||||
content: "\e064";
|
||||
}
|
||||
.glyphicon-edit:before {
|
||||
content: "\e065";
|
||||
}
|
||||
.glyphicon-share:before {
|
||||
content: "\e066";
|
||||
}
|
||||
.glyphicon-check:before {
|
||||
content: "\e067";
|
||||
}
|
||||
.glyphicon-move:before {
|
||||
content: "\e068";
|
||||
}
|
||||
.glyphicon-step-backward:before {
|
||||
content: "\e069";
|
||||
}
|
||||
.glyphicon-fast-backward:before {
|
||||
content: "\e070";
|
||||
}
|
||||
.glyphicon-backward:before {
|
||||
content: "\e071";
|
||||
}
|
||||
.glyphicon-play:before {
|
||||
content: "\e072";
|
||||
}
|
||||
.glyphicon-pause:before {
|
||||
content: "\e073";
|
||||
}
|
||||
.glyphicon-stop:before {
|
||||
content: "\e074";
|
||||
}
|
||||
.glyphicon-forward:before {
|
||||
content: "\e075";
|
||||
}
|
||||
.glyphicon-fast-forward:before {
|
||||
content: "\e076";
|
||||
}
|
||||
.glyphicon-step-forward:before {
|
||||
content: "\e077";
|
||||
}
|
||||
.glyphicon-eject:before {
|
||||
content: "\e078";
|
||||
}
|
||||
.glyphicon-chevron-left:before {
|
||||
content: "\e079";
|
||||
}
|
||||
.glyphicon-chevron-right:before {
|
||||
content: "\e080";
|
||||
}
|
||||
.glyphicon-plus-sign:before {
|
||||
content: "\e081";
|
||||
}
|
||||
.glyphicon-minus-sign:before {
|
||||
content: "\e082";
|
||||
}
|
||||
.glyphicon-remove-sign:before {
|
||||
content: "\e083";
|
||||
}
|
||||
.glyphicon-ok-sign:before {
|
||||
content: "\e084";
|
||||
}
|
||||
.glyphicon-question-sign:before {
|
||||
content: "\e085";
|
||||
}
|
||||
.glyphicon-info-sign:before {
|
||||
content: "\e086";
|
||||
}
|
||||
.glyphicon-screenshot:before {
|
||||
content: "\e087";
|
||||
}
|
||||
.glyphicon-remove-circle:before {
|
||||
content: "\e088";
|
||||
}
|
||||
.glyphicon-ok-circle:before {
|
||||
content: "\e089";
|
||||
}
|
||||
.glyphicon-ban-circle:before {
|
||||
content: "\e090";
|
||||
}
|
||||
.glyphicon-arrow-left:before {
|
||||
content: "\e091";
|
||||
}
|
||||
.glyphicon-arrow-right:before {
|
||||
content: "\e092";
|
||||
}
|
||||
.glyphicon-arrow-up:before {
|
||||
content: "\e093";
|
||||
}
|
||||
.glyphicon-arrow-down:before {
|
||||
content: "\e094";
|
||||
}
|
||||
.glyphicon-share-alt:before {
|
||||
content: "\e095";
|
||||
}
|
||||
.glyphicon-resize-full:before {
|
||||
content: "\e096";
|
||||
}
|
||||
.glyphicon-resize-small:before {
|
||||
content: "\e097";
|
||||
}
|
||||
.glyphicon-exclamation-sign:before {
|
||||
content: "\e101";
|
||||
}
|
||||
.glyphicon-gift:before {
|
||||
content: "\e102";
|
||||
}
|
||||
.glyphicon-leaf:before {
|
||||
content: "\e103";
|
||||
}
|
||||
.glyphicon-fire:before {
|
||||
content: "\e104";
|
||||
}
|
||||
.glyphicon-eye-open:before {
|
||||
content: "\e105";
|
||||
}
|
||||
.glyphicon-eye-close:before {
|
||||
content: "\e106";
|
||||
}
|
||||
.glyphicon-warning-sign:before {
|
||||
content: "\e107";
|
||||
}
|
||||
.glyphicon-plane:before {
|
||||
content: "\e108";
|
||||
}
|
||||
.glyphicon-calendar:before {
|
||||
content: "\e109";
|
||||
}
|
||||
.glyphicon-random:before {
|
||||
content: "\e110";
|
||||
}
|
||||
.glyphicon-comment:before {
|
||||
content: "\e111";
|
||||
}
|
||||
.glyphicon-magnet:before {
|
||||
content: "\e112";
|
||||
}
|
||||
.glyphicon-chevron-up:before {
|
||||
content: "\e113";
|
||||
}
|
||||
.glyphicon-chevron-down:before {
|
||||
content: "\e114";
|
||||
}
|
||||
.glyphicon-retweet:before {
|
||||
content: "\e115";
|
||||
}
|
||||
.glyphicon-shopping-cart:before {
|
||||
content: "\e116";
|
||||
}
|
||||
.glyphicon-folder-close:before {
|
||||
content: "\e117";
|
||||
}
|
||||
.glyphicon-folder-open:before {
|
||||
content: "\e118";
|
||||
}
|
||||
.glyphicon-resize-vertical:before {
|
||||
content: "\e119";
|
||||
}
|
||||
.glyphicon-resize-horizontal:before {
|
||||
content: "\e120";
|
||||
}
|
||||
.glyphicon-hdd:before {
|
||||
content: "\e121";
|
||||
}
|
||||
.glyphicon-bullhorn:before {
|
||||
content: "\e122";
|
||||
}
|
||||
.glyphicon-bell:before {
|
||||
content: "\e123";
|
||||
}
|
||||
.glyphicon-certificate:before {
|
||||
content: "\e124";
|
||||
}
|
||||
.glyphicon-thumbs-up:before {
|
||||
content: "\e125";
|
||||
}
|
||||
.glyphicon-thumbs-down:before {
|
||||
content: "\e126";
|
||||
}
|
||||
.glyphicon-hand-right:before {
|
||||
content: "\e127";
|
||||
}
|
||||
.glyphicon-hand-left:before {
|
||||
content: "\e128";
|
||||
}
|
||||
.glyphicon-hand-up:before {
|
||||
content: "\e129";
|
||||
}
|
||||
.glyphicon-hand-down:before {
|
||||
content: "\e130";
|
||||
}
|
||||
.glyphicon-circle-arrow-right:before {
|
||||
content: "\e131";
|
||||
}
|
||||
.glyphicon-circle-arrow-left:before {
|
||||
content: "\e132";
|
||||
}
|
||||
.glyphicon-circle-arrow-up:before {
|
||||
content: "\e133";
|
||||
}
|
||||
.glyphicon-circle-arrow-down:before {
|
||||
content: "\e134";
|
||||
}
|
||||
.glyphicon-globe:before {
|
||||
content: "\e135";
|
||||
}
|
||||
.glyphicon-wrench:before {
|
||||
content: "\e136";
|
||||
}
|
||||
.glyphicon-tasks:before {
|
||||
content: "\e137";
|
||||
}
|
||||
.glyphicon-filter:before {
|
||||
content: "\e138";
|
||||
}
|
||||
.glyphicon-briefcase:before {
|
||||
content: "\e139";
|
||||
}
|
||||
.glyphicon-fullscreen:before {
|
||||
content: "\e140";
|
||||
}
|
||||
.glyphicon-dashboard:before {
|
||||
content: "\e141";
|
||||
}
|
||||
.glyphicon-paperclip:before {
|
||||
content: "\e142";
|
||||
}
|
||||
.glyphicon-heart-empty:before {
|
||||
content: "\e143";
|
||||
}
|
||||
.glyphicon-link:before {
|
||||
content: "\e144";
|
||||
}
|
||||
.glyphicon-phone:before {
|
||||
content: "\e145";
|
||||
}
|
||||
.glyphicon-pushpin:before {
|
||||
content: "\e146";
|
||||
}
|
||||
.glyphicon-usd:before {
|
||||
content: "\e148";
|
||||
}
|
||||
.glyphicon-gbp:before {
|
||||
content: "\e149";
|
||||
}
|
||||
.glyphicon-sort:before {
|
||||
content: "\e150";
|
||||
}
|
||||
.glyphicon-sort-by-alphabet:before {
|
||||
content: "\e151";
|
||||
}
|
||||
.glyphicon-sort-by-alphabet-alt:before {
|
||||
content: "\e152";
|
||||
}
|
||||
.glyphicon-sort-by-order:before {
|
||||
content: "\e153";
|
||||
}
|
||||
.glyphicon-sort-by-order-alt:before {
|
||||
content: "\e154";
|
||||
}
|
||||
.glyphicon-sort-by-attributes:before {
|
||||
content: "\e155";
|
||||
}
|
||||
.glyphicon-sort-by-attributes-alt:before {
|
||||
content: "\e156";
|
||||
}
|
||||
.glyphicon-unchecked:before {
|
||||
content: "\e157";
|
||||
}
|
||||
.glyphicon-expand:before {
|
||||
content: "\e158";
|
||||
}
|
||||
.glyphicon-collapse-down:before {
|
||||
content: "\e159";
|
||||
}
|
||||
.glyphicon-collapse-up:before {
|
||||
content: "\e160";
|
||||
}
|
||||
.glyphicon-log-in:before {
|
||||
content: "\e161";
|
||||
}
|
||||
.glyphicon-flash:before {
|
||||
content: "\e162";
|
||||
}
|
||||
.glyphicon-log-out:before {
|
||||
content: "\e163";
|
||||
}
|
||||
.glyphicon-new-window:before {
|
||||
content: "\e164";
|
||||
}
|
||||
.glyphicon-record:before {
|
||||
content: "\e165";
|
||||
}
|
||||
.glyphicon-save:before {
|
||||
content: "\e166";
|
||||
}
|
||||
.glyphicon-open:before {
|
||||
content: "\e167";
|
||||
}
|
||||
.glyphicon-saved:before {
|
||||
content: "\e168";
|
||||
}
|
||||
.glyphicon-import:before {
|
||||
content: "\e169";
|
||||
}
|
||||
.glyphicon-export:before {
|
||||
content: "\e170";
|
||||
}
|
||||
.glyphicon-send:before {
|
||||
content: "\e171";
|
||||
}
|
||||
.glyphicon-floppy-disk:before {
|
||||
content: "\e172";
|
||||
}
|
||||
.glyphicon-floppy-saved:before {
|
||||
content: "\e173";
|
||||
}
|
||||
.glyphicon-floppy-remove:before {
|
||||
content: "\e174";
|
||||
}
|
||||
.glyphicon-floppy-save:before {
|
||||
content: "\e175";
|
||||
}
|
||||
.glyphicon-floppy-open:before {
|
||||
content: "\e176";
|
||||
}
|
||||
.glyphicon-credit-card:before {
|
||||
content: "\e177";
|
||||
}
|
||||
.glyphicon-transfer:before {
|
||||
content: "\e178";
|
||||
}
|
||||
.glyphicon-cutlery:before {
|
||||
content: "\e179";
|
||||
}
|
||||
.glyphicon-header:before {
|
||||
content: "\e180";
|
||||
}
|
||||
.glyphicon-compressed:before {
|
||||
content: "\e181";
|
||||
}
|
||||
.glyphicon-earphone:before {
|
||||
content: "\e182";
|
||||
}
|
||||
.glyphicon-phone-alt:before {
|
||||
content: "\e183";
|
||||
}
|
||||
.glyphicon-tower:before {
|
||||
content: "\e184";
|
||||
}
|
||||
.glyphicon-stats:before {
|
||||
content: "\e185";
|
||||
}
|
||||
.glyphicon-sd-video:before {
|
||||
content: "\e186";
|
||||
}
|
||||
.glyphicon-hd-video:before {
|
||||
content: "\e187";
|
||||
}
|
||||
.glyphicon-subtitles:before {
|
||||
content: "\e188";
|
||||
}
|
||||
.glyphicon-sound-stereo:before {
|
||||
content: "\e189";
|
||||
}
|
||||
.glyphicon-sound-dolby:before {
|
||||
content: "\e190";
|
||||
}
|
||||
.glyphicon-sound-5-1:before {
|
||||
content: "\e191";
|
||||
}
|
||||
.glyphicon-sound-6-1:before {
|
||||
content: "\e192";
|
||||
}
|
||||
.glyphicon-sound-7-1:before {
|
||||
content: "\e193";
|
||||
}
|
||||
.glyphicon-copyright-mark:before {
|
||||
content: "\e194";
|
||||
}
|
||||
.glyphicon-registration-mark:before {
|
||||
content: "\e195";
|
||||
}
|
||||
.glyphicon-cloud-download:before {
|
||||
content: "\e197";
|
||||
}
|
||||
.glyphicon-cloud-upload:before {
|
||||
content: "\e198";
|
||||
}
|
||||
.glyphicon-tree-conifer:before {
|
||||
content: "\e199";
|
||||
}
|
||||
.glyphicon-tree-deciduous:before {
|
||||
content: "\e200";
|
||||
}
|
||||
.glyphicon-cd:before {
|
||||
content: "\e201";
|
||||
}
|
||||
.glyphicon-save-file:before {
|
||||
content: "\e202";
|
||||
}
|
||||
.glyphicon-open-file:before {
|
||||
content: "\e203";
|
||||
}
|
||||
.glyphicon-level-up:before {
|
||||
content: "\e204";
|
||||
}
|
||||
.glyphicon-copy:before {
|
||||
content: "\e205";
|
||||
}
|
||||
.glyphicon-paste:before {
|
||||
content: "\e206";
|
||||
}
|
||||
.glyphicon-alert:before {
|
||||
content: "\e209";
|
||||
}
|
||||
.glyphicon-equalizer:before {
|
||||
content: "\e210";
|
||||
}
|
||||
.glyphicon-king:before {
|
||||
content: "\e211";
|
||||
}
|
||||
.glyphicon-queen:before {
|
||||
content: "\e212";
|
||||
}
|
||||
.glyphicon-pawn:before {
|
||||
content: "\e213";
|
||||
}
|
||||
.glyphicon-bishop:before {
|
||||
content: "\e214";
|
||||
}
|
||||
.glyphicon-knight:before {
|
||||
content: "\e215";
|
||||
}
|
||||
.glyphicon-baby-formula:before {
|
||||
content: "\e216";
|
||||
}
|
||||
.glyphicon-tent:before {
|
||||
content: "\26fa";
|
||||
}
|
||||
.glyphicon-blackboard:before {
|
||||
content: "\e218";
|
||||
}
|
||||
.glyphicon-bed:before {
|
||||
content: "\e219";
|
||||
}
|
||||
.glyphicon-apple:before {
|
||||
content: "\f8ff";
|
||||
}
|
||||
.glyphicon-erase:before {
|
||||
content: "\e221";
|
||||
}
|
||||
.glyphicon-hourglass:before {
|
||||
content: "\231b";
|
||||
}
|
||||
.glyphicon-lamp:before {
|
||||
content: "\e223";
|
||||
}
|
||||
.glyphicon-duplicate:before {
|
||||
content: "\e224";
|
||||
}
|
||||
.glyphicon-piggy-bank:before {
|
||||
content: "\e225";
|
||||
}
|
||||
.glyphicon-scissors:before {
|
||||
content: "\e226";
|
||||
}
|
||||
.glyphicon-bitcoin:before {
|
||||
content: "\e227";
|
||||
}
|
||||
.glyphicon-yen:before {
|
||||
content: "\00a5";
|
||||
}
|
||||
.glyphicon-ruble:before {
|
||||
content: "\20bd";
|
||||
}
|
||||
.glyphicon-scale:before {
|
||||
content: "\e230";
|
||||
}
|
||||
.glyphicon-ice-lolly:before {
|
||||
content: "\e231";
|
||||
}
|
||||
.glyphicon-ice-lolly-tasted:before {
|
||||
content: "\e232";
|
||||
}
|
||||
.glyphicon-education:before {
|
||||
content: "\e233";
|
||||
}
|
||||
.glyphicon-option-horizontal:before {
|
||||
content: "\e234";
|
||||
}
|
||||
.glyphicon-option-vertical:before {
|
||||
content: "\e235";
|
||||
}
|
||||
.glyphicon-menu-hamburger:before {
|
||||
content: "\e236";
|
||||
}
|
||||
.glyphicon-modal-window:before {
|
||||
content: "\e237";
|
||||
}
|
||||
.glyphicon-oil:before {
|
||||
content: "\e238";
|
||||
}
|
||||
.glyphicon-grain:before {
|
||||
content: "\e239";
|
||||
}
|
||||
.glyphicon-sunglasses:before {
|
||||
content: "\e240";
|
||||
}
|
||||
.glyphicon-text-size:before {
|
||||
content: "\e241";
|
||||
}
|
||||
.glyphicon-text-color:before {
|
||||
content: "\e242";
|
||||
}
|
||||
.glyphicon-text-background:before {
|
||||
content: "\e243";
|
||||
}
|
||||
.glyphicon-object-align-top:before {
|
||||
content: "\e244";
|
||||
}
|
||||
.glyphicon-object-align-bottom:before {
|
||||
content: "\e245";
|
||||
}
|
||||
.glyphicon-object-align-horizontal:before {
|
||||
content: "\e246";
|
||||
}
|
||||
.glyphicon-object-align-left:before {
|
||||
content: "\e247";
|
||||
}
|
||||
.glyphicon-object-align-vertical:before {
|
||||
content: "\e248";
|
||||
}
|
||||
.glyphicon-object-align-right:before {
|
||||
content: "\e249";
|
||||
}
|
||||
.glyphicon-triangle-right:before {
|
||||
content: "\e250";
|
||||
}
|
||||
.glyphicon-triangle-left:before {
|
||||
content: "\e251";
|
||||
}
|
||||
.glyphicon-triangle-bottom:before {
|
||||
content: "\e252";
|
||||
}
|
||||
.glyphicon-triangle-top:before {
|
||||
content: "\e253";
|
||||
}
|
||||
.glyphicon-console:before {
|
||||
content: "\e254";
|
||||
}
|
||||
.glyphicon-superscript:before {
|
||||
content: "\e255";
|
||||
}
|
||||
.glyphicon-subscript:before {
|
||||
content: "\e256";
|
||||
}
|
||||
.glyphicon-menu-left:before {
|
||||
content: "\e257";
|
||||
}
|
||||
.glyphicon-menu-right:before {
|
||||
content: "\e258";
|
||||
}
|
||||
.glyphicon-menu-down:before {
|
||||
content: "\e259";
|
||||
}
|
||||
.glyphicon-menu-up:before {
|
||||
content: "\e260";
|
||||
}
|
||||
1849
libraries/framework/skin/base/fonts/icomoon.less
Normal file
1849
libraries/framework/skin/base/fonts/icomoon.less
Normal file
File diff suppressed because it is too large
Load Diff
1269
libraries/framework/skin/base/fonts/iconsweets.less
Normal file
1269
libraries/framework/skin/base/fonts/iconsweets.less
Normal file
File diff suppressed because one or more lines are too long
229
libraries/framework/skin/base/fonts/octicons.less
Normal file
229
libraries/framework/skin/base/fonts/octicons.less
Normal file
@@ -0,0 +1,229 @@
|
||||
@charset "IBM437";
|
||||
@font-face {
|
||||
font-family: 'octicons';
|
||||
src: url("@{fonts-path}/octicons/octicons.eot?#iefix") format("embedded-opentype"),
|
||||
url("@{fonts-path}/octicons/octicons.woff") format("woff"),
|
||||
url("@{fonts-path}/octicons/octicons.ttf") format("truetype"),
|
||||
url("@{fonts-path}/octicons/octicons.svg#octicons") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal; }
|
||||
.octicon, .mega-octicon {
|
||||
font: normal normal normal 16px/1 octicons;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mega-octicon { font-size: 32px; }
|
||||
|
||||
.octicon-alert:before { content: '\f02d'} /* */
|
||||
.octicon-alignment-align:before { content: '\f08a'} /* */
|
||||
.octicon-alignment-aligned-to:before { content: '\f08e'} /* */
|
||||
.octicon-alignment-unalign:before { content: '\f08b'} /* */
|
||||
.octicon-arrow-down:before { content: '\f03f'} /* */
|
||||
.octicon-arrow-left:before { content: '\f040'} /* */
|
||||
.octicon-arrow-right:before { content: '\f03e'} /* */
|
||||
.octicon-arrow-small-down:before { content: '\f0a0'} /* */
|
||||
.octicon-arrow-small-left:before { content: '\f0a1'} /* */
|
||||
.octicon-arrow-small-right:before { content: '\f071'} /* */
|
||||
.octicon-arrow-small-up:before { content: '\f09f'} /* */
|
||||
.octicon-arrow-up:before { content: '\f03d'} /* */
|
||||
.octicon-beer:before { content: '\f069'} /* */
|
||||
.octicon-book:before { content: '\f007'} /* */
|
||||
.octicon-bookmark:before { content: '\f07b'} /* */
|
||||
.octicon-briefcase:before { content: '\f0d3'} /* */
|
||||
.octicon-broadcast:before { content: '\f048'} /* */
|
||||
.octicon-browser:before { content: '\f0c5'} /* */
|
||||
.octicon-bug:before { content: '\f091'} /* */
|
||||
.octicon-calendar:before { content: '\f068'} /* */
|
||||
.octicon-check:before { content: '\f03a'} /* */
|
||||
.octicon-checklist:before { content: '\f076'} /* */
|
||||
.octicon-chevron-down:before { content: '\f0a3'} /* */
|
||||
.octicon-chevron-left:before { content: '\f0a4'} /* */
|
||||
.octicon-chevron-right:before { content: '\f078'} /* */
|
||||
.octicon-chevron-up:before { content: '\f0a2'} /* */
|
||||
.octicon-circle-slash:before { content: '\f084'} /* */
|
||||
.octicon-circuit-board:before { content: '\f0d6'} /* */
|
||||
.octicon-clippy:before { content: '\f035'} /* */
|
||||
.octicon-clock:before { content: '\f046'} /* */
|
||||
.octicon-cloud-download:before { content: '\f00b'} /* */
|
||||
.octicon-cloud-upload:before { content: '\f00c'} /* */
|
||||
.octicon-code:before { content: '\f05f'} /* */
|
||||
.octicon-color-mode:before { content: '\f065'} /* */
|
||||
.octicon-comment-add:before,
|
||||
.octicon-comment:before { content: '\f02b'} /* */
|
||||
.octicon-comment-discussion:before { content: '\f04f'} /* */
|
||||
.octicon-credit-card:before { content: '\f045'} /* */
|
||||
.octicon-dash:before { content: '\f0ca'} /* */
|
||||
.octicon-dashboard:before { content: '\f07d'} /* */
|
||||
.octicon-database:before { content: '\f096'} /* */
|
||||
.octicon-device-camera:before { content: '\f056'} /* */
|
||||
.octicon-device-camera-video:before { content: '\f057'} /* */
|
||||
.octicon-device-desktop:before { content: '\f27c'} /* */
|
||||
.octicon-device-mobile:before { content: '\f038'} /* */
|
||||
.octicon-diff:before { content: '\f04d'} /* */
|
||||
.octicon-diff-added:before { content: '\f06b'} /* */
|
||||
.octicon-diff-ignored:before { content: '\f099'} /* */
|
||||
.octicon-diff-modified:before { content: '\f06d'} /* */
|
||||
.octicon-diff-removed:before { content: '\f06c'} /* */
|
||||
.octicon-diff-renamed:before { content: '\f06e'} /* */
|
||||
.octicon-ellipsis:before { content: '\f09a'} /* */
|
||||
.octicon-eye-unwatch:before,
|
||||
.octicon-eye-watch:before,
|
||||
.octicon-eye:before { content: '\f04e'} /* */
|
||||
.octicon-file-binary:before { content: '\f094'} /* */
|
||||
.octicon-file-code:before { content: '\f010'} /* */
|
||||
.octicon-file-directory:before { content: '\f016'} /* */
|
||||
.octicon-file-media:before { content: '\f012'} /* */
|
||||
.octicon-file-pdf:before { content: '\f014'} /* */
|
||||
.octicon-file-submodule:before { content: '\f017'} /* */
|
||||
.octicon-file-symlink-directory:before { content: '\f0b1'} /* */
|
||||
.octicon-file-symlink-file:before { content: '\f0b0'} /* */
|
||||
.octicon-file-text:before { content: '\f011'} /* */
|
||||
.octicon-file-zip:before { content: '\f013'} /* */
|
||||
.octicon-flame:before { content: '\f0d2'} /* */
|
||||
.octicon-fold:before { content: '\f0cc'} /* */
|
||||
.octicon-gear:before { content: '\f02f'} /* */
|
||||
.octicon-gift:before { content: '\f042'} /* */
|
||||
.octicon-gist:before { content: '\f00e'} /* */
|
||||
.octicon-gist-secret:before { content: '\f08c'} /* */
|
||||
.octicon-git-branch-create:before,
|
||||
.octicon-git-branch-delete:before,
|
||||
.octicon-git-branch:before { content: '\f020'} /* */
|
||||
.octicon-git-commit:before { content: '\f01f'} /* */
|
||||
.octicon-git-compare:before { content: '\f0ac'} /* */
|
||||
.octicon-git-merge:before { content: '\f023'} /* */
|
||||
.octicon-git-pull-request-abandoned:before,
|
||||
.octicon-git-pull-request:before { content: '\f009'} /* */
|
||||
.octicon-globe:before { content: '\f0b6'} /* */
|
||||
.octicon-graph:before { content: '\f043'} /* */
|
||||
.octicon-heart:before { content: '\2665'} /* ♥ */
|
||||
.octicon-history:before { content: '\f07e'} /* */
|
||||
.octicon-home:before { content: '\f08d'} /* */
|
||||
.octicon-horizontal-rule:before { content: '\f070'} /* */
|
||||
.octicon-hourglass:before { content: '\f09e'} /* */
|
||||
.octicon-hubot:before { content: '\f09d'} /* */
|
||||
.octicon-inbox:before { content: '\f0cf'} /* */
|
||||
.octicon-info:before { content: '\f059'} /* */
|
||||
.octicon-issue-closed:before { content: '\f028'} /* */
|
||||
.octicon-issue-opened:before { content: '\f026'} /* */
|
||||
.octicon-issue-reopened:before { content: '\f027'} /* */
|
||||
.octicon-jersey:before { content: '\f019'} /* */
|
||||
.octicon-jump-down:before { content: '\f072'} /* */
|
||||
.octicon-jump-left:before { content: '\f0a5'} /* */
|
||||
.octicon-jump-right:before { content: '\f0a6'} /* */
|
||||
.octicon-jump-up:before { content: '\f073'} /* */
|
||||
.octicon-key:before { content: '\f049'} /* */
|
||||
.octicon-keyboard:before { content: '\f00d'} /* */
|
||||
.octicon-law:before { content: '\f0d8'} /* */
|
||||
.octicon-light-bulb:before { content: '\f000'} /* */
|
||||
.octicon-link:before { content: '\f05c'} /* */
|
||||
.octicon-link-external:before { content: '\f07f'} /* */
|
||||
.octicon-list-ordered:before { content: '\f062'} /* */
|
||||
.octicon-list-unordered:before { content: '\f061'} /* */
|
||||
.octicon-location:before { content: '\f060'} /* */
|
||||
.octicon-gist-private:before,
|
||||
.octicon-mirror-private:before,
|
||||
.octicon-git-fork-private:before,
|
||||
.octicon-lock:before { content: '\f06a'} /* */
|
||||
.octicon-logo-github:before { content: '\f092'} /* */
|
||||
.octicon-mail:before { content: '\f03b'} /* */
|
||||
.octicon-mail-read:before { content: '\f03c'} /* */
|
||||
.octicon-mail-reply:before { content: '\f051'} /* */
|
||||
.octicon-mark-github:before { content: '\f00a'} /* */
|
||||
.octicon-markdown:before { content: '\f0c9'} /* */
|
||||
.octicon-megaphone:before { content: '\f077'} /* */
|
||||
.octicon-mention:before { content: '\f0be'} /* */
|
||||
.octicon-microscope:before { content: '\f089'} /* */
|
||||
.octicon-milestone:before { content: '\f075'} /* */
|
||||
.octicon-mirror-public:before,
|
||||
.octicon-mirror:before { content: '\f024'} /* */
|
||||
.octicon-mortar-board:before { content: '\f0d7'} /* */
|
||||
.octicon-move-down:before { content: '\f0a8'} /* */
|
||||
.octicon-move-left:before { content: '\f074'} /* */
|
||||
.octicon-move-right:before { content: '\f0a9'} /* */
|
||||
.octicon-move-up:before { content: '\f0a7'} /* */
|
||||
.octicon-mute:before { content: '\f080'} /* */
|
||||
.octicon-no-newline:before { content: '\f09c'} /* */
|
||||
.octicon-octoface:before { content: '\f008'} /* */
|
||||
.octicon-organization:before { content: '\f037'} /* */
|
||||
.octicon-package:before { content: '\f0c4'} /* */
|
||||
.octicon-paintcan:before { content: '\f0d1'} /* */
|
||||
.octicon-pencil:before { content: '\f058'} /* */
|
||||
.octicon-person-add:before,
|
||||
.octicon-person-follow:before,
|
||||
.octicon-person:before { content: '\f018'} /* */
|
||||
.octicon-pin:before { content: '\f041'} /* */
|
||||
.octicon-playback-fast-forward:before { content: '\f0bd'} /* */
|
||||
.octicon-playback-pause:before { content: '\f0bb'} /* */
|
||||
.octicon-playback-play:before { content: '\f0bf'} /* */
|
||||
.octicon-playback-rewind:before { content: '\f0bc'} /* */
|
||||
.octicon-plug:before { content: '\f0d4'} /* */
|
||||
.octicon-repo-create:before,
|
||||
.octicon-gist-new:before,
|
||||
.octicon-file-directory-create:before,
|
||||
.octicon-file-add:before,
|
||||
.octicon-plus:before { content: '\f05d'} /* */
|
||||
.octicon-podium:before { content: '\f0af'} /* */
|
||||
.octicon-primitive-dot:before { content: '\f052'} /* */
|
||||
.octicon-primitive-square:before { content: '\f053'} /* */
|
||||
.octicon-pulse:before { content: '\f085'} /* */
|
||||
.octicon-puzzle:before { content: '\f0c0'} /* */
|
||||
.octicon-question:before { content: '\f02c'} /* */
|
||||
.octicon-quote:before { content: '\f063'} /* */
|
||||
.octicon-radio-tower:before { content: '\f030'} /* */
|
||||
.octicon-repo-delete:before,
|
||||
.octicon-repo:before { content: '\f001'} /* */
|
||||
.octicon-repo-clone:before { content: '\f04c'} /* */
|
||||
.octicon-repo-force-push:before { content: '\f04a'} /* */
|
||||
.octicon-gist-fork:before,
|
||||
.octicon-repo-forked:before { content: '\f002'} /* */
|
||||
.octicon-repo-pull:before { content: '\f006'} /* */
|
||||
.octicon-repo-push:before { content: '\f005'} /* */
|
||||
.octicon-rocket:before { content: '\f033'} /* */
|
||||
.octicon-rss:before { content: '\f034'} /* */
|
||||
.octicon-ruby:before { content: '\f047'} /* */
|
||||
.octicon-screen-full:before { content: '\f066'} /* */
|
||||
.octicon-screen-normal:before { content: '\f067'} /* */
|
||||
.octicon-search-save:before,
|
||||
.octicon-search:before { content: '\f02e'} /* */
|
||||
.octicon-server:before { content: '\f097'} /* */
|
||||
.octicon-settings:before { content: '\f07c'} /* */
|
||||
.octicon-log-in:before,
|
||||
.octicon-sign-in:before { content: '\f036'} /* */
|
||||
.octicon-log-out:before,
|
||||
.octicon-sign-out:before { content: '\f032'} /* */
|
||||
.octicon-split:before { content: '\f0c6'} /* */
|
||||
.octicon-squirrel:before { content: '\f0b2'} /* */
|
||||
.octicon-star-add:before,
|
||||
.octicon-star-delete:before,
|
||||
.octicon-star:before { content: '\f02a'} /* */
|
||||
.octicon-steps:before { content: '\f0c7'} /* */
|
||||
.octicon-stop:before { content: '\f08f'} /* */
|
||||
.octicon-repo-sync:before,
|
||||
.octicon-sync:before { content: '\f087'} /* */
|
||||
.octicon-tag-remove:before,
|
||||
.octicon-tag-add:before,
|
||||
.octicon-tag:before { content: '\f015'} /* */
|
||||
.octicon-telescope:before { content: '\f088'} /* */
|
||||
.octicon-terminal:before { content: '\f0c8'} /* */
|
||||
.octicon-three-bars:before { content: '\f05e'} /* */
|
||||
.octicon-thumbsdown:before { content: '\f0db'} /* */
|
||||
.octicon-thumbsup:before { content: '\f0da'} /* */
|
||||
.octicon-tools:before { content: '\f031'} /* */
|
||||
.octicon-trashcan:before { content: '\f0d0'} /* */
|
||||
.octicon-triangle-down:before { content: '\f05b'} /* */
|
||||
.octicon-triangle-left:before { content: '\f044'} /* */
|
||||
.octicon-triangle-right:before { content: '\f05a'} /* */
|
||||
.octicon-triangle-up:before { content: '\f0aa'} /* */
|
||||
.octicon-unfold:before { content: '\f039'} /* */
|
||||
.octicon-unmute:before { content: '\f0ba'} /* */
|
||||
.octicon-versions:before { content: '\f064'} /* */
|
||||
.octicon-remove-close:before,
|
||||
.octicon-x:before { content: '\f081'} /* */
|
||||
.octicon-zap:before { content: '\26A1'} /* ⚡ */
|
||||
30
libraries/framework/skin/base/fonts/open-sans.less
Normal file
30
libraries/framework/skin/base/fonts/open-sans.less
Normal file
@@ -0,0 +1,30 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('@{fonts-path}/open-sans/OpenSans-Light.ttf');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('@{fonts-path}/open-sans/OpenSans-Regular.ttf');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('@{fonts-path}/open-sans/OpenSans-SemiBold.ttf');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('@{fonts-path}/open-sans/OpenSans-Bold.ttf');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('@{fonts-path}/open-sans/OpenSans-ExtraBold.ttf');
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
}
|
||||
78
libraries/framework/skin/base/fonts/stateface.less
Normal file
78
libraries/framework/skin/base/fonts/stateface.less
Normal file
@@ -0,0 +1,78 @@
|
||||
@font-face {
|
||||
font-family: 'StateFaceRegular';
|
||||
src: url('@{fonts-path}/stateface/stateface-regular-webfont.eot');
|
||||
src: url('@{fonts-path}/stateface/stateface-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('@{fonts-path}/stateface/stateface-regular-webfont.woff') format('woff'),
|
||||
url('@{fonts-path}/stateface/stateface-regular-webfont.ttf') format('truetype'),
|
||||
url('@{fonts-path}/stateface/stateface-regular-webfont.svg#StateFaceRegular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.stateface {
|
||||
font-family: 'StateFaceRegular';
|
||||
display: inline-block;
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.stateface-ak:before{content:"A";}
|
||||
.stateface-al:before{content:"B";}
|
||||
.stateface-ar:before{content:"C";}
|
||||
.stateface-az:before{content:"D";}
|
||||
.stateface-ca:before{content:"E";}
|
||||
.stateface-co:before{content:"F";}
|
||||
.stateface-ct:before{content:"G";}
|
||||
.stateface-dc:before{content:"y";}
|
||||
.stateface-de:before{content:"H";}
|
||||
.stateface-fl:before{content:"I";}
|
||||
.stateface-ga:before{content:"J";}
|
||||
.stateface-hi:before{content:"K";}
|
||||
.stateface-ia:before{content:"L";}
|
||||
.stateface-id:before{content:"M";}
|
||||
.stateface-il:before{content:"N";}
|
||||
.stateface-in:before{content:"O";}
|
||||
.stateface-ks:before{content:"P";}
|
||||
.stateface-ky:before{content:"Q";}
|
||||
.stateface-la:before{content:"R";}
|
||||
.stateface-ma:before{content:"S";}
|
||||
.stateface-md:before{content:"T";}
|
||||
.stateface-me:before{content:"U";}
|
||||
.stateface-mi:before{content:"V";}
|
||||
.stateface-mn:before{content:"W";}
|
||||
.stateface-mo:before{content:"X";}
|
||||
.stateface-ms:before{content:"Y";}
|
||||
.stateface-mt:before{content:"Z";}
|
||||
.stateface-nc:before{content:"a";}
|
||||
.stateface-nd:before{content:"b";}
|
||||
.stateface-ne:before{content:"c";}
|
||||
.stateface-nh:before{content:"d";}
|
||||
.stateface-nj:before{content:"e";}
|
||||
.stateface-nm:before{content:"f";}
|
||||
.stateface-nv:before{content:"g";}
|
||||
.stateface-ny:before{content:"h";}
|
||||
.stateface-oh:before{content:"i";}
|
||||
.stateface-ok:before{content:"j";}
|
||||
.stateface-or:before{content:"k";}
|
||||
.stateface-pa:before{content:"l";}
|
||||
.stateface-pr:before{content:"3";}
|
||||
.stateface-ri:before{content:"m";}
|
||||
.stateface-sc:before{content:"n";}
|
||||
.stateface-sd:before{content:"o";}
|
||||
.stateface-tn:before{content:"p";}
|
||||
.stateface-tx:before{content:"q";}
|
||||
.stateface-us:before{content:"z";}
|
||||
.stateface-ut:before{content:"r";}
|
||||
.stateface-va:before{content:"s";}
|
||||
.stateface-vt:before{content:"t";}
|
||||
.stateface-wa:before{content:"u";}
|
||||
.stateface-wi:before{content:"v";}
|
||||
.stateface-wv:before{content:"w";}
|
||||
.stateface-wy:before{content:"x";}
|
||||
469
libraries/framework/skin/base/fonts/zocial.less
Normal file
469
libraries/framework/skin/base/fonts/zocial.less
Normal file
@@ -0,0 +1,469 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/*!
|
||||
Zocial Butons
|
||||
http://zocial.smcllns.com
|
||||
by Sam Collins (@smcllns)
|
||||
License: http://opensource.org/licenses/mit-license.php
|
||||
|
||||
You are free to use and modify, as long as you keep this license comment intact or link back to zocial.smcllns.com on your site.
|
||||
*/
|
||||
|
||||
|
||||
/* Button structure */
|
||||
|
||||
.zocial,
|
||||
a.zocial {
|
||||
border: 1px solid #777;
|
||||
border-color: rgba(0,0,0,0.2);
|
||||
border-bottom-color: #333;
|
||||
border-bottom-color: rgba(0,0,0,0.4);
|
||||
color: #fff;
|
||||
-moz-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.4), inset 0 0 0.1em rgba(255,255,255,0.9);
|
||||
-webkit-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.4), inset 0 0 0.1em rgba(255,255,255,0.9);
|
||||
box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.4), inset 0 0 0.1em rgba(255,255,255,0.9);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font: bold 100%/2.1 "Lucida Grande", Tahoma, sans-serif;
|
||||
padding: 0 .95em 0 0;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px 0 rgba(0,0,0,0.5);
|
||||
white-space: nowrap;
|
||||
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
position: relative;
|
||||
|
||||
-moz-border-radius: .3em;
|
||||
-webkit-border-radius: .3em;
|
||||
border-radius: .3em;
|
||||
}
|
||||
|
||||
.zocial:before {
|
||||
content: "";
|
||||
border-right: 0.075em solid rgba(0,0,0,0.1);
|
||||
float: left;
|
||||
font: 120%/1.65 zocial;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
margin: 0 0.5em 0 0;
|
||||
padding: 0 0.5em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-transform: none;
|
||||
|
||||
-moz-box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
|
||||
-webkit-box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
|
||||
box-shadow: 0.075em 0 0 rgba(255,255,255,0.25);
|
||||
|
||||
-moz-font-smoothing: antialiased;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.zocial:active {
|
||||
outline: none; /* outline is visible on :focus */
|
||||
}
|
||||
|
||||
/* Buttons can be displayed as standalone icons by adding a class of "icon" */
|
||||
|
||||
.zocial.icon {
|
||||
overflow: hidden;
|
||||
max-width: 2.4em;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
max-height: 2.15em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.zocial.icon:before {
|
||||
padding: 0;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Gradients */
|
||||
|
||||
.zocial {
|
||||
background-image: -moz-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
|
||||
background-image: -ms-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
|
||||
background-image: -o-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.1)), color-stop(49%, rgba(255,255,255,.05)), color-stop(51%, rgba(0,0,0,.05)), to(rgba(0,0,0,.1)));
|
||||
background-image: -webkit-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
|
||||
background-image: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.05) 49%, rgba(0,0,0,.05) 51%, rgba(0,0,0,.1));
|
||||
}
|
||||
|
||||
.zocial:hover, .zocial:focus {
|
||||
background-image: -moz-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
|
||||
background-image: -ms-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
|
||||
background-image: -o-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.15)), color-stop(49%, rgba(255,255,255,.15)), color-stop(51%, rgba(0,0,0,.1)), to(rgba(0,0,0,.15)));
|
||||
background-image: -webkit-linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
|
||||
background-image: linear-gradient(rgba(255,255,255,.15) 49%, rgba(0,0,0,.1) 51%, rgba(0,0,0,.15));
|
||||
}
|
||||
|
||||
.zocial:active {
|
||||
background-image: -moz-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
|
||||
background-image: -ms-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
|
||||
background-image: -o-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.1)), color-stop(30%, rgba(255,255,255,0)), color-stop(50%, transparent), to(rgba(0,0,0,.1)));
|
||||
background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
|
||||
background-image: linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, transparent 50%, rgba(0,0,0,.1));
|
||||
}
|
||||
|
||||
/* Adjustments for light background buttons */
|
||||
|
||||
.zocial.acrobat,
|
||||
.zocial.bitcoin,
|
||||
.zocial.cloudapp,
|
||||
.zocial.dropbox,
|
||||
.zocial.email,
|
||||
.zocial.eventful,
|
||||
.zocial.github,
|
||||
.zocial.gmail,
|
||||
.zocial.instapaper,
|
||||
.zocial.itunes,
|
||||
.zocial.ninetyninedesigns,
|
||||
.zocial.openid,
|
||||
.zocial.plancast,
|
||||
.zocial.pocket,
|
||||
.zocial.posterous,
|
||||
.zocial.reddit,
|
||||
.zocial.secondary,
|
||||
.zocial.stackoverflow,
|
||||
.zocial.viadeo,
|
||||
.zocial.weibo,
|
||||
.zocial.wikipedia {
|
||||
border: 1px solid #aaa;
|
||||
border-color: rgba(0,0,0,0.3);
|
||||
border-bottom-color: #777;
|
||||
border-bottom-color: rgba(0,0,0,0.5);
|
||||
-moz-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.7), inset 0 0 0.08em rgba(255,255,255,0.5);
|
||||
-webkit-box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.7), inset 0 0 0.08em rgba(255,255,255,0.5);
|
||||
box-shadow: inset 0 0.08em 0 rgba(255,255,255,0.7), inset 0 0 0.08em rgba(255,255,255,0.5);
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.8);
|
||||
}
|
||||
|
||||
/* :hover adjustments for light background buttons */
|
||||
|
||||
.zocial.acrobat:focus,
|
||||
.zocial.acrobat:hover,
|
||||
.zocial.bitcoin:focus,
|
||||
.zocial.bitcoin:hover,
|
||||
.zocial.dropbox:focus,
|
||||
.zocial.dropbox:hover,
|
||||
.zocial.email:focus,
|
||||
.zocial.email:hover,
|
||||
.zocial.eventful:focus,
|
||||
.zocial.eventful:hover,
|
||||
.zocial.github:focus,
|
||||
.zocial.github:hover,
|
||||
.zocial.gmail:focus,
|
||||
.zocial.gmail:hover,
|
||||
.zocial.instapaper:focus,
|
||||
.zocial.instapaper:hover,
|
||||
.zocial.itunes:focus,
|
||||
.zocial.itunes:hover,
|
||||
.zocial.ninetyninedesigns:focus,
|
||||
.zocial.ninetyninedesigns:hover,
|
||||
.zocial.openid:focus,
|
||||
.zocial.openid:hover,
|
||||
.zocial.plancast:focus,
|
||||
.zocial.plancast:hover,
|
||||
.zocial.pocket:focus,
|
||||
.zocial.pocket:hover,
|
||||
.zocial.posterous:focus,
|
||||
.zocial.posterous:hover,
|
||||
.zocial.reddit:focus,
|
||||
.zocial.reddit:hover,
|
||||
.zocial.secondary:focus,
|
||||
.zocial.secondary:hover,
|
||||
.zocial.stackoverflow:focus,
|
||||
.zocial.stackoverflow:hover,
|
||||
.zocial.twitter:focus,
|
||||
.zocial.viadeo:focus,
|
||||
.zocial.viadeo:hover,
|
||||
.zocial.weibo:focus,
|
||||
.zocial.weibo:hover,
|
||||
.zocial.wikipedia:focus,
|
||||
.zocial.wikipedia:hover {
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.5)), color-stop(49%, rgba(255,255,255,0.2)), color-stop(51%, rgba(0,0,0,0.05)), to(rgba(0,0,0,0.15)));
|
||||
background-image: -moz-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
|
||||
background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
|
||||
background-image: -o-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
|
||||
background-image: -ms-linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
|
||||
background-image: linear-gradient(top, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.05) 51%, rgba(0,0,0,0.15));
|
||||
}
|
||||
|
||||
/* :active adjustments for light background buttons */
|
||||
|
||||
.zocial.acrobat:active,
|
||||
.zocial.bitcoin:active,
|
||||
.zocial.dropbox:active,
|
||||
.zocial.email:active,
|
||||
.zocial.eventful:active,
|
||||
.zocial.github:active,
|
||||
.zocial.gmail:active,
|
||||
.zocial.instapaper:active,
|
||||
.zocial.itunes:active,
|
||||
.zocial.ninetyninedesigns:active,
|
||||
.zocial.openid:active,
|
||||
.zocial.plancast:active,
|
||||
.zocial.pocket:active,
|
||||
.zocial.posterous:active,
|
||||
.zocial.reddit:active,
|
||||
.zocial.secondary:active,
|
||||
.zocial.stackoverflow:active,
|
||||
.zocial.viadeo:active,
|
||||
.zocial.weibo:active,
|
||||
.zocial.wikipedia:active {
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), color-stop(30%, rgba(255,255,255,0)), color-stop(50%, rgba(0,0,0,0)), to(rgba(0,0,0,0.1)));
|
||||
background-image: -moz-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
|
||||
background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
|
||||
background-image: -o-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
|
||||
background-image: -ms-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
|
||||
background-image: linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1));
|
||||
}
|
||||
|
||||
/* Button icon and color */
|
||||
/* Icon characters are stored in unicode private area */
|
||||
.zocial.acrobat:before {content: "\00E3"; color: #FB0000;}
|
||||
.zocial.amazon:before {content: "a";}
|
||||
.zocial.android:before {content: "&";}
|
||||
.zocial.angellist:before {content: "\00D6";}
|
||||
.zocial.aol:before {content: "\"";}
|
||||
.zocial.appnet:before {content: "\00E1";}
|
||||
.zocial.appstore:before {content: "A";}
|
||||
.zocial.bitbucket:before {content: "\00E9";}
|
||||
.zocial.bitcoin:before {content: "2"; color: #f7931a;}
|
||||
.zocial.blogger:before {content: "B";}
|
||||
.zocial.buffer:before {content: "\00E5";}
|
||||
.zocial.call:before {content: "7";}
|
||||
.zocial.cal:before {content: ".";}
|
||||
.zocial.cart:before {content: "\00C9";}
|
||||
.zocial.chrome:before {content: "[";}
|
||||
.zocial.cloudapp:before {content: "c";}
|
||||
.zocial.creativecommons:before {content: "C";}
|
||||
.zocial.delicious:before {content: "#";}
|
||||
.zocial.digg:before {content: ";";}
|
||||
.zocial.disqus:before {content: "Q";}
|
||||
.zocial.dribbble:before {content: "D";}
|
||||
.zocial.dropbox:before {content: "d"; color: #1f75cc;}
|
||||
.zocial.drupal:before {content: "\00E4"; color: #fff;}
|
||||
.zocial.dwolla:before {content: "\00E0";}
|
||||
.zocial.email:before {content: "]"; color: #312c2a;}
|
||||
.zocial.eventasaurus:before {content: "v"; color: #9de428;}
|
||||
.zocial.eventbrite:before {content: "|";}
|
||||
.zocial.eventful:before {content: "'"; color: #0066CC;}
|
||||
.zocial.evernote:before {content: "E";}
|
||||
.zocial.facebook:before {content: "f";}
|
||||
.zocial.fivehundredpx:before {content: "0"; color: #29b6ff;}
|
||||
.zocial.flattr:before {content: "%";}
|
||||
.zocial.flickr:before {content: "F";}
|
||||
.zocial.forrst:before {content: ":"; color: #50894f;}
|
||||
.zocial.foursquare:before {content: "4";}
|
||||
.zocial.github:before {content: "\00E8";}
|
||||
.zocial.gmail:before {content: "m"; color: #f00;}
|
||||
.zocial.google:before {content: "G";}
|
||||
.zocial.googleplay:before {content: "h";}
|
||||
.zocial.googleplus:before {content: "+";}
|
||||
.zocial.gowalla:before {content: "@";}
|
||||
.zocial.grooveshark:before {content: "8";}
|
||||
.zocial.guest:before {content: "?";}
|
||||
.zocial.html5:before {content: "5";}
|
||||
.zocial.ie:before {content: "6";}
|
||||
.zocial.instagram:before {content: "\00DC";}
|
||||
.zocial.instapaper:before {content: "I";}
|
||||
.zocial.intensedebate:before {content: "{";}
|
||||
.zocial.itunes:before {content: "i"; color: #1a6dd2;}
|
||||
.zocial.klout:before {content: "K"; }
|
||||
.zocial.lanyrd:before {content: "-";}
|
||||
.zocial.lastfm:before {content: "l";}
|
||||
.zocial.lego:before {content: "\00EA"; color:#fff900;}
|
||||
.zocial.linkedin:before {content: "L";}
|
||||
.zocial.lkdto:before {content: "\00EE";}
|
||||
.zocial.logmein:before {content: "\00EB";}
|
||||
.zocial.macstore:before {content: "^";}
|
||||
.zocial.meetup:before {content: "M";}
|
||||
.zocial.myspace:before {content: "_";}
|
||||
.zocial.ninetyninedesigns:before {content: "9"; color: #f50;}
|
||||
.zocial.openid:before {content: "o"; color: #ff921d;}
|
||||
.zocial.opentable:before {content: "\00C7";}
|
||||
.zocial.paypal:before {content: "$";}
|
||||
.zocial.pinboard:before {content: "n";}
|
||||
.zocial.pinterest:before {content: "1";}
|
||||
.zocial.plancast:before {content: "P";}
|
||||
.zocial.plurk:before {content: "j";}
|
||||
.zocial.pocket:before {content: "\00E7"; color:#ee4056;}
|
||||
.zocial.podcast:before {content: "`";}
|
||||
.zocial.posterous:before {content: "~";}
|
||||
.zocial.print:before {content: "\00D1";}
|
||||
.zocial.quora:before {content: "q";}
|
||||
.zocial.reddit:before {content: ">"; color: red;}
|
||||
.zocial.rss:before {content: "R";}
|
||||
.zocial.scribd:before {content: "}"; color: #00d5ea;}
|
||||
.zocial.skype:before {content: "S";}
|
||||
.zocial.smashing:before {content: "*";}
|
||||
.zocial.songkick:before {content: "k";}
|
||||
.zocial.soundcloud:before {content: "s";}
|
||||
.zocial.spotify:before {content: "=";}
|
||||
.zocial.stackoverflow:before {content: "\00EC"; color: #ff7a15;}
|
||||
.zocial.statusnet:before {content: "\00E2"; color: #fff;}
|
||||
.zocial.steam:before {content: "b";}
|
||||
.zocial.stripe:before {content: "\00A3";}
|
||||
.zocial.stumbleupon:before {content: "/";}
|
||||
.zocial.tumblr:before {content: "t";}
|
||||
.zocial.twitter:before {content: "T";}
|
||||
.zocial.viadeo:before {content: "H"; color: #f59b20;}
|
||||
.zocial.vimeo:before {content: "V";}
|
||||
.zocial.vk:before {content: "N";}
|
||||
.zocial.weibo:before {content: "J"; color: #e6162d;}
|
||||
.zocial.wikipedia:before {content: ",";}
|
||||
.zocial.windows:before {content: "W";}
|
||||
.zocial.wordpress:before {content: "w";}
|
||||
.zocial.xing:before {content: "X"}
|
||||
.zocial.yahoo:before {content: "Y";}
|
||||
.zocial.ycombinator:before {content: "\00ED";}
|
||||
.zocial.yelp:before {content: "y";}
|
||||
.zocial.youtube:before {content: "U";}
|
||||
|
||||
/* Button background and text color */
|
||||
|
||||
.zocial.acrobat {background-color: #fff; color: #000;}
|
||||
.zocial.amazon {background-color: #ffad1d; color: #030037; text-shadow: 0 1px 0 rgba(255,255,255,0.5);}
|
||||
.zocial.android {background-color: #a4c639;}
|
||||
.zocial.angellist {background-color: #000;}
|
||||
.zocial.aol {background-color: #f00;}
|
||||
.zocial.appnet {background-color: #3178bd;}
|
||||
.zocial.appstore {background-color: #000;}
|
||||
.zocial.bitbucket {background-color: #205081;}
|
||||
.zocial.bitcoin {background-color: #efefef; color: #4d4d4d;}
|
||||
.zocial.blogger {background-color: #ee5a22;}
|
||||
.zocial.buffer {background-color: #232323;}
|
||||
.zocial.call {background-color: #008000;}
|
||||
.zocial.cal {background-color: #d63538;}
|
||||
.zocial.cart {background-color: #333;}
|
||||
.zocial.chrome {background-color: #006cd4;}
|
||||
.zocial.cloudapp {background-color: #fff; color: #312c2a;}
|
||||
.zocial.creativecommons {background-color: #000;}
|
||||
.zocial.delicious {background-color: #3271cb;}
|
||||
.zocial.digg {background-color: #164673;}
|
||||
.zocial.disqus {background-color: #5d8aad;}
|
||||
.zocial.dribbble {background-color: #ea4c89;}
|
||||
.zocial.dropbox {background-color: #fff; color: #312c2a;}
|
||||
.zocial.drupal {background-color: #0077c0; color: #fff;}
|
||||
.zocial.dwolla {background-color: #e88c02;}
|
||||
.zocial.email {background-color: #f0f0eb; color: #312c2a;}
|
||||
.zocial.eventasaurus {background-color: #192931; color: #fff;}
|
||||
.zocial.eventbrite {background-color: #ff5616;}
|
||||
.zocial.eventful {background-color: #fff; color: #47ab15;}
|
||||
.zocial.evernote {background-color: #6bb130; color: #fff;}
|
||||
.zocial.facebook {background-color: #4863ae;}
|
||||
.zocial.fivehundredpx {background-color: #333;}
|
||||
.zocial.flattr {background-color: #8aba42;}
|
||||
.zocial.flickr {background-color: #ff0084;}
|
||||
.zocial.forrst {background-color: #1e360d;}
|
||||
.zocial.foursquare {background-color: #44a8e0;}
|
||||
.zocial.github {background-color: #fbfbfb; color: #050505;}
|
||||
.zocial.gmail {background-color: #efefef; color: #222;}
|
||||
.zocial.google {background-color: #4e6cf7;}
|
||||
.zocial.googleplay {background-color: #000;}
|
||||
.zocial.googleplus {background-color: #dd4b39;}
|
||||
.zocial.gowalla {background-color: #ff720a;}
|
||||
.zocial.grooveshark {background-color: #111; color:#eee;}
|
||||
.zocial.guest {background-color: #1b4d6d;}
|
||||
.zocial.html5 {background-color: #ff3617;}
|
||||
.zocial.ie {background-color: #00a1d9;}
|
||||
.zocial.instapaper {background-color: #eee; color: #222;}
|
||||
.zocial.instagram {background-color: #3f729b;}
|
||||
.zocial.intensedebate {background-color: #0099e1;}
|
||||
.zocial.klout {background-color: #e34a25;}
|
||||
.zocial.itunes {background-color: #efefeb; color: #312c2a;}
|
||||
.zocial.lanyrd {background-color: #2e6ac2;}
|
||||
.zocial.lastfm {background-color: #dc1a23;}
|
||||
.zocial.lego {background-color: #fb0000;}
|
||||
.zocial.linkedin {background-color: #0083a8;}
|
||||
.zocial.lkdto {background-color: #7c786f;}
|
||||
.zocial.logmein {background-color: #000;}
|
||||
.zocial.macstore {background-color: #007dcb}
|
||||
.zocial.meetup {background-color: #ff0026;}
|
||||
.zocial.myspace {background-color: #000;}
|
||||
.zocial.ninetyninedesigns {background-color: #fff; color: #072243;}
|
||||
.zocial.openid {background-color: #f5f5f5; color: #333;}
|
||||
.zocial.opentable {background-color: #990000;}
|
||||
.zocial.paypal {background-color: #fff; color: #32689a; text-shadow: 0 1px 0 rgba(255,255,255,0.5);}
|
||||
.zocial.pinboard {background-color: blue;}
|
||||
.zocial.pinterest {background-color: #c91618;}
|
||||
.zocial.plancast {background-color: #e7ebed; color: #333;}
|
||||
.zocial.plurk {background-color: #cf682f;}
|
||||
.zocial.pocket {background-color: #fff; color: #777;}
|
||||
.zocial.podcast {background-color: #9365ce;}
|
||||
.zocial.posterous {background-color: #ffd959; color: #bc7134;}
|
||||
.zocial.print {background-color: #f0f0eb; color: #222; text-shadow: 0 1px 0 rgba(255,255,255,0.8);}
|
||||
.zocial.quora {background-color: #a82400;}
|
||||
.zocial.reddit {background-color: #fff; color: #222;}
|
||||
.zocial.rss {background-color: #ff7f25;}
|
||||
.zocial.scribd {background-color: #231c1a;}
|
||||
.zocial.skype {background-color: #00a2ed;}
|
||||
.zocial.smashing {background-color: #ff4f27;}
|
||||
.zocial.songkick {background-color: #ff0050;}
|
||||
.zocial.soundcloud {background-color: #ff4500;}
|
||||
.zocial.spotify {background-color: #60af00;}
|
||||
.zocial.stackoverflow {background-color: #fff; color: #555;}
|
||||
.zocial.statusnet {background-color: #829d25;}
|
||||
.zocial.steam {background-color: #000;}
|
||||
.zocial.stripe {background-color: #2f7ed6;}
|
||||
.zocial.stumbleupon {background-color: #eb4924;}
|
||||
.zocial.tumblr {background-color: #374a61;}
|
||||
.zocial.twitter {background-color: #46c0fb;}
|
||||
.zocial.viadeo {background-color: #fff; color: #000;}
|
||||
.zocial.vimeo {background-color: #00a2cd;}
|
||||
.zocial.vk {background-color: #45688E;}
|
||||
.zocial.weibo {background-color: #faf6f1; color: #000;}
|
||||
.zocial.wikipedia {background-color: #fff; color: #000;}
|
||||
.zocial.windows {background-color: #0052a4; color: #fff;}
|
||||
.zocial.wordpress {background-color: #464646;}
|
||||
.zocial.xing {background-color: #0a5d5e;}
|
||||
.zocial.yahoo {background-color: #a200c2;}
|
||||
.zocial.ycombinator {background-color: #ff6600;}
|
||||
.zocial.yelp {background-color: #e60010;}
|
||||
.zocial.youtube {background-color: #f00;}
|
||||
|
||||
/*
|
||||
The Miscellaneous Buttons
|
||||
These button have no icons and can be general purpose buttons while ensuring consistent button style
|
||||
Credit to @guillermovs for suggesting
|
||||
*/
|
||||
|
||||
.zocial.primary, .zocial.secondary {margin: 0.1em 0; padding: 0 1em;}
|
||||
.zocial.primary:before, .zocial.secondary:before {display: none;}
|
||||
.zocial.primary {background-color: #333;}
|
||||
.zocial.secondary {background-color: #f0f0eb; color: #222; text-shadow: 0 1px 0 rgba(255,255,255,0.8);}
|
||||
|
||||
/* Any browser-specific adjustments */
|
||||
|
||||
button:-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Reference icons from font-files
|
||||
** Base 64-encoded version recommended to resolve cross-site font-loading issues
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: 'zocial';
|
||||
src: url('@{fonts-path}/zocial/zocial-regular-webfont.eot');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'zocial';
|
||||
src: url('@{fonts-path}/zocial/zocial-regular-webfont.ttf') format('truetype'),
|
||||
url('@{fonts-path}/zocial/zocial-regular-webfont.svg#zocialregular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
662
libraries/framework/skin/base/forms.less
Normal file
662
libraries/framework/skin/base/forms.less
Normal file
@@ -0,0 +1,662 @@
|
||||
/*==================================================
|
||||
Forms
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Normalize non-controls
|
||||
//
|
||||
// Restyle and baseline non-control form elements.
|
||||
|
||||
fieldset {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
// Chrome and Firefox set a `min-width: min-content;` on fieldsets,
|
||||
// so we reset that to ensure it behaves more like a standard block element.
|
||||
// See https://github.com/twbs/bootstrap/issues/12359.
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: @line-height-computed;
|
||||
font-size: (@font-size-base * 1.5);
|
||||
line-height: inherit;
|
||||
color: @legend-color;
|
||||
border: 0;
|
||||
border-bottom: 1px solid @legend-border-color;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)
|
||||
margin-bottom: 5px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
||||
// Normalize form controls
|
||||
//
|
||||
// While most of our form styles require extra classes, some basic normalization
|
||||
// is required to ensure optimum display with or without those classes to better
|
||||
// address browser inconsistencies.
|
||||
|
||||
// Override content-box in Normalize (* isn't specific enough)
|
||||
input[type="search"] {
|
||||
.box-sizing(border-box);
|
||||
}
|
||||
|
||||
// Position radios and checkboxes better
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
margin: 4px 0 0;
|
||||
margin-top: 1px \9; // IE8-9
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
// Set the height of file controls to match text inputs
|
||||
input[type="file"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Make range inputs behave like textual form controls
|
||||
input[type="range"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// Make multiple select elements height not fixed
|
||||
select[multiple],
|
||||
select[size] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// Focus for file, radio, and checkbox
|
||||
input[type="file"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
input[type="checkbox"]:focus {
|
||||
.tab-focus();
|
||||
}
|
||||
|
||||
// Adjust output element
|
||||
output {
|
||||
display: block;
|
||||
padding-top: (@padding-base-vertical + 1);
|
||||
font-size: @font-size-base;
|
||||
line-height: @line-height-base;
|
||||
color: @input-color;
|
||||
}
|
||||
|
||||
|
||||
// Common form controls
|
||||
//
|
||||
// Shared size and type resets for form controls. Apply `.form-control` to any
|
||||
// of the following form controls:
|
||||
//
|
||||
// select
|
||||
// textarea
|
||||
// input[type="text"]
|
||||
// input[type="password"]
|
||||
// input[type="datetime"]
|
||||
// input[type="datetime-local"]
|
||||
// input[type="date"]
|
||||
// input[type="month"]
|
||||
// input[type="time"]
|
||||
// input[type="week"]
|
||||
// input[type="number"]
|
||||
// input[type="email"]
|
||||
// input[type="url"]
|
||||
// input[type="search"]
|
||||
// input[type="tel"]
|
||||
// input[type="color"]
|
||||
|
||||
.form-control {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
||||
padding: @padding-base-vertical @padding-base-horizontal;
|
||||
font-size: @font-size-base;
|
||||
line-height: @line-height-base;
|
||||
color: @input-color;
|
||||
background-color: @input-bg;
|
||||
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
||||
border: 1px solid @input-border;
|
||||
border-radius: @input-border-radius;
|
||||
.transition(~"border-color ease-in-out .15s");
|
||||
|
||||
// Customize the `:focus` state to imitate native WebKit styles.
|
||||
.form-control-focus();
|
||||
|
||||
// Placeholder
|
||||
.placeholder();
|
||||
|
||||
// Disabled and read-only inputs
|
||||
//
|
||||
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
||||
// disabled if the fieldset is disabled. Due to implementation difficulty, we
|
||||
// don't honor that edge case; we style them as disabled anyway.
|
||||
&[disabled],
|
||||
&[readonly],
|
||||
fieldset[disabled] & {
|
||||
cursor: not-allowed;
|
||||
background-color: @input-bg-disabled;
|
||||
opacity: 1; // iOS fix for unreadable disabled content
|
||||
}
|
||||
|
||||
// Reset height for `textarea`s
|
||||
textarea& {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Text Area Mods
|
||||
textarea.form-control {
|
||||
resize: vertical;
|
||||
}
|
||||
textarea.textarea-grow {
|
||||
height: @input-height-base;
|
||||
resize: none;
|
||||
}
|
||||
textarea.textarea-grow:focus {
|
||||
height: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
// search bar mod
|
||||
.input-hero .form-control {
|
||||
padding: 14px 25px;
|
||||
height: 60px;
|
||||
background: #f9f9f9;
|
||||
border: 1px solid #DDD;
|
||||
font-size: 16px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
// Search inputs in iOS
|
||||
//
|
||||
// This overrides the extra rounded corners on search inputs in iOS so that our
|
||||
// `.form-control` class can properly style them. Note that this cannot simply
|
||||
// be added to `.form-control` as it's not specific enough. For details, see
|
||||
// https://github.com/twbs/bootstrap/issues/11586.
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
|
||||
// Special styles for iOS temporal inputs
|
||||
//
|
||||
// In Mobile Safari, setting `display: block` on temporal inputs causes the
|
||||
// text within the input to become vertically misaligned.
|
||||
// As a workaround, we set a pixel line-height that matches the
|
||||
// given height of the input. Since this fucks up everything else, we have to
|
||||
// appropriately reset it for Internet Explorer and the size variations.
|
||||
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="datetime-local"],
|
||||
input[type="month"] {
|
||||
line-height: @input-height-base;
|
||||
// IE8+ misaligns the text within date inputs, so we reset
|
||||
line-height: @line-height-base ~"\0";
|
||||
|
||||
&.input-sm {
|
||||
line-height: @input-height-small;
|
||||
}
|
||||
&.input-lg {
|
||||
line-height: @input-height-large;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Form groups
|
||||
//
|
||||
// Designed to help with the organization and spacing of vertical forms. For
|
||||
// horizontal forms, use the predefined grid classes.
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
// Checkboxes and radios
|
||||
//
|
||||
// Indent the labels to position radios/checkboxes as hanging controls.
|
||||
|
||||
.radio,
|
||||
.checkbox {
|
||||
position: relative;
|
||||
display: block;
|
||||
min-height: @line-height-computed; // clear the floating input if there is no label text
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
label {
|
||||
padding-left: 20px;
|
||||
margin-bottom: 0;
|
||||
font-weight: normal;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
.radio input[type="radio"],
|
||||
.radio-inline input[type="radio"],
|
||||
.checkbox input[type="checkbox"],
|
||||
.checkbox-inline input[type="checkbox"] {
|
||||
position: absolute;
|
||||
margin-left: -20px;
|
||||
margin-top: 4px \9;
|
||||
}
|
||||
|
||||
.radio + .radio,
|
||||
.checkbox + .checkbox {
|
||||
margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
|
||||
}
|
||||
|
||||
// Radios and checkboxes on same line
|
||||
.radio-inline,
|
||||
.checkbox-inline {
|
||||
display: inline-block;
|
||||
padding-left: 20px;
|
||||
margin-bottom: 0;
|
||||
vertical-align: middle;
|
||||
font-weight: normal;
|
||||
cursor: pointer;
|
||||
}
|
||||
.radio-inline + .radio-inline,
|
||||
.checkbox-inline + .checkbox-inline {
|
||||
margin-top: 0;
|
||||
margin-left: 10px; // space out consecutive inline controls
|
||||
}
|
||||
|
||||
// Apply same disabled cursor tweak as for inputs
|
||||
// Some special care is needed because <label>s don't inherit their parent's `cursor`.
|
||||
//
|
||||
// Note: Neither radios nor checkboxes can be readonly.
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
&[disabled],
|
||||
&.disabled,
|
||||
fieldset[disabled] & {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
// These classes are used directly on <label>s
|
||||
.radio-inline,
|
||||
.checkbox-inline {
|
||||
&.disabled,
|
||||
fieldset[disabled] & {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
// These classes are used on elements with <label> descendants
|
||||
.radio,
|
||||
.checkbox {
|
||||
&.disabled,
|
||||
fieldset[disabled] & {
|
||||
label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Static form control text
|
||||
//
|
||||
// Apply class to a `p` element to make any string of text align with labels in
|
||||
// a horizontal form layout.
|
||||
|
||||
.form-control-static {
|
||||
// Size it appropriately next to real form controls
|
||||
padding-top: (@padding-base-vertical + 1);
|
||||
padding-bottom: (@padding-base-vertical + 1);
|
||||
// Remove default margin from `p`
|
||||
margin-bottom: 0;
|
||||
|
||||
&.input-lg,
|
||||
&.input-sm {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Form control sizing
|
||||
//
|
||||
// Build on `.form-control` with modifier classes to decrease or increase the
|
||||
// height and font-size of form controls.
|
||||
.input-sm {
|
||||
.input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
||||
}
|
||||
|
||||
.input-lg {
|
||||
.input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
|
||||
}
|
||||
|
||||
|
||||
// Form control feedback states
|
||||
//
|
||||
// Apply contextual and semantic states to individual form controls.
|
||||
|
||||
.has-feedback {
|
||||
// Enable absolute positioning
|
||||
position: relative;
|
||||
|
||||
// Ensure icons don't overlap text
|
||||
.form-control {
|
||||
padding-right: (@input-height-base * 1.25);
|
||||
}
|
||||
}
|
||||
// Feedback icon (requires .glyphicon classes)
|
||||
.form-control-feedback {
|
||||
position: absolute;
|
||||
top: (@line-height-computed + 5); // Height of the `label` and its margin
|
||||
right: 0;
|
||||
z-index: 2; // Ensure icon is above input groups
|
||||
display: block;
|
||||
width: @input-height-base;
|
||||
height: @input-height-base;
|
||||
line-height: @input-height-base;
|
||||
text-align: center;
|
||||
}
|
||||
.input-lg + .form-control-feedback {
|
||||
width: @input-height-large;
|
||||
height: @input-height-large;
|
||||
line-height: @input-height-large;
|
||||
}
|
||||
.input-sm + .form-control-feedback {
|
||||
width: @input-height-small;
|
||||
height: @input-height-small;
|
||||
line-height: @input-height-small;
|
||||
}
|
||||
|
||||
// Contextual Skin Feedback states
|
||||
.has-primary when (@skin-primary) {
|
||||
.form-control-validation(@state-primary-text; @state-primary-text; @state-primary-bg);
|
||||
}
|
||||
.has-success when (@skin-success) {
|
||||
.form-control-validation(@state-success-text; @state-success-text; @state-success-bg);
|
||||
}
|
||||
.has-info when (@skin-info) {
|
||||
.form-control-validation(@state-info-text; @state-info-text; @state-info-bg);
|
||||
}
|
||||
.has-warning when (@skin-warning) {
|
||||
.form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);
|
||||
}
|
||||
.has-error when (@skin-danger) {
|
||||
.form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);
|
||||
}
|
||||
.has-alert when (@skin-alert) {
|
||||
.form-control-validation(@state-alert-text; @state-alert-text; @state-alert-bg);
|
||||
}
|
||||
.has-system when (@skin-system) {
|
||||
.form-control-validation(@state-system-text; @state-system-text; @state-system-bg);
|
||||
}
|
||||
|
||||
// Reposition feedback icon if label is hidden with "screenreader only" state
|
||||
.has-feedback label.sr-only ~ .form-control-feedback {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
|
||||
// Help text
|
||||
//
|
||||
// Apply to any element you wish to create light text for placement immediately
|
||||
// below a form control. Use for general help, formatting, or instructional text.
|
||||
|
||||
.help-block {
|
||||
display: block; // account for any element using help-block
|
||||
margin-top: 5px;
|
||||
margin-bottom: 10px;
|
||||
color: lighten(@text-color, 25%); // lighten the text some for contrast
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Inline forms
|
||||
//
|
||||
// Make forms appear inline(-block) by adding the `.form-inline` class. Inline
|
||||
// forms begin stacked on extra small (mobile) devices and then go inline when
|
||||
// viewports reach <768px.
|
||||
//
|
||||
// Requires wrapping inputs and labels with `.form-group` for proper display of
|
||||
// default HTML form controls and our custom form controls (e.g., input groups).
|
||||
//
|
||||
// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
|
||||
|
||||
.form-inline {
|
||||
|
||||
// Kick in the inline
|
||||
@media (min-width: @screen-sm-min) {
|
||||
// Inline-block all the things for "inline"
|
||||
.form-group {
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// In navbar-form, allow folks to *not* use `.form-group`
|
||||
.form-control {
|
||||
display: inline-block;
|
||||
width: auto; // Prevent labels from stacking above inputs in `.form-group`
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
display: inline-table;
|
||||
vertical-align: middle;
|
||||
|
||||
.input-group-addon,
|
||||
.input-group-btn,
|
||||
.form-control {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Input groups need that 100% width though
|
||||
.input-group > .form-control {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.control-label {
|
||||
margin-bottom: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// Remove default margin on radios/checkboxes that were used for stacking, and
|
||||
// then undo the floating of radios and checkboxes to match (which also avoids
|
||||
// a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
|
||||
.radio,
|
||||
.checkbox {
|
||||
display: inline-block;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
vertical-align: middle;
|
||||
|
||||
label {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
.radio input[type="radio"],
|
||||
.checkbox input[type="checkbox"] {
|
||||
position: relative;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
// Validation states
|
||||
//
|
||||
// Reposition the icon because it's now within a grid column and columns have
|
||||
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
||||
.has-feedback .form-control-feedback {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Horizontal forms
|
||||
//
|
||||
// Horizontal forms are built on grid classes and allow you to create forms with
|
||||
// labels on the left and inputs on the right.
|
||||
|
||||
.form-horizontal {
|
||||
|
||||
// Consistent vertical alignment of radios and checkboxes
|
||||
//
|
||||
// Labels also get some reset styles, but that is scoped to a media query below.
|
||||
.radio,
|
||||
.checkbox,
|
||||
.radio-inline,
|
||||
.checkbox-inline {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding-top: (@padding-base-vertical + 1); // Default padding plus a border
|
||||
}
|
||||
// Account for padding we're adding to ensure the alignment and of help text
|
||||
// and other content below items
|
||||
.radio,
|
||||
.checkbox {
|
||||
min-height: (@line-height-computed + (@padding-base-vertical + 1));
|
||||
}
|
||||
|
||||
// Make form groups behave like rows
|
||||
.form-group {
|
||||
.make-row();
|
||||
}
|
||||
|
||||
// Reset spacing and right align labels, but scope to media queries so that
|
||||
// labels on narrow viewports stack the same as a default form example.
|
||||
@media (min-width: @screen-sm-min) {
|
||||
.control-label {
|
||||
text-align: right;
|
||||
margin-bottom: 0;
|
||||
padding-top: (@padding-base-vertical + 1); // Default padding plus a border
|
||||
}
|
||||
}
|
||||
|
||||
// Validation states
|
||||
//
|
||||
// Reposition the icon because it's now within a grid column and columns have
|
||||
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
||||
.has-feedback .form-control-feedback {
|
||||
top: 0;
|
||||
right: (@grid-gutter-width / 2);
|
||||
}
|
||||
|
||||
// Form group sizes
|
||||
//
|
||||
// Quick utility class for applying `.input-lg` and `.input-sm` styles to the
|
||||
// inputs and labels within a `.form-group`.
|
||||
.form-group-lg {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
.control-label {
|
||||
padding-top: ((@padding-large-vertical * @line-height-large) + 1);
|
||||
}
|
||||
}
|
||||
.form-control {
|
||||
&:extend(.input-lg);
|
||||
}
|
||||
}
|
||||
.form-group-sm {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
.control-label {
|
||||
padding-top: (@padding-small-vertical + 1);
|
||||
}
|
||||
}
|
||||
.form-control {
|
||||
&:extend(.input-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
Form Groups
|
||||
================================================= */
|
||||
.form-bordered .form-group {
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
padding-bottom: 18px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.form-bordered .form-group:last-child {
|
||||
border-bottom: none;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*===============================================
|
||||
Field Icons and Addons
|
||||
================================================= */
|
||||
.append-icon {
|
||||
position: absolute;
|
||||
left: 23px;
|
||||
top: 8px;
|
||||
font-size: 14px; }
|
||||
|
||||
.append-icon.right {
|
||||
left: auto;
|
||||
right: 23px; }
|
||||
|
||||
.append-icon + input.form-control {
|
||||
padding-right: 40px; }
|
||||
|
||||
/* Input Addon */
|
||||
.input-group-addon {
|
||||
color: #4a89dc;
|
||||
background-color: #fafafa;
|
||||
border-color: #DDD; }
|
||||
|
||||
|
||||
/*===============================================
|
||||
Input Hero - Used on FAQ and ui-icons page
|
||||
================================================= */
|
||||
.input-group.input-hero {
|
||||
display: block;
|
||||
}
|
||||
.input-group.input-hero .input-group-addon {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 13px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
z-index: 3;
|
||||
font-size: 18px;
|
||||
}
|
||||
.input-group.input-hero .input-group-addon + input.form-control {
|
||||
border-left: 3px solid @brand-primary;
|
||||
display: block;
|
||||
float: none;
|
||||
padding-left: 60px;
|
||||
z-index: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
/* Input Hero Size - SM */
|
||||
.input-hero.input-hero-sm .form-control {
|
||||
height: 54px;
|
||||
background: #FFF;
|
||||
}
|
||||
.input-hero.input-hero-sm .input-group-addon {
|
||||
top: 8px;
|
||||
left: 10px;
|
||||
}
|
||||
.input-group.input-hero-sm .input-group-addon + input.form-control {
|
||||
padding-left: 54px;
|
||||
}
|
||||
|
||||
|
||||
/*===============================================
|
||||
Maxlength Indicator - 3rd party plugin
|
||||
Not enough styles to grant own stylesheet
|
||||
================================================= */
|
||||
.bootstrap-maxlength {
|
||||
opacity: 0.6;
|
||||
padding: 0px 15px;
|
||||
border-radius: 0;
|
||||
}
|
||||
.bootstrap-maxlength.maxlength-right {
|
||||
padding: 7px 12px;
|
||||
margin-top: -8px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
102
libraries/framework/skin/base/grid.less
Normal file
102
libraries/framework/skin/base/grid.less
Normal file
@@ -0,0 +1,102 @@
|
||||
/*==================================================
|
||||
Grid System
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Container widths
|
||||
//
|
||||
// Set the container width, and override it for fixed navbars in media queries.
|
||||
|
||||
.container {
|
||||
.container-fixed();
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
width: @container-sm;
|
||||
}
|
||||
@media (min-width: @screen-md-min) {
|
||||
width: @container-md;
|
||||
}
|
||||
@media (min-width: @screen-lg-min) {
|
||||
width: @container-lg;
|
||||
}
|
||||
@media (min-width: @screen-xl-min) {
|
||||
width: @container-xl;
|
||||
}
|
||||
}
|
||||
|
||||
// Predefined container sizing classes
|
||||
.container-sm { max-width: 640px; }
|
||||
.container-md { max-width: 860px; }
|
||||
.container-lg { max-width: 1000px; }
|
||||
.container-xl { max-width: 1200px; }
|
||||
|
||||
|
||||
// Fluid container
|
||||
//
|
||||
// Utilizes the mixin meant for fixed width containers, but without any defined
|
||||
// width for fluid, full width layouts.
|
||||
|
||||
.container-fluid {
|
||||
.container-fixed();
|
||||
}
|
||||
|
||||
|
||||
// Row
|
||||
//
|
||||
// Rows contain and clear the floats of your columns.
|
||||
|
||||
.row {
|
||||
.make-row();
|
||||
}
|
||||
|
||||
|
||||
// Columns
|
||||
//
|
||||
// Common styles for small and large grid columns
|
||||
|
||||
.make-grid-columns();
|
||||
|
||||
|
||||
// Extra small grid
|
||||
//
|
||||
// Columns, offsets, pushes, and pulls for extra small devices like
|
||||
// smartphones.
|
||||
|
||||
.make-grid(xs);
|
||||
|
||||
|
||||
// Small grid
|
||||
//
|
||||
// Columns, offsets, pushes, and pulls for the small device range, from phones
|
||||
// to tablets.
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
.make-grid(sm);
|
||||
}
|
||||
|
||||
|
||||
// Medium grid
|
||||
//
|
||||
// Columns, offsets, pushes, and pulls for the desktop device range.
|
||||
|
||||
@media (min-width: @screen-md-min) {
|
||||
.make-grid(md);
|
||||
}
|
||||
|
||||
|
||||
// Large grid
|
||||
//
|
||||
// Columns, offsets, pushes, and pulls for the large desktop device range.
|
||||
|
||||
@media (min-width: @screen-lg-min) {
|
||||
.make-grid(lg);
|
||||
}
|
||||
|
||||
|
||||
// XLarge grid
|
||||
//
|
||||
// Columns, offsets, pushes, and pulls for the extra large desktop device range.
|
||||
|
||||
@media (min-width: @screen-xl-min) {
|
||||
.make-grid(xl);
|
||||
}
|
||||
1485
libraries/framework/skin/base/helpers.less
Normal file
1485
libraries/framework/skin/base/helpers.less
Normal file
File diff suppressed because it is too large
Load Diff
249
libraries/framework/skin/base/icons.less
Normal file
249
libraries/framework/skin/base/icons.less
Normal file
@@ -0,0 +1,249 @@
|
||||
/*==================================================
|
||||
Icons
|
||||
==================================================== */
|
||||
.wf-loading .glyphicons,
|
||||
.wf-loading .glyphicon,
|
||||
.wf-loading .imoon,
|
||||
.wf-loading .fa,
|
||||
.wf-loading .iconsweets {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
/* Font Awesome Fixed Width Helpers */
|
||||
.fs15.fa-fw { width: 35px; }
|
||||
.fs16.fa-fw { width: 40px; }
|
||||
.fs17.fa-fw { width: 43px; }
|
||||
.fs18.fa-fw { width: 46px; }
|
||||
|
||||
/* Icon Transitions */
|
||||
.glyphicon, .glyphicons,
|
||||
.imoon, .fa, .iconsweets {
|
||||
opacity: 1;
|
||||
transition: opacity 0.1s ease-in;
|
||||
-moz-transition: opacity 0.1s ease-in;
|
||||
-webkit-transition: opacity 0.1s ease-in;
|
||||
}
|
||||
/* Glyphicon Pro and Halfling */
|
||||
.glyphicons-2x, .glyphicon-2x { font-size: 2em }
|
||||
.glyphicons-3x, .glyphicon-3x { font-size: 3em }
|
||||
.glyphicons-4x, .glyphicon-4x { font-size: 4em }
|
||||
.glyphicons-5x, .glyphicon-5x { font-size: 5em }
|
||||
/* Icomoon Font Icons */
|
||||
.imoon-2x { font-size: 2em }
|
||||
.imoon-3x { font-size: 3em }
|
||||
.imoon-4x { font-size: 4em }
|
||||
.imoon-5x { font-size: 5em }
|
||||
/* IconSweets2 Font Icons */
|
||||
.iconsweets-2x { font-size: 2em }
|
||||
.iconsweets-3x { font-size: 3em }
|
||||
.iconsweets-4x { font-size: 4em }
|
||||
.iconsweets-5x { font-size: 5em }
|
||||
|
||||
/* Buttons with Icons
|
||||
* Cross browser problems were creating problems when
|
||||
* an icon was given a larger font size than its sibling
|
||||
* text. To fix Line height, vertical align, and top
|
||||
* positioning have been redefined */
|
||||
.btn .glyphicon, .btn .glyphicons {
|
||||
top: -1px;
|
||||
vertical-align: middle;
|
||||
line-height: 0;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
/* A Helper Class to Align Icons Right in Control-forms */
|
||||
span.field-icon-right,
|
||||
i.field-icon-right {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
/* Icon Background and Borders
|
||||
* properly align icons that have been placed inside of titles
|
||||
* Useful for matching icon size to adjacent text
|
||||
* Icon Background Shapes */
|
||||
.icon-circle {
|
||||
top: 0;
|
||||
padding: 9px;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
border-radius: 64px; }
|
||||
|
||||
.icon-square {
|
||||
top: 0;
|
||||
padding: 9px;
|
||||
border-radius: 4px; }
|
||||
|
||||
/* Icon Background Sizes */
|
||||
.icon-circle.glyphicon-2x,
|
||||
.icon-circle.glyphicons-2x {
|
||||
padding: 12px; }
|
||||
|
||||
.icon-circle.glyphicon-3x,
|
||||
.icon-circle.glyphicons-3x {
|
||||
padding: 20px; }
|
||||
|
||||
.icon-circle.glyphicon-4x,
|
||||
.icon-circle.glyphicons-4x {
|
||||
padding: 35px; }
|
||||
|
||||
.icon-square.glyphicon-2x,
|
||||
.icon-square.glyphicons-2x {
|
||||
padding: 12px; }
|
||||
|
||||
.icon-square.glyphicon-3x,
|
||||
.icon-square.glyphicons-3x {
|
||||
padding: 20px; }
|
||||
|
||||
.icon-square.glyphicon-4x,
|
||||
.icon-square.glyphicons-4x {
|
||||
padding: 35px; }
|
||||
|
||||
|
||||
/* WIDGET SPECIFIC ICON STYLING
|
||||
* ALL elements which use icons have been
|
||||
* moved from their respective positions
|
||||
* and placed here for easy icon styling */
|
||||
|
||||
/* Header Button Icons */
|
||||
.navbar-menus > div > button > span,
|
||||
.navbar-menus > div > button > i {
|
||||
font-size: 15px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
/* Special on-hover styles for user dropdown menu */
|
||||
.user-menu ul.dropdown-items > li:hover .glyphicon { color: #d9534f; }
|
||||
.user-menu ul.dropdown-items > li:last-child:hover .glyphicon { color: #888; }
|
||||
.user-menu ul.dropdown-items > li:last-child > div:hover .glyphicon { color: #d9534f; }
|
||||
|
||||
/* Breadcrumb "Home" Icon */
|
||||
.breadcrumb .glyphicon,
|
||||
.breadcrumb .glyphicons {
|
||||
color: #777;
|
||||
font-size: 11px;
|
||||
margin-left: 1px;
|
||||
top: 0;
|
||||
}
|
||||
/* Panel Sidemenu Icons */
|
||||
.panel-sidemenu ul.nav li.active .fa { color: @brand-primary; }
|
||||
.panel-sidemenu ul.nav li a:hover { background: none }
|
||||
.panel-sidemenu ul.nav li .fa {
|
||||
width: 28px;
|
||||
color: #BBB;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* Panel Tabs Icons */
|
||||
.panel-tabs li .glyphicon,
|
||||
.panel-tabs li .glyphicons,
|
||||
.panel-tabs li .fa {
|
||||
font-size: 14px
|
||||
}
|
||||
.panel-tabs .imoon,
|
||||
.panel-tabs .iconsweets {
|
||||
font-size: 14px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
/* Mildly styles a font awesome based icon group
|
||||
* used in occasionaly in panel heading. Look at
|
||||
* message widget on index.html for example */
|
||||
.mini-action-icons .fa {
|
||||
position: relative;
|
||||
top: 2px;
|
||||
padding-right: 10px;
|
||||
color: #777;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
/* Pricing Table Icons */
|
||||
.pricing-tables .pricing-icons li .fa-times { color: #e74a4a }
|
||||
.pricing-tables .pricing-icons li .fa-ellipsis-h { color: #555 }
|
||||
/* Tab Navigation Icons */
|
||||
.nav-tabs li .fa { font-size: 14px }
|
||||
.nav-tabs li .fa.fa-caret-down { font-size: 12px }
|
||||
|
||||
/* Timeline Widget Icons */
|
||||
.timeline-widget span.glyphicons {
|
||||
z-index: 11;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
width: auto;
|
||||
padding: 6px;
|
||||
font-size: 18px;
|
||||
border-radius: 50%;
|
||||
-webkit-box-shadow: 1px 1px 2px #AAA;
|
||||
box-shadow: 1px 1px 2px #AAA;
|
||||
}
|
||||
|
||||
//
|
||||
// Sprites
|
||||
// --------------------------------------------------
|
||||
|
||||
/* Favicon sprite */
|
||||
.favicons {
|
||||
background: url('@{img-path}/sprites/favicons.png') no-repeat;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
.google { background-position: 0 0;}
|
||||
.yahoo { background-position: 0 -15px ;}
|
||||
.bing { background-position: 0 -30px ;}
|
||||
.chrome { background-position: 0 -45px;}
|
||||
.firefox { background-position: 0 -61px ;}
|
||||
.ie { background-position: 0 -78px ;}
|
||||
.safari { background-position: 0 -96px ;}
|
||||
|
||||
/* News Sprite - Demo purposes */
|
||||
.news-sprite {
|
||||
width: 25px;
|
||||
height: 26px;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
background: url("@{img-path}/sprites/news-logo_sprite.png") no-repeat;
|
||||
background-position: 0 0;
|
||||
}
|
||||
.news-sprite.cnn {
|
||||
background-position: 0 0;
|
||||
}
|
||||
.news-sprite.yahoo {
|
||||
background-position: 0 -26px;
|
||||
}
|
||||
.news-sprite.google {
|
||||
background-position: 0 -50px;
|
||||
}
|
||||
.news-sprite.fb {
|
||||
background-position: 0 -75px;
|
||||
}
|
||||
|
||||
/* Flag Icons */
|
||||
.flag-xs,
|
||||
.flag-sm,
|
||||
.flag,
|
||||
.flag-lg {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.flag-xs {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: url('@{img-path}/sprites/flag-xs.png') no-repeat top left;
|
||||
}
|
||||
.flag-sm {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: url('@{img-path}/sprites/flag-sm.png') no-repeat top left;
|
||||
}
|
||||
.flag-sm.flag-fr { background-position: 0 0; }
|
||||
.flag-sm.flag-de { background-position: 0 -33px; }
|
||||
.flag-sm.flag-in { background-position: 0 -66px; }
|
||||
.flag-sm.flag-es { background-position: 0 -99px; }
|
||||
.flag-sm.flag-tr { background-position: 0 -132px; }
|
||||
.flag-sm.flag-us { background-position: 0 -165px; }
|
||||
.flag-xs.flag-fr{ background-position: 0 -1px; }
|
||||
.flag-xs.flag-de{ background-position: 0 -18px; }
|
||||
.flag-xs.flag-es{ background-position: 0 -35px; }
|
||||
.flag-xs.flag-tr{ background-position: 0 -52px; }
|
||||
.flag-xs.flag-us{ background-position: 0 -69px; }
|
||||
.flag-xs.flag-in{ background-position: 0 -86px; }
|
||||
5
libraries/framework/skin/base/ie.less
Normal file
5
libraries/framework/skin/base/ie.less
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
/*===============================================
|
||||
Internet Explorer 9 and below specific styles
|
||||
Conditional Statement adds .no-js ie8 to body
|
||||
================================================= */
|
||||
167
libraries/framework/skin/base/input-groups.less
Normal file
167
libraries/framework/skin/base/input-groups.less
Normal file
@@ -0,0 +1,167 @@
|
||||
/*==================================================
|
||||
Input Groups
|
||||
==================================================== */
|
||||
|
||||
// Base styles
|
||||
// -------------------------
|
||||
.input-group {
|
||||
position: relative; // For dropdowns
|
||||
display: table;
|
||||
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
|
||||
|
||||
// Undo padding and float of grid classes
|
||||
&[class*="col-"] {
|
||||
float: none;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
// Ensure that the input is always above the *appended* addon button for
|
||||
// proper border colors.
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
// IE9 fubars the placeholder attribute in text inputs and the arrows on
|
||||
// select elements in input groups. To fix it, we float the input. Details:
|
||||
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
|
||||
float: left;
|
||||
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Sizing options
|
||||
//
|
||||
// Remix the default form control sizing classes into new ones for easier
|
||||
// manipulation.
|
||||
|
||||
.input-group-lg > .form-control,
|
||||
.input-group-lg > .input-group-addon,
|
||||
.input-group-lg > .input-group-btn > .btn {
|
||||
.input-lg();
|
||||
}
|
||||
.input-group-sm > .form-control,
|
||||
.input-group-sm > .input-group-addon,
|
||||
.input-group-sm > .input-group-btn > .btn {
|
||||
.input-sm();
|
||||
}
|
||||
|
||||
|
||||
// Display as table-cell
|
||||
// -------------------------
|
||||
.input-group-addon,
|
||||
.input-group-btn,
|
||||
.input-group .form-control {
|
||||
display: table-cell;
|
||||
|
||||
&:not(:first-child):not(:last-child) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
// Addon and addon wrapper for buttons
|
||||
.input-group-addon,
|
||||
.input-group-btn {
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle; // Match the inputs
|
||||
}
|
||||
|
||||
// Text input groups
|
||||
// -------------------------
|
||||
.input-group-addon {
|
||||
min-width: 40px;
|
||||
padding: @padding-base-vertical @padding-base-horizontal;
|
||||
font-size: @font-size-base;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
color: @input-group-addon-color;
|
||||
text-align: center;
|
||||
background-color: @input-group-addon-bg;
|
||||
border: 1px solid @input-group-addon-border-color;
|
||||
border-radius: @border-radius-small;
|
||||
|
||||
// Sizing
|
||||
&.input-sm {
|
||||
padding: @padding-small-vertical @padding-small-horizontal;
|
||||
font-size: @font-size-small;
|
||||
border-radius: @border-radius-small;
|
||||
}
|
||||
&.input-lg {
|
||||
padding: @padding-large-vertical @padding-large-horizontal;
|
||||
font-size: @font-size-large;
|
||||
border-radius: @border-radius-large;
|
||||
}
|
||||
|
||||
// Nuke default margins from checkboxes and radios to vertically center within.
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Reset rounded corners
|
||||
.input-group .form-control:first-child,
|
||||
.input-group-addon:first-child,
|
||||
.input-group-btn:first-child > .btn,
|
||||
.input-group-btn:first-child > .btn-group > .btn,
|
||||
.input-group-btn:first-child > .dropdown-toggle,
|
||||
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
||||
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
|
||||
.border-right-radius(0);
|
||||
}
|
||||
.input-group-addon:first-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.input-group .form-control:last-child,
|
||||
.input-group-addon:last-child,
|
||||
.input-group-btn:last-child > .btn,
|
||||
.input-group-btn:last-child > .btn-group > .btn,
|
||||
.input-group-btn:last-child > .dropdown-toggle,
|
||||
.input-group-btn:first-child > .btn:not(:first-child),
|
||||
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
|
||||
.border-left-radius(0);
|
||||
}
|
||||
.input-group-addon:last-child {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
// Button input groups
|
||||
// -------------------------
|
||||
.input-group-btn {
|
||||
position: relative;
|
||||
// Jankily prevent input button groups from wrapping with `white-space` and
|
||||
// `font-size` in combination with `inline-block` on buttons.
|
||||
font-size: 0;
|
||||
white-space: nowrap;
|
||||
|
||||
// Negative margin for spacing, position for bringing hovered/focused/actived
|
||||
// element above the siblings.
|
||||
> .btn {
|
||||
position: relative;
|
||||
+ .btn {
|
||||
margin-left: -1px;
|
||||
}
|
||||
// Bring the "active" button to the front
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
// Negative margin to only have a 1px border between the two
|
||||
&:first-child {
|
||||
> .btn,
|
||||
> .btn-group {
|
||||
margin-right: -1px;
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
> .btn,
|
||||
> .btn-group {
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
48
libraries/framework/skin/base/jumbotron.less
Normal file
48
libraries/framework/skin/base/jumbotron.less
Normal file
@@ -0,0 +1,48 @@
|
||||
/*==================================================
|
||||
Jumbotron
|
||||
==================================================== */
|
||||
|
||||
|
||||
.jumbotron {
|
||||
padding: @jumbotron-padding;
|
||||
margin-bottom: @jumbotron-padding;
|
||||
color: @jumbotron-color;
|
||||
background-color: @jumbotron-bg;
|
||||
|
||||
h1,
|
||||
.h1 {
|
||||
color: @jumbotron-heading-color;
|
||||
}
|
||||
p {
|
||||
margin-bottom: (@jumbotron-padding / 2);
|
||||
font-size: @jumbotron-font-size;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
> hr {
|
||||
border-top-color: darken(@jumbotron-bg, 10%);
|
||||
}
|
||||
|
||||
.container & {
|
||||
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: @screen-sm-min) {
|
||||
padding-top: (@jumbotron-padding * 1.6);
|
||||
padding-bottom: (@jumbotron-padding * 1.6);
|
||||
|
||||
.container & {
|
||||
padding-left: (@jumbotron-padding * 2);
|
||||
padding-right: (@jumbotron-padding * 2);
|
||||
}
|
||||
|
||||
h1,
|
||||
.h1 {
|
||||
font-size: (@font-size-base * 4.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
63
libraries/framework/skin/base/labels.less
Normal file
63
libraries/framework/skin/base/labels.less
Normal file
@@ -0,0 +1,63 @@
|
||||
/*==================================================
|
||||
Labels
|
||||
==================================================== */
|
||||
|
||||
.label {
|
||||
display: inline;
|
||||
padding: .3em .7em .4em;
|
||||
font-size: 84%;
|
||||
font-weight: 600;
|
||||
line-height: 24px;
|
||||
color: @label-color;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
|
||||
// Label sizes
|
||||
&.label-xs {
|
||||
padding: 0 .35em .1em;
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
// Label sizes
|
||||
&.label-sm {
|
||||
padding: .1em .65em .2em;
|
||||
font-size: 75%;
|
||||
}
|
||||
&.label-lg {
|
||||
padding: .4em .9em .5em;
|
||||
font-size: 95%;
|
||||
}
|
||||
|
||||
// Rounded option
|
||||
&.label-rounded {
|
||||
padding: .2em 0.85em .3em;
|
||||
border-radius: 1em;
|
||||
&.label-xs { padding: 0 .35em .1em; }
|
||||
&.label-sm { padding: .1em .65em .2em; }
|
||||
&.label-lg { padding: .4em .9em .5em; }
|
||||
}
|
||||
|
||||
// Add hover effects, but only for links
|
||||
a& {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @label-link-hover-color;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// Empty labels collapse automatically (not available in IE8)
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Quick fix for labels in buttons
|
||||
.btn & {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
175
libraries/framework/skin/base/list-group.less
Normal file
175
libraries/framework/skin/base/list-group.less
Normal file
@@ -0,0 +1,175 @@
|
||||
/*==================================================
|
||||
List Groups
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Base class
|
||||
//
|
||||
// Easily usable on <ul>, <ol>, or <div>.
|
||||
|
||||
.list-group {
|
||||
// No need to set list-style: none; since .list-group-item is block level
|
||||
margin-bottom: 20px;
|
||||
padding-left: 0; // reset padding because ul and ol
|
||||
}
|
||||
|
||||
|
||||
// Individual list items
|
||||
//
|
||||
// Use on `li`s or `div`s within the `.list-group` parent.
|
||||
|
||||
.list-group-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
// Place the border on the list items and negative margin up for better styling
|
||||
margin-bottom: -1px;
|
||||
background-color: @list-group-bg;
|
||||
border: 1px solid @list-group-border;
|
||||
|
||||
// Round the first and last items
|
||||
&:first-child {
|
||||
.border-top-radius(@list-group-border-radius);
|
||||
}
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
.border-bottom-radius(@list-group-border-radius);
|
||||
}
|
||||
|
||||
// Align badges within list items
|
||||
> .badge {
|
||||
float: right;
|
||||
}
|
||||
> .badge + .badge {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Linked list items
|
||||
//
|
||||
// Use anchor elements instead of `li`s or `div`s to create linked list items.
|
||||
// Includes an extra `.active` modifier class for showing selected items.
|
||||
|
||||
a.list-group-item {
|
||||
color: @list-group-link-color;
|
||||
|
||||
.list-group-item-heading {
|
||||
color: @list-group-link-heading-color;
|
||||
}
|
||||
|
||||
// Hover state
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
color: @list-group-link-hover-color;
|
||||
background-color: @list-group-hover-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
// Disabled state
|
||||
&.disabled,
|
||||
&.disabled:hover,
|
||||
&.disabled:focus {
|
||||
background-color: @list-group-disabled-bg;
|
||||
color: @list-group-disabled-color;
|
||||
|
||||
// Force color to inherit for custom content
|
||||
.list-group-item-heading {
|
||||
color: inherit;
|
||||
}
|
||||
.list-group-item-text {
|
||||
color: @list-group-disabled-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Active class on item itself, not parent
|
||||
&.active,
|
||||
&.active:hover,
|
||||
&.active:focus {
|
||||
z-index: 2; // Place active items above their siblings for proper border styling
|
||||
color: @list-group-active-color;
|
||||
background-color: @list-group-active-bg;
|
||||
border-color: @list-group-active-border;
|
||||
|
||||
// Force color to inherit for custom content
|
||||
.list-group-item-heading,
|
||||
.list-group-item-heading > small,
|
||||
.list-group-item-heading > .small {
|
||||
color: inherit;
|
||||
}
|
||||
.list-group-item-text {
|
||||
color: @list-group-active-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Linked list items - Custom format
|
||||
// Used on messages and calendar pages
|
||||
.list-group {
|
||||
|
||||
// list group item header
|
||||
&.list-group-links .list-group-header {
|
||||
list-style: none;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
padding-left: 7px;
|
||||
margin-bottom: 5px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
// list group item
|
||||
&.list-group-links .list-group-item {
|
||||
color: #AAA;
|
||||
font-weight: 600;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
padding: 8px 9px;
|
||||
}
|
||||
|
||||
// list group item - special label formatting
|
||||
&.list-group-links .list-group-item .label {
|
||||
float: right;
|
||||
line-height: inherit;
|
||||
padding: .1em .6em .2em;
|
||||
}
|
||||
|
||||
// list group item icons
|
||||
&.list-group-links .list-group-item i.fa {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
// list group "circle" icon (via font awesome)
|
||||
&.list-group-links .list-group-item .fa-circle {
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
// List group styles - spacing
|
||||
&.list-group-links.list-group-spacing-sm > a { padding: 6px 9px; }
|
||||
&.list-group-links.list-group-spacing-xs > a { padding: 4px 9px; }
|
||||
|
||||
// List group styles - divider
|
||||
&.list-group-links .list-group-divider {
|
||||
border-bottom: 1px dashed #DDD;
|
||||
padding-bottom: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Custom content options
|
||||
//
|
||||
// Extra classes for creating well-formatted content within `.list-group-item`s.
|
||||
|
||||
.list-group-item-heading {
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.list-group-item-text {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.3;
|
||||
}
|
||||
55
libraries/framework/skin/base/media.less
Normal file
55
libraries/framework/skin/base/media.less
Normal file
@@ -0,0 +1,55 @@
|
||||
/*==================================================
|
||||
Media Groups
|
||||
==================================================== */
|
||||
|
||||
.media {
|
||||
color: @media-body-color;
|
||||
font-weight: @media-font-weight;
|
||||
|
||||
// Proper spacing between instances of .media
|
||||
margin-top: 15px;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.media-right,
|
||||
.media > .pull-right {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.media-left,
|
||||
.media > .pull-left {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.media-left,
|
||||
.media-right,
|
||||
.media-body {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.media-middle {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.media-bottom {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
// Reset margins on headings for tighter default spacing
|
||||
.media-heading {
|
||||
color: @media-heading-color;
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
// Media list variation
|
||||
//
|
||||
// Undo default ul/ol styles
|
||||
.media-list {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
}
|
||||
51
libraries/framework/skin/base/mixins.less
Normal file
51
libraries/framework/skin/base/mixins.less
Normal file
@@ -0,0 +1,51 @@
|
||||
// Mixins
|
||||
// --------------------------------------------------
|
||||
|
||||
// Utilities
|
||||
@import "mixins/hide-text.less";
|
||||
@import "mixins/opacity.less";
|
||||
@import "mixins/image.less";
|
||||
@import "mixins/labels.less";
|
||||
@import "mixins/reset-filter.less";
|
||||
@import "mixins/resize.less";
|
||||
@import "mixins/responsive-visibility.less";
|
||||
@import "mixins/size.less";
|
||||
@import "mixins/tab-focus.less";
|
||||
@import "mixins/text-emphasis.less";
|
||||
@import "mixins/text-overflow.less";
|
||||
@import "mixins/vendor-prefixes.less";
|
||||
|
||||
// Components
|
||||
@import "mixins/alerts.less";
|
||||
@import "mixins/buttons.less";
|
||||
@import "mixins/panels.less";
|
||||
@import "mixins/pagination.less";
|
||||
@import "mixins/list-group.less";
|
||||
@import "mixins/nav-divider.less";
|
||||
@import "mixins/forms.less";
|
||||
@import "mixins/progress-bar.less";
|
||||
@import "mixins/table-row.less";
|
||||
|
||||
// Custom
|
||||
@import "mixins/helpers.less";
|
||||
@import "mixins/plugins.less";
|
||||
|
||||
// Skins
|
||||
@import "mixins/border-radius.less";
|
||||
@import "mixins/gradients.less";
|
||||
@import "mixins/backgrounds.less";
|
||||
@import "mixins/navbar.less";
|
||||
@import "mixins/sidebar.less";
|
||||
|
||||
// Layout
|
||||
@import "mixins/clearfix.less";
|
||||
@import "mixins/center-block.less";
|
||||
@import "mixins/nav-vertical-align.less";
|
||||
@import "mixins/grid-framework.less";
|
||||
@import "mixins/grid.less";
|
||||
|
||||
|
||||
// Added Patch v1.4
|
||||
@import "mixins/checkboxes.less";
|
||||
@import "mixins/dropdowns.less";
|
||||
@import "mixins/tabs.less";
|
||||
38
libraries/framework/skin/base/mixins/alerts.less
Normal file
38
libraries/framework/skin/base/mixins/alerts.less
Normal file
@@ -0,0 +1,38 @@
|
||||
// Alerts
|
||||
|
||||
.alert-variant(@color) {
|
||||
background-color: lighten(@color, 8%);
|
||||
|
||||
&.alert-border-right { border-right-color: darken(@color, 13%); }
|
||||
&.alert-border-top { border-top-color: darken(@color, 13%); }
|
||||
&.alert-border-bottom { border-bottom-color: darken(@color, 13%); }
|
||||
&.alert-border-left { border-left-color: darken(@color, 13%); }
|
||||
|
||||
// Color shade variants
|
||||
&.light { background-color: lighten(@color, 15%); }
|
||||
&.dark { background-color: darken(@color, 3%); }
|
||||
&.pastel {
|
||||
color: darken(@color, 15%);
|
||||
background-color: lighten(@color, 30%);
|
||||
border-color: rgba(0,0,0,0.1);
|
||||
|
||||
// Link color
|
||||
.alert-link {
|
||||
color: darken(@color, 15%);
|
||||
}
|
||||
|
||||
// Border settings
|
||||
&.alert-micro {
|
||||
border-color: lighten(@color, 10%);
|
||||
}
|
||||
|
||||
// Adjust close link position
|
||||
.close {
|
||||
color: darken(@color, 15%);
|
||||
&:hover {
|
||||
color: darken(@color, 15%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
62
libraries/framework/skin/base/mixins/backgrounds.less
Normal file
62
libraries/framework/skin/base/mixins/backgrounds.less
Normal file
@@ -0,0 +1,62 @@
|
||||
// Contextual backgrounds
|
||||
|
||||
.bg-variant(@color) {
|
||||
background-color: @color !important;
|
||||
color: lighten(@color, 40%);
|
||||
|
||||
// bg link
|
||||
a&:hover {
|
||||
background-color: darken(@color, 10%) !important;
|
||||
}
|
||||
|
||||
// muted color variation
|
||||
.text-muted {
|
||||
color: saturate(lighten(@color, 30%), 15%);
|
||||
}
|
||||
|
||||
// bg darkened text variation
|
||||
.text-darken {
|
||||
color: darken(@color, 10%);
|
||||
}
|
||||
|
||||
// color shade variations
|
||||
&.light { background-color: lighten(@color, 6%) !important; }
|
||||
&.lighter { background-color: lighten(@color, 10%) !important; }
|
||||
&.dark { background-color: darken(@color, 6%) !important; }
|
||||
&.darker { background-color: darken(@color, 10%) !important; }
|
||||
|
||||
// Backgrounds containing an "open" dropdown
|
||||
& .open > a,
|
||||
& .open > a:hover,
|
||||
& .open > a:focus {
|
||||
color:#fff
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.bg-variant-light(@color) {
|
||||
background-color: #FAFAFA;
|
||||
color: #666;
|
||||
|
||||
// bg link
|
||||
a&:hover {
|
||||
background-color: darken(@color, 7%) !important;
|
||||
}
|
||||
|
||||
// muted color variation
|
||||
.text-muted {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
// bg darkened text variation
|
||||
.text-darken {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
// color shade variations
|
||||
&.light { background-color: #FEFEFE; }
|
||||
&.lighter { background-color: #FFF; }
|
||||
&.dark { background-color: #F2F2F2; }
|
||||
&.darker { background-color: #E7E7E7; }
|
||||
|
||||
}
|
||||
18
libraries/framework/skin/base/mixins/border-radius.less
Normal file
18
libraries/framework/skin/base/mixins/border-radius.less
Normal file
@@ -0,0 +1,18 @@
|
||||
// Single side border-radius
|
||||
|
||||
.border-top-radius(@radius) {
|
||||
border-top-right-radius: @radius;
|
||||
border-top-left-radius: @radius;
|
||||
}
|
||||
.border-right-radius(@radius) {
|
||||
border-bottom-right-radius: @radius;
|
||||
border-top-right-radius: @radius;
|
||||
}
|
||||
.border-bottom-radius(@radius) {
|
||||
border-bottom-right-radius: @radius;
|
||||
border-bottom-left-radius: @radius;
|
||||
}
|
||||
.border-left-radius(@radius) {
|
||||
border-bottom-left-radius: @radius;
|
||||
border-top-left-radius: @radius;
|
||||
}
|
||||
140
libraries/framework/skin/base/mixins/buttons.less
Normal file
140
libraries/framework/skin/base/mixins/buttons.less
Normal file
@@ -0,0 +1,140 @@
|
||||
// Button variants
|
||||
//
|
||||
// Easily pump out default styles, as well as :hover, :focus, :active,
|
||||
// and disabled options for all buttons
|
||||
|
||||
.button-variant(@color; @background; @border) {
|
||||
color: @color;
|
||||
background-color: @background;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
color: @color;
|
||||
background-color: darken(@background, 7.5%);
|
||||
border-color: rgba(0,0,0, 0.05);
|
||||
}
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
background-image: none;
|
||||
}
|
||||
&.disabled,
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
}
|
||||
}
|
||||
.badge {
|
||||
color: @background;
|
||||
background-color: @color;
|
||||
}
|
||||
|
||||
// Create Shade Variations
|
||||
&.light {
|
||||
background-color: lighten(@background, 6%);
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
background-color: darken(@background, 6%);
|
||||
}
|
||||
}
|
||||
&.dark {
|
||||
background-color: darken(@background, 6%);
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
background-color: darken(@background, 12%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Same mixin as above but specifically calibrated for lights and neutrals
|
||||
//
|
||||
.button-variant-light(@color; @background; @border) {
|
||||
color: @color;
|
||||
background-color: @background;
|
||||
border-color: rgba(0,0,0, 0.1);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
color: @color;
|
||||
background-color: darken(@background, 2.5%);
|
||||
|
||||
}
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
background-image: none;
|
||||
}
|
||||
&.disabled,
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
}
|
||||
}
|
||||
.badge {
|
||||
color: @background;
|
||||
background-color: @color;
|
||||
}
|
||||
|
||||
// btn gradient
|
||||
&.btn-gradient {
|
||||
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4);
|
||||
border-color: rgba(0, 0, 0, 0.07) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.09);
|
||||
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.3) 100%);
|
||||
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.3) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0);
|
||||
}
|
||||
|
||||
// Create Shade Variations
|
||||
&.light {
|
||||
background-color: #FAFAFA;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
background-color: darken(@background, 1.5%);
|
||||
}
|
||||
}
|
||||
&.dark {
|
||||
background-color: darken(@background, 3%);
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
background-color: darken(@background, 6%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Button sizes
|
||||
.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||
padding: @padding-vertical @padding-horizontal;
|
||||
font-size: @font-size;
|
||||
line-height: @line-height;
|
||||
border-radius: @border-radius;
|
||||
}
|
||||
8
libraries/framework/skin/base/mixins/center-block.less
Normal file
8
libraries/framework/skin/base/mixins/center-block.less
Normal file
@@ -0,0 +1,8 @@
|
||||
// Center-align a block level element
|
||||
|
||||
.center-block() {
|
||||
float: none;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
43
libraries/framework/skin/base/mixins/checkboxes.less
Normal file
43
libraries/framework/skin/base/mixins/checkboxes.less
Normal file
@@ -0,0 +1,43 @@
|
||||
// Checkboxes/Radio Contextual Skins
|
||||
|
||||
.checkbox-variant(@brand, @color) {
|
||||
|
||||
@color-light: lighten(@color, 6%);
|
||||
|
||||
.radio-custom.radio-@{brand} label:before,
|
||||
.checkbox-custom.checkbox-@{brand} label:before {
|
||||
border-color: @color-light;
|
||||
}
|
||||
.radio-custom.radio-@{brand} input[type=radio]:checked + label:after,
|
||||
.radio-custom.radio-@{brand} input[type=checkbox]:checked + label:after,
|
||||
.checkbox-custom.checkbox-@{brand} input[type=checkbox]:checked + label:after,
|
||||
.checkbox-custom.checkbox-@{brand} input[type=radio]:checked + label:after {
|
||||
background-color: @color-light;
|
||||
color: @color-light;
|
||||
}
|
||||
|
||||
.checkbox-custom.fill.checkbox-@{brand} label:before {
|
||||
background-color: @color-light;
|
||||
}
|
||||
|
||||
}
|
||||
// Checkbox/Radio Light Skin
|
||||
.checkbox-light-variant(@brand, @color) {
|
||||
|
||||
.radio-custom.radio-@{brand} label:before,
|
||||
.checkbox-custom.checkbox-@{brand} label:before {
|
||||
border-color: #eee;
|
||||
}
|
||||
.radio-custom.radio-@{brand} input[type=radio]:checked + label:after,
|
||||
.radio-custom.radio-@{brand} input[type=checkbox]:checked + label:after,
|
||||
.checkbox-custom.checkbox-@{brand} input[type=checkbox]:checked + label:after,
|
||||
.checkbox-custom.checkbox-@{brand} input[type=radio]:checked + label:after {
|
||||
background-color: #666;
|
||||
color: #666 !important;
|
||||
}
|
||||
|
||||
.checkbox-custom.fill.checkbox-@{brand} label:before {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
}
|
||||
22
libraries/framework/skin/base/mixins/clearfix.less
Normal file
22
libraries/framework/skin/base/mixins/clearfix.less
Normal file
@@ -0,0 +1,22 @@
|
||||
// Clearfix
|
||||
//
|
||||
// For modern browsers
|
||||
// 1. The space content is one way to avoid an Opera bug when the
|
||||
// contenteditable attribute is included anywhere else in the document.
|
||||
// Otherwise it causes space to appear at the top and bottom of elements
|
||||
// that are clearfixed.
|
||||
// 2. The use of `table` rather than `block` is only necessary if using
|
||||
// `:before` to contain the top-margins of child elements.
|
||||
//
|
||||
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
|
||||
|
||||
.clearfix() {
|
||||
&:before,
|
||||
&:after {
|
||||
content: " "; // 1
|
||||
display: table; // 2
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
11
libraries/framework/skin/base/mixins/dropdowns.less
Normal file
11
libraries/framework/skin/base/mixins/dropdowns.less
Normal file
@@ -0,0 +1,11 @@
|
||||
// Bootstrap/Multiselect Dropdown
|
||||
.dropdown-variant(@color) {
|
||||
+ .dropdown-menu > .active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: #FFF;
|
||||
background-color: @color;
|
||||
}
|
||||
}
|
||||
}
|
||||
81
libraries/framework/skin/base/mixins/forms.less
Normal file
81
libraries/framework/skin/base/mixins/forms.less
Normal file
@@ -0,0 +1,81 @@
|
||||
// Form validation states
|
||||
//
|
||||
// Used in forms.less to generate the form validation CSS for warnings, errors,
|
||||
// and successes.
|
||||
|
||||
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
|
||||
// Color the label and help text
|
||||
.help-block,
|
||||
.control-label,
|
||||
.radio,
|
||||
.checkbox,
|
||||
.radio-inline,
|
||||
.checkbox-inline,
|
||||
.append-icon {
|
||||
color: @text-color;
|
||||
}
|
||||
// Set the border and box shadow on specific inputs to match
|
||||
.form-control {
|
||||
border-color: lighten(@border-color, 10%);
|
||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
||||
&:focus {
|
||||
border-color: darken(@border-color, 10%);
|
||||
@shadow: inset 0 1px 1px rgba(0,0,0,.025), 0 0 3px lighten(@border-color, 20%);
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
}
|
||||
// Set validation states also for addons
|
||||
.input-group-addon {
|
||||
color: darken(@background-color, 30%);
|
||||
border-color: @border-color;
|
||||
background-color: lighten(@background-color, 20%);
|
||||
}
|
||||
// Optional feedback icon
|
||||
.form-control-feedback {
|
||||
color: @text-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Form control focus state
|
||||
//
|
||||
// Generate a customized focus state and for any input with the specified color,
|
||||
// which defaults to the `@input-border-focus` variable.
|
||||
//
|
||||
// We highly encourage you to not customize the default value, but instead use
|
||||
// this to tweak colors on an as-needed basis. This aesthetic change is based on
|
||||
// WebKit's default styles, but applicable to a wider range of browsers. Its
|
||||
// usability and accessibility should be taken into account with any change.
|
||||
//
|
||||
// Example usage: change the default blue border and shadow to white for better
|
||||
// contrast against a dark gray background.
|
||||
.form-control-focus(@color: @input-border-focus) {
|
||||
@color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
|
||||
&:focus {
|
||||
border-color: @color;
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Form control sizing
|
||||
//
|
||||
// Relative text size, padding, and border-radii changes for form controls. For
|
||||
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
|
||||
// element gets special love because it's special, and that's a fact!
|
||||
.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||
height: @input-height;
|
||||
padding: @padding-vertical @padding-horizontal;
|
||||
font-size: @font-size;
|
||||
line-height: @line-height;
|
||||
border-radius: @border-radius;
|
||||
|
||||
select& {
|
||||
height: @input-height;
|
||||
line-height: @input-height;
|
||||
}
|
||||
|
||||
textarea&,
|
||||
select[multiple]& {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
59
libraries/framework/skin/base/mixins/gradients.less
Normal file
59
libraries/framework/skin/base/mixins/gradients.less
Normal file
@@ -0,0 +1,59 @@
|
||||
// Gradients
|
||||
|
||||
#gradient {
|
||||
|
||||
// Horizontal gradient, from left to right
|
||||
//
|
||||
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
||||
// Color stops are not available in IE9 and below.
|
||||
.horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
||||
background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
|
||||
background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12
|
||||
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
||||
background-repeat: repeat-x;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
|
||||
}
|
||||
|
||||
// Vertical gradient, from top to bottom
|
||||
//
|
||||
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
||||
// Color stops are not available in IE9 and below.
|
||||
.vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
||||
background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
|
||||
background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12
|
||||
background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
||||
background-repeat: repeat-x;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
|
||||
}
|
||||
|
||||
.directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
|
||||
background-repeat: repeat-x;
|
||||
background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+
|
||||
background-image: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12
|
||||
background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
||||
}
|
||||
.horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
||||
background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
|
||||
background-repeat: no-repeat;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
|
||||
}
|
||||
.vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
||||
background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
||||
background-repeat: no-repeat;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
|
||||
}
|
||||
.radial(@inner-color: #555; @outer-color: #333) {
|
||||
background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);
|
||||
background-image: radial-gradient(circle, @inner-color, @outer-color);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.striped(@color: rgba(255,255,255,.15); @angle: 45deg) {
|
||||
background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
||||
}
|
||||
}
|
||||
91
libraries/framework/skin/base/mixins/grid-framework.less
Normal file
91
libraries/framework/skin/base/mixins/grid-framework.less
Normal file
@@ -0,0 +1,91 @@
|
||||
// Framework grid generation
|
||||
//
|
||||
// Used only by Bootstrap to generate the correct number of grid classes given
|
||||
// any value of `@grid-columns`.
|
||||
|
||||
.make-grid-columns() {
|
||||
// Common styles for all sizes of grid columns, widths 1-12
|
||||
.col(@index) when (@index = 1) { // initial
|
||||
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}, .col-xl-@{index}";
|
||||
.col((@index + 1), @item);
|
||||
}
|
||||
.col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
|
||||
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}, .col-xl-@{index}";
|
||||
.col((@index + 1), ~"@{list}, @{item}");
|
||||
}
|
||||
.col(@index, @list) when (@index > @grid-columns) { // terminal
|
||||
@{list} {
|
||||
position: relative;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
// Inner gutter via padding
|
||||
padding-left: (@grid-gutter-width / 2);
|
||||
padding-right: (@grid-gutter-width / 2);
|
||||
}
|
||||
}
|
||||
.col(1); // kickstart it
|
||||
}
|
||||
|
||||
.float-grid-columns(@class) {
|
||||
.col(@index) when (@index = 1) { // initial
|
||||
@item: ~".col-@{class}-@{index}";
|
||||
.col((@index + 1), @item);
|
||||
}
|
||||
.col(@index, @list) when (@index =< @grid-columns) { // general
|
||||
@item: ~".col-@{class}-@{index}";
|
||||
.col((@index + 1), ~"@{list}, @{item}");
|
||||
}
|
||||
.col(@index, @list) when (@index > @grid-columns) { // terminal
|
||||
@{list} {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
.col(1); // kickstart it
|
||||
}
|
||||
|
||||
.calc-grid-column(@index, @class, @type) when (@type = width) and (@index > 0) {
|
||||
.col-@{class}-@{index} {
|
||||
width: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index > 0) {
|
||||
.col-@{class}-push-@{index} {
|
||||
left: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index = 0) {
|
||||
.col-@{class}-push-0 {
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index > 0) {
|
||||
.col-@{class}-pull-@{index} {
|
||||
right: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index = 0) {
|
||||
.col-@{class}-pull-0 {
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
.calc-grid-column(@index, @class, @type) when (@type = offset) {
|
||||
.col-@{class}-offset-@{index} {
|
||||
margin-left: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Basic looping in LESS
|
||||
.loop-grid-columns(@index, @class, @type) when (@index >= 0) {
|
||||
.calc-grid-column(@index, @class, @type);
|
||||
// next iteration
|
||||
.loop-grid-columns((@index - 1), @class, @type);
|
||||
}
|
||||
|
||||
// Create grid for specific class
|
||||
.make-grid(@class) {
|
||||
.float-grid-columns(@class);
|
||||
.loop-grid-columns(@grid-columns, @class, width);
|
||||
.loop-grid-columns(@grid-columns, @class, pull);
|
||||
.loop-grid-columns(@grid-columns, @class, push);
|
||||
.loop-grid-columns(@grid-columns, @class, offset);
|
||||
}
|
||||
151
libraries/framework/skin/base/mixins/grid.less
Normal file
151
libraries/framework/skin/base/mixins/grid.less
Normal file
@@ -0,0 +1,151 @@
|
||||
// Grid system
|
||||
//
|
||||
// Generate semantic grid columns with these mixins.
|
||||
|
||||
// Centered container element
|
||||
.container-fixed(@gutter: @grid-gutter-width) {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
&:extend(.clearfix all);
|
||||
}
|
||||
|
||||
// Creates a wrapper for a series of columns
|
||||
.make-row(@gutter: @grid-gutter-width) {
|
||||
margin-left: (@gutter / -2);
|
||||
margin-right: (@gutter / -2);
|
||||
&:extend(.clearfix all);
|
||||
}
|
||||
|
||||
// Generate the extra small columns
|
||||
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
min-height: 1px;
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
}
|
||||
.make-xs-column-offset(@columns) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
.make-xs-column-push(@columns) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
.make-xs-column-pull(@columns) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
|
||||
// Generate the small columns
|
||||
.make-sm-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-sm-column-offset(@columns) {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-sm-column-push(@columns) {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-sm-column-pull(@columns) {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the medium columns
|
||||
.make-md-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
|
||||
@media (min-width: @screen-md-min) {
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-md-column-offset(@columns) {
|
||||
@media (min-width: @screen-md-min) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-md-column-push(@columns) {
|
||||
@media (min-width: @screen-md-min) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-md-column-pull(@columns) {
|
||||
@media (min-width: @screen-md-min) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the large columns
|
||||
.make-lg-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
|
||||
@media (min-width: @screen-lg-min) {
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-lg-column-offset(@columns) {
|
||||
@media (min-width: @screen-lg-min) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-lg-column-push(@columns) {
|
||||
@media (min-width: @screen-lg-min) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-lg-column-pull(@columns) {
|
||||
@media (min-width: @screen-lg-min) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Generate the xlarge columns
|
||||
.make-xl-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
|
||||
@media (min-width: @screen-xl-min) {
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-xl-column-offset(@columns) {
|
||||
@media (min-width: @screen-xl-min) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-xl-column-push(@columns) {
|
||||
@media (min-width: @screen-xl-min) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-xl-column-pull(@columns) {
|
||||
@media (min-width: @screen-xl-min) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
7
libraries/framework/skin/base/mixins/helpers.less
Normal file
7
libraries/framework/skin/base/mixins/helpers.less
Normal file
@@ -0,0 +1,7 @@
|
||||
// Alerts
|
||||
|
||||
.br-variant(@color) {
|
||||
border-color: @color !important;
|
||||
|
||||
&-light { border-color: lighten(@color, 10%) !important; }
|
||||
}
|
||||
21
libraries/framework/skin/base/mixins/hide-text.less
Normal file
21
libraries/framework/skin/base/mixins/hide-text.less
Normal file
@@ -0,0 +1,21 @@
|
||||
// CSS image replacement
|
||||
//
|
||||
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
|
||||
// mixins being reused as classes with the same name, this doesn't hold up. As
|
||||
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
|
||||
//
|
||||
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
||||
|
||||
// Deprecated as of v3.0.1 (will be removed in v4)
|
||||
.hide-text() {
|
||||
font: ~"0/0" a;
|
||||
color: transparent;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
// New mixin to use as of v3.0.1
|
||||
.text-hide() {
|
||||
.hide-text();
|
||||
}
|
||||
34
libraries/framework/skin/base/mixins/image.less
Normal file
34
libraries/framework/skin/base/mixins/image.less
Normal file
@@ -0,0 +1,34 @@
|
||||
// Image Mixins
|
||||
// - Responsive image
|
||||
// - Retina image
|
||||
|
||||
|
||||
// Responsive image
|
||||
//
|
||||
// Keep images from scaling beyond the width of their parents.
|
||||
.img-responsive(@display: block) {
|
||||
display: @display;
|
||||
width: 100% \9; // Force IE10 and below to size SVG images correctly
|
||||
max-width: 100%; // Part 1: Set a maximum relative to the parent
|
||||
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
||||
}
|
||||
|
||||
|
||||
// Retina image
|
||||
//
|
||||
// Short retina mixin for setting background-image and -size. Note that the
|
||||
// spelling of `min--moz-device-pixel-ratio` is intentional.
|
||||
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
||||
background-image: url("@{file-1x}");
|
||||
|
||||
@media
|
||||
only screen and (-webkit-min-device-pixel-ratio: 2),
|
||||
only screen and ( min--moz-device-pixel-ratio: 2),
|
||||
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
||||
only screen and ( min-device-pixel-ratio: 2),
|
||||
only screen and ( min-resolution: 192dpi),
|
||||
only screen and ( min-resolution: 2dppx) {
|
||||
background-image: url("@{file-2x}");
|
||||
background-size: @width-1x @height-1x;
|
||||
}
|
||||
}
|
||||
12
libraries/framework/skin/base/mixins/labels.less
Normal file
12
libraries/framework/skin/base/mixins/labels.less
Normal file
@@ -0,0 +1,12 @@
|
||||
// Labels
|
||||
|
||||
.label-variant(@color) {
|
||||
background-color: @color;
|
||||
|
||||
&[href] {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: darken(@color, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
31
libraries/framework/skin/base/mixins/list-group.less
Normal file
31
libraries/framework/skin/base/mixins/list-group.less
Normal file
@@ -0,0 +1,31 @@
|
||||
// List Groups
|
||||
|
||||
.list-group-item-variant(@state; @background; @color) {
|
||||
.list-group-item-@{state} {
|
||||
color: darken(@background, 30%);
|
||||
border-color: lighten(@background, 8%); // added
|
||||
background-color: lighten(@background, 20%);
|
||||
|
||||
|
||||
a& {
|
||||
color: darken(@background, 30%);
|
||||
|
||||
.list-group-item-heading {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@background, 30%);
|
||||
background-color: lighten(@background, 24%);
|
||||
}
|
||||
&.active,
|
||||
&.active:hover,
|
||||
&.active:focus {
|
||||
color: #fff;
|
||||
background-color: @color;
|
||||
border-color: @color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
10
libraries/framework/skin/base/mixins/nav-divider.less
Normal file
10
libraries/framework/skin/base/mixins/nav-divider.less
Normal file
@@ -0,0 +1,10 @@
|
||||
// Horizontal dividers
|
||||
//
|
||||
// Dividers (basically an hr) within dropdowns and nav lists
|
||||
|
||||
.nav-divider(@color: #e5e5e5) {
|
||||
height: 1px;
|
||||
margin: ((@line-height-computed / 2) - 1) 0;
|
||||
overflow: hidden;
|
||||
background-color: @color;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// Navbar vertical align
|
||||
//
|
||||
// Vertically center elements in the navbar.
|
||||
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
|
||||
|
||||
.navbar-vertical-align(@element-height) {
|
||||
margin-top: ((@navbar-height - @element-height) / 2);
|
||||
margin-bottom: ((@navbar-height - @element-height) / 2);
|
||||
}
|
||||
37
libraries/framework/skin/base/mixins/navbar.less
Normal file
37
libraries/framework/skin/base/mixins/navbar.less
Normal file
@@ -0,0 +1,37 @@
|
||||
// Contextual backgrounds
|
||||
|
||||
.navbar-variant(@color) {
|
||||
background-color: @color;
|
||||
|
||||
// Navbar active nav item background color
|
||||
.nav > li.open > a,
|
||||
.nav > li:hover > a,
|
||||
.nav > li:focus > a,
|
||||
.nav > li.active > a,
|
||||
.nav > li > a:hover,
|
||||
.nav > li > a:focus {
|
||||
color: #FFF;
|
||||
background-color: darken(@color, 6%);
|
||||
}
|
||||
|
||||
// Top border color on dropdown menus
|
||||
.nav > li.dropdown.open .dropdown-menu,
|
||||
.nav > li.dropdown .open .dropdown-menu {
|
||||
border-top-color: @color;
|
||||
&:after {
|
||||
border-bottom-color: @color;
|
||||
}
|
||||
|
||||
}
|
||||
.nav > li.dropdown.open .dropdown-menu:after,
|
||||
.nav > li.dropdown .open .dropdown-menu:after {
|
||||
border-bottom-color: @color;
|
||||
}
|
||||
|
||||
// Navbar user menu multiselect dropdown - active item bg
|
||||
.nav > li .dropdown-toggle {
|
||||
.dropdown-variant(@color);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
8
libraries/framework/skin/base/mixins/opacity.less
Normal file
8
libraries/framework/skin/base/mixins/opacity.less
Normal file
@@ -0,0 +1,8 @@
|
||||
// Opacity
|
||||
|
||||
.opacity(@opacity) {
|
||||
opacity: @opacity;
|
||||
// IE8 filter
|
||||
@opacity-ie: (@opacity * 100);
|
||||
filter: ~"alpha(opacity=@{opacity-ie})";
|
||||
}
|
||||
23
libraries/framework/skin/base/mixins/pagination.less
Normal file
23
libraries/framework/skin/base/mixins/pagination.less
Normal file
@@ -0,0 +1,23 @@
|
||||
// Pagination
|
||||
|
||||
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
|
||||
> li {
|
||||
> a,
|
||||
> span {
|
||||
padding: @padding-vertical @padding-horizontal;
|
||||
font-size: @font-size;
|
||||
}
|
||||
&:first-child {
|
||||
> a,
|
||||
> span {
|
||||
.border-left-radius(@border-radius);
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
> a,
|
||||
> span {
|
||||
.border-right-radius(@border-radius);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
43
libraries/framework/skin/base/mixins/panels.less
Normal file
43
libraries/framework/skin/base/mixins/panels.less
Normal file
@@ -0,0 +1,43 @@
|
||||
// Panels
|
||||
|
||||
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
|
||||
|
||||
&.panel-border {
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
& > .panel-heading {
|
||||
color: @heading-text-color;
|
||||
background-color: @heading-bg-color;
|
||||
border-color: @heading-border;
|
||||
|
||||
+ .panel-collapse > .panel-body {
|
||||
border-top-color: @border;
|
||||
}
|
||||
.badge {
|
||||
color: @heading-bg-color;
|
||||
background-color: @heading-text-color;
|
||||
}
|
||||
|
||||
& > .panel-title {
|
||||
color: @heading-text-color;
|
||||
}
|
||||
}
|
||||
& > .panel-footer {
|
||||
+ .panel-collapse > .panel-body {
|
||||
border-bottom-color: @border;
|
||||
}
|
||||
}
|
||||
|
||||
& > .panel-body {
|
||||
&.fill {
|
||||
color: #FFF;
|
||||
border-color: lighten(@heading-bg-color, 13%);
|
||||
background-color: lighten(@heading-bg-color, 13%);
|
||||
}
|
||||
&.border {
|
||||
border: 3px solid @border;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
6
libraries/framework/skin/base/mixins/plugins.less
Normal file
6
libraries/framework/skin/base/mixins/plugins.less
Normal file
@@ -0,0 +1,6 @@
|
||||
// Panels
|
||||
|
||||
.tag-variant(@bg) {
|
||||
color: #FFF;
|
||||
background-color: lighten(@bg, 8%);
|
||||
}
|
||||
13
libraries/framework/skin/base/mixins/progress-bar.less
Normal file
13
libraries/framework/skin/base/mixins/progress-bar.less
Normal file
@@ -0,0 +1,13 @@
|
||||
// Progress bars
|
||||
|
||||
.progress-bar-variant(@color) {
|
||||
background-color: @color;
|
||||
|
||||
&.light { background-color: lighten(@color, 3.5%); }
|
||||
&.dark { background-color: darken(@color, 3.5%); }
|
||||
|
||||
// Deprecated parent class requirement as of v3.2.0
|
||||
.progress-striped & {
|
||||
#gradient > .striped();
|
||||
}
|
||||
}
|
||||
8
libraries/framework/skin/base/mixins/reset-filter.less
Normal file
8
libraries/framework/skin/base/mixins/reset-filter.less
Normal file
@@ -0,0 +1,8 @@
|
||||
// Reset filters for IE
|
||||
//
|
||||
// When you need to remove a gradient background, do not forget to use this to reset
|
||||
// the IE filter for IE9 and below.
|
||||
|
||||
.reset-filter() {
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
|
||||
}
|
||||
6
libraries/framework/skin/base/mixins/resize.less
Normal file
6
libraries/framework/skin/base/mixins/resize.less
Normal file
@@ -0,0 +1,6 @@
|
||||
// Resize anything
|
||||
|
||||
.resizable(@direction) {
|
||||
resize: @direction; // Options: horizontal, vertical, both
|
||||
overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// Responsive utilities
|
||||
|
||||
//
|
||||
// More easily include all the states for responsive-utilities.less.
|
||||
.responsive-visibility() {
|
||||
display: block !important;
|
||||
table& { display: table; }
|
||||
tr& { display: table-row !important; }
|
||||
th&,
|
||||
td& { display: table-cell !important; }
|
||||
}
|
||||
|
||||
.responsive-invisibility() {
|
||||
display: none !important;
|
||||
}
|
||||
669
libraries/framework/skin/base/mixins/sidebar.less
Normal file
669
libraries/framework/skin/base/mixins/sidebar.less
Normal file
@@ -0,0 +1,669 @@
|
||||
//
|
||||
// Generate Sidebar Caret Style
|
||||
//
|
||||
.sidebar-caret(@style) {
|
||||
|
||||
.sidebar-menu {
|
||||
|
||||
li > a > span.caret,
|
||||
li > a.menu-open > span.caret {
|
||||
color: inherit;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
li > a > span.caret:after {
|
||||
content: "\f105";
|
||||
font-family: FontAwesome;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
text-decoration: inherit;
|
||||
font-size: 14px ;
|
||||
display: inline-block;
|
||||
padding-right: 3px;
|
||||
float: right;
|
||||
right: 0;
|
||||
}
|
||||
li > a.menu-open > span.caret:after { content: "\f107"; }
|
||||
|
||||
li > ul > li > a > span.caret,
|
||||
li > ul > li > a.menu-open > span.caret {
|
||||
top: 11px;
|
||||
}
|
||||
|
||||
} // #End: sidebar menu
|
||||
|
||||
// Alt Caret style in a Horizontal Menu
|
||||
.sb-top .sidebar-menu {
|
||||
|
||||
li > a > span.caret,
|
||||
li > a.menu-open > span.caret {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
li > ul > li > a > span.caret,
|
||||
li > ul > li > a.menu-open > span.caret {
|
||||
top: 11px !important;
|
||||
}
|
||||
|
||||
} // #End: sidebar menu
|
||||
|
||||
|
||||
} // #End: Caret Style mixin
|
||||
|
||||
|
||||
//
|
||||
// Generate Sidebar "Top" Variant - Horizontal Menu Style
|
||||
//
|
||||
.sidebar-top-variant() {
|
||||
|
||||
// Modify primary content wrappers for static navbar
|
||||
.navbar + #sidebar_left + #content_wrapper,
|
||||
.navbar.navbar-static-top + #sidebar_left + #content_wrapper {
|
||||
margin-left: 0;
|
||||
padding-top: 55px;
|
||||
}
|
||||
|
||||
// Modify primary content wrappers for fixed navbar
|
||||
.navbar.navbar-fixed-top + #sidebar_left + #content_wrapper {
|
||||
margin-left: 0;
|
||||
padding-top: 115px;
|
||||
}
|
||||
|
||||
// Hide sidebar_right toggle btn as sidebar is
|
||||
// not compatible when a horizontal menu is used
|
||||
#toggle_sidemenu_r { display: none !important; }
|
||||
|
||||
// Modify Topbar-dropmenu settings when in Boxed layout
|
||||
#topbar-dropmenu { top: 0; }
|
||||
|
||||
// Modify Topbar fixed settings
|
||||
#topbar.affix { margin-left: 0; }
|
||||
|
||||
// Modify Topbar fixed settings when in Boxed layout
|
||||
&.boxed-layout #topbar.affix {
|
||||
width: 1140px !important;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
left: auto;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
// Modify Topbar fixed settings when in boxed layout and sidebar_right is open
|
||||
&.boxed-layout.sb-r-o #topbar.affix {
|
||||
width: 840px!important;
|
||||
}
|
||||
|
||||
// Modify navbar trays
|
||||
.navbar-nav.navbar-right,
|
||||
.navbar-nav.navbar-right:last-child { margin-right: 0; }
|
||||
|
||||
// Modify navbar branding
|
||||
.navbar-branding { width: 160px; }
|
||||
|
||||
|
||||
// Convert Left Sidebar into Horizontal "OnHover" Menu
|
||||
#sidebar_left {
|
||||
overflow: visible;
|
||||
z-index: 1028;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
margin-top: 60px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
|
||||
// Hide sidebar labels/trays/titles as they are incompatible
|
||||
.sidebar-toggle-mini,
|
||||
.sidebar-menu .sidebar-label,
|
||||
.sidebar-menu li > ul > li > ul > li .label,
|
||||
.sidebar-menu .sidebar-title-tray {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
// Top Level Menu
|
||||
.sidebar-menu {
|
||||
padding-bottom: 0;
|
||||
|
||||
// items
|
||||
> li { float: left; }
|
||||
> li:first-child { padding-top: 0; }
|
||||
|
||||
// item links
|
||||
> li > a {
|
||||
overflow: visible;
|
||||
color: @sb-top-menu-text;
|
||||
padding: 0 18px;
|
||||
height: 55px;
|
||||
line-height: 55px;
|
||||
}
|
||||
|
||||
// item link states
|
||||
> li.active > a,
|
||||
> li:hover > a,
|
||||
> li > a.menu-open,
|
||||
> li > a:hover,
|
||||
> li > a:focus {
|
||||
color: @sb-top-text-hover;
|
||||
background-color: @sub-menu-bg;
|
||||
-webkit-transition: background-color 0.2s ease;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
// active item link
|
||||
> li.active > a { color: @sb-top-active-text !important; }
|
||||
|
||||
// item title
|
||||
> li > a > .sidebar-title { font-weight: 400; }
|
||||
|
||||
// item icon
|
||||
> li > a > span:nth-child(1) {
|
||||
width: auto;
|
||||
padding-left: 0;
|
||||
padding-right: 5px;
|
||||
line-height: 55px;
|
||||
}
|
||||
|
||||
// item caret
|
||||
li > a > span.caret {
|
||||
color: @sb-top-caret;
|
||||
position: relative;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
} // #End: Top Level Menu
|
||||
|
||||
|
||||
// Sub Level menu
|
||||
.sidebar-menu > li > ul {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 100%;
|
||||
width: 195px;
|
||||
height: auto;
|
||||
border-left: 0;
|
||||
padding-bottom: 2px;
|
||||
overflow: hidden;
|
||||
|
||||
// item
|
||||
> li { overflow: hidden; }
|
||||
|
||||
// item link
|
||||
> li > a { padding: 8px 15px 8px 15px; }
|
||||
|
||||
// item - states
|
||||
> li > a.menu-open:after,
|
||||
> li.active > a:after,
|
||||
> li:hover > a:after,
|
||||
> li:focus > a:after {
|
||||
left: 1px;
|
||||
width: 3px;
|
||||
}
|
||||
|
||||
// item submenu
|
||||
> li ul { width: 195px; }
|
||||
|
||||
// item caret
|
||||
> li > a .caret {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
} // #End: Sub Level menu
|
||||
|
||||
|
||||
// Multi Level menu
|
||||
.sidebar-menu > li > ul > li > ul {
|
||||
|
||||
// item link
|
||||
> li a { padding: 8px 15px 8px 20px; }
|
||||
|
||||
// item - active border
|
||||
> li.active > a:after,
|
||||
> li:hover > a:after,
|
||||
> li:focus > a:after {
|
||||
left: 1px;
|
||||
width: 3px;
|
||||
}
|
||||
|
||||
} // #End: Multi Level menu
|
||||
|
||||
|
||||
|
||||
// OnHover - Open Menu/Submenu Override
|
||||
.sidebar-menu li > ul > li > a.menu-open + ul { display: block !important; }
|
||||
|
||||
|
||||
// Sidebar "Light" version
|
||||
&.sidebar-light {
|
||||
border-right: 0;
|
||||
-webkit-box-shadow: 0 1px 0 #DDD;
|
||||
box-shadow: 0 1px 0 #DDD;
|
||||
|
||||
// Sidebar menu
|
||||
.sidebar-menu {
|
||||
|
||||
// item link
|
||||
> li > a > span:nth-child(2) { color: #888; }
|
||||
|
||||
// item link - states
|
||||
> li.active > a,
|
||||
> li:hover > a,
|
||||
> li > a.menu-open,
|
||||
> li > a:hover,
|
||||
> li > a:focus {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
// item submenu
|
||||
> li > ul {
|
||||
top: 99%;
|
||||
border: 0;
|
||||
-webkit-box-shadow: 0 3px 3px rgba(0,0,0, 0.2);
|
||||
box-shadow: 0 3px 3px rgba(0,0,0, 0.2);
|
||||
}
|
||||
|
||||
// submenu item links
|
||||
li > ul > li > a { padding: 9px 15px 8px 17px; }
|
||||
|
||||
} // #End: Sidebar Menu
|
||||
|
||||
} // #End: Sidebar "light" version
|
||||
|
||||
} // #End: #sidebar_left
|
||||
|
||||
|
||||
// Menu Option - Small. Activate via "sb-top-sm" on body class
|
||||
&.sb-top-sm {
|
||||
|
||||
|
||||
// Modify primary content wrappers for static navbar
|
||||
.navbar + #sidebar_left + #content_wrapper,
|
||||
.navbar.navbar-static-top + #sidebar_left + #content_wrapper {
|
||||
padding-top: 45px;
|
||||
}
|
||||
|
||||
// Modify primary content wrappers for fixed navbar
|
||||
.navbar.navbar-fixed-top + #sidebar_left + #content_wrapper {
|
||||
padding-top: 105px;
|
||||
}
|
||||
|
||||
|
||||
#sidebar_left {
|
||||
height: 45px;
|
||||
|
||||
// sidebar menu items
|
||||
.sidebar-menu > li > a {
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
// sidebar menu icons
|
||||
.sidebar-menu > li > a > span:nth-child(1) {
|
||||
font-size: 12px;
|
||||
line-height: 45px;
|
||||
}
|
||||
|
||||
} // #End: #sidebar_left
|
||||
|
||||
} // #End: Menu Option - Small
|
||||
|
||||
|
||||
// Menu Option - Large. activate via "sb-top-lg" on body class
|
||||
&.sb-top-lg {
|
||||
|
||||
// Modify primary content wrappers for static navbar
|
||||
.navbar + #sidebar_left + #content_wrapper,
|
||||
.navbar.navbar-static-top + #sidebar_left + #content_wrapper {
|
||||
padding-top: 75px;
|
||||
}
|
||||
|
||||
// Modify primary content wrappers for fixed navbar
|
||||
.navbar.navbar-fixed-top + #sidebar_left + #content_wrapper {
|
||||
padding-top: 135px;
|
||||
}
|
||||
|
||||
#sidebar_left {
|
||||
height: 75px;
|
||||
|
||||
// sidebar menu item links
|
||||
.sidebar-menu > li > a {
|
||||
height: 75px;
|
||||
line-height: inherit;
|
||||
text-align: center;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
// sidebar menu icons
|
||||
.sidebar-menu > li > a > span:nth-child(1) {
|
||||
width: 100%;
|
||||
font-size: 20px;
|
||||
line-height: 40px;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
// sidebar menu title
|
||||
.sidebar-menu > li > a > .sidebar-title {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
} // #End: #sidebar_left
|
||||
|
||||
} // #End: Menu Option - Large
|
||||
|
||||
|
||||
// Sidebar State - Collapsed
|
||||
&.sb-top-collapsed {
|
||||
|
||||
#sidebar_left { top: -110px; }
|
||||
|
||||
// Modify primary content wrappers for static navbar
|
||||
.navbar + #sidebar_left + #content_wrapper,
|
||||
.navbar.navbar-static-top + #sidebar_left + #content_wrapper {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
// Modify primary content wrappers for fixed navbar
|
||||
.navbar.navbar-fixed-top + #sidebar_left + #content_wrapper {
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
// rotate menu toggle caret
|
||||
#toggle_sidemenu_t .fa-caret-up {
|
||||
-webkit-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
// modify caret color if navbar is using a contextual
|
||||
.navbar[class*='bg-'] #toggle_sidemenu_t .fa-caret-up { color: #FFF; }
|
||||
|
||||
|
||||
} // #End: Sidebar State - Collapsed
|
||||
|
||||
|
||||
//
|
||||
// HORIZONTAL MENU RESPONSIVE SETTINGS
|
||||
//
|
||||
|
||||
// When < 1100px
|
||||
@media (max-width: 1100px) {
|
||||
|
||||
#content_wrapper {
|
||||
margin-left: 0 !important;
|
||||
left: 0 !important;
|
||||
}
|
||||
|
||||
} // #End: @media (max-width: 1100px)
|
||||
|
||||
|
||||
// When > 900px
|
||||
@media (max-width: 900px) {
|
||||
|
||||
#sidebar_left {
|
||||
top: 0 !important;
|
||||
opacity: 0 !important;
|
||||
visibility: hidden !important;
|
||||
height: auto !important;
|
||||
|
||||
-webkit-transition: all 0.2s ease;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
// sidebar menu
|
||||
.sidebar-menu {
|
||||
|
||||
// item
|
||||
> li {
|
||||
float: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// item link
|
||||
> li > a {
|
||||
height: 45px !important;
|
||||
line-height: 45px !important;
|
||||
padding: 0 16px !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
// item icon
|
||||
> li > a > span:nth-child(1) {
|
||||
width: auto !important;
|
||||
font-size: 12px !important;
|
||||
line-height: 45px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
// item title
|
||||
> li > a > .sidebar-title {
|
||||
padding-left: 8px !important;
|
||||
}
|
||||
|
||||
// item submenus
|
||||
> li > ul,
|
||||
> li > ul > li ul {
|
||||
position: relative;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
} // #End: sidebar menu
|
||||
|
||||
|
||||
// Sidebar "light" version
|
||||
&.sidebar-light {
|
||||
border-right: 0;
|
||||
-webkit-box-shadow: 0 1px 0 #DDD;
|
||||
box-shadow: 0 1px 0 #DDD;
|
||||
|
||||
// item submenu
|
||||
.sidebar-menu > li > ul {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
// submenu links
|
||||
.sidebar-menu li > ul > li > a {
|
||||
padding: 9px 15px 8px 17px;
|
||||
}
|
||||
|
||||
} // #End: #sidebar_left "Light" version
|
||||
|
||||
|
||||
} // #End: #sidebar_left
|
||||
|
||||
|
||||
// Navbar Branding
|
||||
.navbar-branding {
|
||||
width: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Toggle Menu Button
|
||||
#toggle_sidemenu_t { width: 44px; }
|
||||
|
||||
// Fixed Navbar
|
||||
.navbar.navbar-fixed-top + #sidebar_left + #content_wrapper {
|
||||
padding-top: 60px !important;
|
||||
}
|
||||
|
||||
// Collapsed State
|
||||
&.sb-top-collapsed {
|
||||
#sidebar_left {
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
} // #End: Sidebar State - Collapsed (responsive)
|
||||
|
||||
|
||||
} // #End: @media (min-width: 901px)
|
||||
|
||||
|
||||
// When > 901px
|
||||
// Reverses default "OnHover" functionality
|
||||
@media (min-width: 901px) {
|
||||
|
||||
// Menus have been converted to show only on:hover. Hide by default
|
||||
.sidebar-menu > li > a.menu-open + ul { display: none; }
|
||||
|
||||
// Menus have been converted. We display them only on:hover
|
||||
.sidebar-menu > li:hover > a + ul {
|
||||
z-index: 1;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
} // #End: @media (min-width: 901px)
|
||||
|
||||
|
||||
} // #End: Horizontal Menu Variant mixin
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Generate Sidebar Light Skin
|
||||
//
|
||||
.sidebar-light-variant() {
|
||||
color: #666;
|
||||
background-color: #fafafa;
|
||||
border-right: 1px solid #DDD;
|
||||
|
||||
// Top Level Menu Item - Label color
|
||||
.sidebar-menu .sidebar-label {
|
||||
color: #AAA;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
}
|
||||
// Top Level Menu Item - Caret color
|
||||
.sidebar-menu li > a > span.caret {
|
||||
color: #BBB;
|
||||
}
|
||||
.sidebar-menu li > a.menu-open > span.caret {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
// Menu Item Links - Color
|
||||
.sidebar-menu > li a {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
// Top Level Menu Item - BG Color:hover
|
||||
.sidebar-menu > li > a:hover,
|
||||
.sidebar-menu > li > a:focus,
|
||||
.sidebar-menu > li > a:active {
|
||||
background-color: transparent;
|
||||
}
|
||||
// Top Level Menu Item - Icon
|
||||
.sidebar-menu > li > a > span:nth-child(1) {
|
||||
color: #888;
|
||||
}
|
||||
// Top Level Menu Item - Title
|
||||
.sidebar-menu > li > a > span:nth-child(2) {
|
||||
color: #555;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.4px;
|
||||
}
|
||||
// Top Level Menu Active Item - Icon Color
|
||||
.sidebar-menu > li.active > a > span:nth-child(1) {
|
||||
color: @brand-primary;
|
||||
}
|
||||
|
||||
// Sub-Menu level BG
|
||||
.sidebar-menu > li > ul {
|
||||
background-color: #f2f2f2;
|
||||
box-shadow: 0 1px 0 #E5e5e5 inset,0 -1px 0 #E5e5e5 inset;
|
||||
}
|
||||
// Sub-Menu Level Item - BG Color:hover
|
||||
.sidebar-menu > li > ul > li > a:hover,
|
||||
.sidebar-menu > li > ul > li > a:focus {
|
||||
background-color: transparent;
|
||||
}
|
||||
// Sub-Menu Level Active Item - Icon Color
|
||||
.sidebar-menu > li > ul > li.active > a > span:nth-child(1),
|
||||
.sidebar-menu > li > ul > li > a.menu-open > span:nth-child(1) {
|
||||
color: @brand-primary;
|
||||
}
|
||||
|
||||
|
||||
// Multi-level menu - BG Color
|
||||
.sidebar-menu > li > ul > li ul {
|
||||
background-color: #eaeaea;
|
||||
box-shadow: 0 1px 0 #d9d9d9 inset,0 -1px 0 #d9d9d9 inset;
|
||||
}
|
||||
// Multi-level menu item - BG Color:hover
|
||||
.sidebar-menu > li > ul > li > ul > li > a:hover,
|
||||
.sidebar-menu > li > ul > li > ul > li > a:focus {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
// Top Level item left border
|
||||
.sidebar-menu > li > a.menu-open:after,
|
||||
.sidebar-menu > li > ul > li > a.menu-open:after {
|
||||
background: transparent;
|
||||
}
|
||||
// Sub-Menu item left border
|
||||
.sidebar-menu > li > ul > li > a.menu-open:after,
|
||||
.sidebar-menu > li > ul > li > ul > li > a.menu-open:after {
|
||||
background: @brand-info;
|
||||
}
|
||||
// Multi level item left border
|
||||
.sidebar-menu > li > ul > li > ul > li.active > a:after,
|
||||
.sidebar-menu > li > ul > li > ul > li:hover > a:after,
|
||||
.sidebar-menu > li > ul > li > ul > li:focus > a:after {
|
||||
background: @brand-alert;
|
||||
}
|
||||
|
||||
// Active Menu item Caret
|
||||
.sidebar-menu > li > ul > li.active > a > span.caret {
|
||||
color: #AAA;
|
||||
}
|
||||
// Progress bar background
|
||||
.sidebar-menu .sidebar-stat .progress {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
// sidebar toggle close btn
|
||||
.sidebar-toggle-mini a {
|
||||
background-color: #f7f7f7;
|
||||
border-color: #eaeaea;
|
||||
}
|
||||
|
||||
// bg-light.light version (pure white)
|
||||
&.light {
|
||||
background-color: #fff;
|
||||
.sidebar-menu > li > ul {
|
||||
background-color: #fbfbfb;
|
||||
}
|
||||
.sidebar-menu > li > ul > li ul {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
}
|
||||
|
||||
// Sidebar Author Widget
|
||||
.sidebar-widget.author-widget {
|
||||
.media-body { color: #666; }
|
||||
.media-links a { color: #999; }
|
||||
.media-links a:hover { color: #555; }
|
||||
&.menu-widget-open .media-links a.sidebar-menu-toggle { color: #555; }
|
||||
}
|
||||
// Sidebar Menu Widget
|
||||
.sidebar-widget.menu-widget {
|
||||
background-color: #f2f2f2;
|
||||
border-top: 1px solid darken(#f2f2f2, 3%);
|
||||
border-bottom: 1px solid darken(#f2f2f2, 3%);
|
||||
a span {
|
||||
color: #777;
|
||||
}
|
||||
}
|
||||
// Sidebar Search Widget
|
||||
.sidebar-widget.search-widget {
|
||||
background-color: #f2f2f2;
|
||||
border-top: 1px solid darken(#f2f2f2, 3%);
|
||||
border-bottom: 1px solid darken(#f2f2f2, 3%);
|
||||
}
|
||||
}
|
||||
|
||||
10
libraries/framework/skin/base/mixins/size.less
Normal file
10
libraries/framework/skin/base/mixins/size.less
Normal file
@@ -0,0 +1,10 @@
|
||||
// Sizing shortcuts
|
||||
|
||||
.size(@width; @height) {
|
||||
width: @width;
|
||||
height: @height;
|
||||
}
|
||||
|
||||
.square(@size) {
|
||||
.size(@size; @size);
|
||||
}
|
||||
11
libraries/framework/skin/base/mixins/tab-focus.less
Normal file
11
libraries/framework/skin/base/mixins/tab-focus.less
Normal file
@@ -0,0 +1,11 @@
|
||||
// WebKit-style focus
|
||||
|
||||
.tab-focus() {
|
||||
// Disabled
|
||||
outline: 0;
|
||||
// Default
|
||||
//outline: thin dotted;
|
||||
// WebKit
|
||||
//outline: 5px auto -webkit-focus-ring-color;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
37
libraries/framework/skin/base/mixins/table-row.less
Normal file
37
libraries/framework/skin/base/mixins/table-row.less
Normal file
@@ -0,0 +1,37 @@
|
||||
// Tables
|
||||
|
||||
.table-row-variant(@state; @background) {
|
||||
// Exact selectors below required to override `.table-striped` and prevent
|
||||
// inheritance to nested tables.
|
||||
.table > thead > tr,
|
||||
.table > tbody > tr,
|
||||
.table > tfoot > tr {
|
||||
> td.@{state},
|
||||
> th.@{state},
|
||||
&.@{state} > td,
|
||||
&.@{state} > th {
|
||||
color: darken(@background, 30%);
|
||||
border-color: lighten(@background, 8%); // added
|
||||
background-color: lighten(@background, 20%);
|
||||
}
|
||||
|
||||
&.@{state} + tr > th,
|
||||
&.@{state} + tr > td {
|
||||
border-top: 1px solid lighten(@background, 8%);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Hover states for `.table-hover`
|
||||
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
||||
.table-hover > tbody > tr {
|
||||
> td.@{state}:hover,
|
||||
> th.@{state}:hover,
|
||||
&.@{state}:hover > td,
|
||||
&:hover > .@{state},
|
||||
&.@{state}:hover > th {
|
||||
background-color: lighten(@background, 24%);
|
||||
}
|
||||
}
|
||||
}
|
||||
40
libraries/framework/skin/base/mixins/tabs.less
Normal file
40
libraries/framework/skin/base/mixins/tabs.less
Normal file
@@ -0,0 +1,40 @@
|
||||
// Tabs Contextuals
|
||||
|
||||
.tabs-variant(@state; @color) {
|
||||
|
||||
/* tabs top */
|
||||
.tab-block .tabs-border.nav-tabs.tabs-@{state} > li.active > a {
|
||||
border-top-color: @color;
|
||||
}
|
||||
/* tabs left */
|
||||
.tab-block .tabs-border.tabs-left.tabs-@{state} > li.active > a {
|
||||
border-left-color: @color;
|
||||
}
|
||||
/* tabs right */
|
||||
.tab-block .tabs-border.tabs-right.tabs-@{state} > li.active > a {
|
||||
border-right-color: @color;
|
||||
}
|
||||
/* tabs bottom */
|
||||
.tab-block .tabs-border.tabs-below.tabs-@{state} > li.active > a {
|
||||
border-bottom-color: @color;
|
||||
}
|
||||
|
||||
/* panel tabs */
|
||||
.panel-tabs.panel-tabs-border.tabs-@{state} > li.active > a {
|
||||
border-top-color: @color;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Nav Pill Contextuals
|
||||
.pills-variant(@state; @color) {
|
||||
|
||||
.nav-pills.nav-@{state} > li.active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @color;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
13
libraries/framework/skin/base/mixins/text-emphasis.less
Normal file
13
libraries/framework/skin/base/mixins/text-emphasis.less
Normal file
@@ -0,0 +1,13 @@
|
||||
// Typography
|
||||
|
||||
.text-emphasis-variant(@color) {
|
||||
color: @color;
|
||||
a&:hover {
|
||||
color: darken(@color, 50%);
|
||||
}
|
||||
|
||||
&-light { color: lighten(@color, 3.5%); }
|
||||
&-lighter { color: lighten(@color, 7.5%); }
|
||||
&-dark { color: darken(@color, 3.5%); }
|
||||
&-darker { color: darken(@color, 7.5%); }
|
||||
}
|
||||
8
libraries/framework/skin/base/mixins/text-overflow.less
Normal file
8
libraries/framework/skin/base/mixins/text-overflow.less
Normal file
@@ -0,0 +1,8 @@
|
||||
// Text overflow
|
||||
// Requires inline-block or block for proper styling
|
||||
|
||||
.text-overflow() {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
224
libraries/framework/skin/base/mixins/vendor-prefixes.less
Normal file
224
libraries/framework/skin/base/mixins/vendor-prefixes.less
Normal file
@@ -0,0 +1,224 @@
|
||||
// Vendor Prefixes
|
||||
//
|
||||
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
|
||||
// Autoprefixer in our Gruntfile. They will be removed in v4.
|
||||
|
||||
// - Animations
|
||||
// - Backface visibility
|
||||
// - Box shadow
|
||||
// - Box sizing
|
||||
// - Content columns
|
||||
// - Hyphens
|
||||
// - Placeholder text
|
||||
// - Transformations
|
||||
// - Transitions
|
||||
// - User Select
|
||||
|
||||
|
||||
// Animations
|
||||
.animation(@animation) {
|
||||
-webkit-animation: @animation;
|
||||
-o-animation: @animation;
|
||||
animation: @animation;
|
||||
}
|
||||
.animation-name(@name) {
|
||||
-webkit-animation-name: @name;
|
||||
animation-name: @name;
|
||||
}
|
||||
.animation-duration(@duration) {
|
||||
-webkit-animation-duration: @duration;
|
||||
animation-duration: @duration;
|
||||
}
|
||||
.animation-timing-function(@timing-function) {
|
||||
-webkit-animation-timing-function: @timing-function;
|
||||
animation-timing-function: @timing-function;
|
||||
}
|
||||
.animation-delay(@delay) {
|
||||
-webkit-animation-delay: @delay;
|
||||
animation-delay: @delay;
|
||||
}
|
||||
.animation-iteration-count(@iteration-count) {
|
||||
-webkit-animation-iteration-count: @iteration-count;
|
||||
animation-iteration-count: @iteration-count;
|
||||
}
|
||||
.animation-direction(@direction) {
|
||||
-webkit-animation-direction: @direction;
|
||||
animation-direction: @direction;
|
||||
}
|
||||
.animation-fill-mode(@fill-mode) {
|
||||
-webkit-animation-fill-mode: @fill-mode;
|
||||
animation-fill-mode: @fill-mode;
|
||||
}
|
||||
|
||||
// Backface visibility
|
||||
// Prevent browsers from flickering when using CSS 3D transforms.
|
||||
// Default value is `visible`, but can be changed to `hidden`
|
||||
|
||||
.backface-visibility(@visibility){
|
||||
-webkit-backface-visibility: @visibility;
|
||||
-moz-backface-visibility: @visibility;
|
||||
backface-visibility: @visibility;
|
||||
}
|
||||
|
||||
// Drop shadows
|
||||
//
|
||||
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
|
||||
// supported browsers that have box shadow capabilities now support it.
|
||||
|
||||
.box-shadow(@shadow) {
|
||||
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
|
||||
box-shadow: @shadow;
|
||||
}
|
||||
|
||||
// Box sizing
|
||||
.box-sizing(@boxmodel) {
|
||||
-webkit-box-sizing: @boxmodel;
|
||||
-moz-box-sizing: @boxmodel;
|
||||
box-sizing: @boxmodel;
|
||||
}
|
||||
|
||||
// CSS3 Content Columns
|
||||
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
|
||||
-webkit-column-count: @column-count;
|
||||
-moz-column-count: @column-count;
|
||||
column-count: @column-count;
|
||||
-webkit-column-gap: @column-gap;
|
||||
-moz-column-gap: @column-gap;
|
||||
column-gap: @column-gap;
|
||||
}
|
||||
|
||||
// Optional hyphenation
|
||||
.hyphens(@mode: auto) {
|
||||
word-wrap: break-word;
|
||||
-webkit-hyphens: @mode;
|
||||
-moz-hyphens: @mode;
|
||||
-ms-hyphens: @mode; // IE10+
|
||||
-o-hyphens: @mode;
|
||||
hyphens: @mode;
|
||||
}
|
||||
|
||||
// Placeholder text
|
||||
.placeholder(@color: @input-color-placeholder) {
|
||||
&::-moz-placeholder { color: @color; // Firefox
|
||||
opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
|
||||
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
||||
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
||||
}
|
||||
|
||||
// Transformations
|
||||
.scale(@ratio) {
|
||||
-webkit-transform: scale(@ratio);
|
||||
-ms-transform: scale(@ratio); // IE9 only
|
||||
-o-transform: scale(@ratio);
|
||||
transform: scale(@ratio);
|
||||
}
|
||||
.scale(@ratioX; @ratioY) {
|
||||
-webkit-transform: scale(@ratioX, @ratioY);
|
||||
-ms-transform: scale(@ratioX, @ratioY); // IE9 only
|
||||
-o-transform: scale(@ratioX, @ratioY);
|
||||
transform: scale(@ratioX, @ratioY);
|
||||
}
|
||||
.scaleX(@ratio) {
|
||||
-webkit-transform: scaleX(@ratio);
|
||||
-ms-transform: scaleX(@ratio); // IE9 only
|
||||
-o-transform: scaleX(@ratio);
|
||||
transform: scaleX(@ratio);
|
||||
}
|
||||
.scaleY(@ratio) {
|
||||
-webkit-transform: scaleY(@ratio);
|
||||
-ms-transform: scaleY(@ratio); // IE9 only
|
||||
-o-transform: scaleY(@ratio);
|
||||
transform: scaleY(@ratio);
|
||||
}
|
||||
.skew(@x; @y) {
|
||||
-webkit-transform: skewX(@x) skewY(@y);
|
||||
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
|
||||
-o-transform: skewX(@x) skewY(@y);
|
||||
transform: skewX(@x) skewY(@y);
|
||||
}
|
||||
.translate(@x; @y) {
|
||||
-webkit-transform: translate(@x, @y);
|
||||
-ms-transform: translate(@x, @y); // IE9 only
|
||||
-o-transform: translate(@x, @y);
|
||||
transform: translate(@x, @y);
|
||||
}
|
||||
.translate3d(@x; @y; @z) {
|
||||
-webkit-transform: translate3d(@x, @y, @z);
|
||||
transform: translate3d(@x, @y, @z);
|
||||
}
|
||||
.rotate(@degrees) {
|
||||
-webkit-transform: rotate(@degrees);
|
||||
-ms-transform: rotate(@degrees); // IE9 only
|
||||
-o-transform: rotate(@degrees);
|
||||
transform: rotate(@degrees);
|
||||
}
|
||||
.rotateX(@degrees) {
|
||||
-webkit-transform: rotateX(@degrees);
|
||||
-ms-transform: rotateX(@degrees); // IE9 only
|
||||
-o-transform: rotateX(@degrees);
|
||||
transform: rotateX(@degrees);
|
||||
}
|
||||
.rotateY(@degrees) {
|
||||
-webkit-transform: rotateY(@degrees);
|
||||
-ms-transform: rotateY(@degrees); // IE9 only
|
||||
-o-transform: rotateY(@degrees);
|
||||
transform: rotateY(@degrees);
|
||||
}
|
||||
.perspective(@perspective) {
|
||||
-webkit-perspective: @perspective;
|
||||
-moz-perspective: @perspective;
|
||||
perspective: @perspective;
|
||||
}
|
||||
.perspective-origin(@perspective) {
|
||||
-webkit-perspective-origin: @perspective;
|
||||
-moz-perspective-origin: @perspective;
|
||||
perspective-origin: @perspective;
|
||||
}
|
||||
.transform-origin(@origin) {
|
||||
-webkit-transform-origin: @origin;
|
||||
-moz-transform-origin: @origin;
|
||||
-ms-transform-origin: @origin; // IE9 only
|
||||
transform-origin: @origin;
|
||||
}
|
||||
|
||||
|
||||
// Transitions
|
||||
|
||||
.transition(@transition) {
|
||||
-webkit-transition: @transition;
|
||||
-o-transition: @transition;
|
||||
transition: @transition;
|
||||
}
|
||||
.transition-property(@transition-property) {
|
||||
-webkit-transition-property: @transition-property;
|
||||
transition-property: @transition-property;
|
||||
}
|
||||
.transition-delay(@transition-delay) {
|
||||
-webkit-transition-delay: @transition-delay;
|
||||
transition-delay: @transition-delay;
|
||||
}
|
||||
.transition-duration(@transition-duration) {
|
||||
-webkit-transition-duration: @transition-duration;
|
||||
transition-duration: @transition-duration;
|
||||
}
|
||||
.transition-timing-function(@timing-function) {
|
||||
-webkit-transition-timing-function: @timing-function;
|
||||
transition-timing-function: @timing-function;
|
||||
}
|
||||
.transition-transform(@transition) {
|
||||
-webkit-transition: -webkit-transform @transition;
|
||||
-moz-transition: -moz-transform @transition;
|
||||
-o-transition: -o-transform @transition;
|
||||
transition: transform @transition;
|
||||
}
|
||||
|
||||
|
||||
// User select
|
||||
// For selecting text on the page
|
||||
|
||||
.user-select(@select) {
|
||||
-webkit-user-select: @select;
|
||||
-moz-user-select: @select;
|
||||
-ms-user-select: @select; // IE10+
|
||||
user-select: @select;
|
||||
}
|
||||
155
libraries/framework/skin/base/modals.less
Normal file
155
libraries/framework/skin/base/modals.less
Normal file
@@ -0,0 +1,155 @@
|
||||
/*==================================================
|
||||
Modals
|
||||
==================================================== */
|
||||
|
||||
// .modal-open - body class for killing the scroll
|
||||
// .modal - container to scroll within
|
||||
// .modal-dialog - positioning shell for the actual modal
|
||||
// .modal-content - actual modal w/ bg and corners and shit
|
||||
|
||||
// Kill the scroll on the body
|
||||
.modal-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Container that the modal scrolls within
|
||||
.modal {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: @zindex-modal;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
||||
// https://github.com/twbs/bootstrap/pull/10951.
|
||||
outline: 0;
|
||||
|
||||
// When fading in the modal, animate it to slide down
|
||||
&.fade .modal-dialog {
|
||||
.translate3d(0, -25%, 0);
|
||||
.transition-transform(~"0.3s ease-out");
|
||||
}
|
||||
&.in .modal-dialog {
|
||||
z-index: 1050;
|
||||
.translate3d(0, 0, 0)
|
||||
}
|
||||
}
|
||||
.modal-open .modal {
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
// Shell div to position the modal with bottom padding
|
||||
.modal-dialog {
|
||||
position: relative;
|
||||
width: auto;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
// Actual modal
|
||||
.modal-content {
|
||||
position: relative;
|
||||
background-color: @modal-content-bg;
|
||||
border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
|
||||
border: 1px solid @modal-content-border-color;
|
||||
border-radius: @border-radius-large;
|
||||
.box-shadow(0 3px 9px rgba(0,0,0,.5));
|
||||
background-clip: padding-box;
|
||||
// Remove focus outline from opened modal
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
// Modal background
|
||||
.modal-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: @zindex-modal-background;
|
||||
background-color: @modal-backdrop-bg;
|
||||
// Fade for backdrop
|
||||
&.fade { .opacity(0); }
|
||||
&.in { .opacity(@modal-backdrop-opacity); }
|
||||
}
|
||||
|
||||
// Modal header
|
||||
// Top section of the modal w/ title and dismiss
|
||||
.modal-header {
|
||||
padding: @modal-title-padding;
|
||||
border-bottom: 1px solid @modal-header-border-color;
|
||||
min-height: (@modal-title-padding + @modal-title-line-height);
|
||||
}
|
||||
// Close icon
|
||||
.modal-header .close {
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
// Title text within header
|
||||
.modal-title {
|
||||
margin: 0;
|
||||
line-height: @modal-title-line-height;
|
||||
}
|
||||
|
||||
// Modal body
|
||||
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
||||
.modal-body {
|
||||
position: relative;
|
||||
padding: @modal-inner-padding;
|
||||
}
|
||||
|
||||
// Footer (for actions)
|
||||
.modal-footer {
|
||||
padding: @modal-inner-padding;
|
||||
padding: 10px;
|
||||
text-align: right; // right align buttons
|
||||
border-top: 1px solid @modal-footer-border-color;
|
||||
background: #f2f2f2;
|
||||
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
|
||||
|
||||
// Properly space out buttons
|
||||
.btn + .btn {
|
||||
margin-left: 5px;
|
||||
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
||||
}
|
||||
// but override that for button groups
|
||||
.btn-group .btn + .btn {
|
||||
margin-left: -1px;
|
||||
}
|
||||
// and override it for block buttons as well
|
||||
.btn-block + .btn-block {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Measure scrollbar width for padding body during modal show/hide
|
||||
.modal-scrollbar-measure {
|
||||
position: absolute;
|
||||
top: -9999px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
// Scale up the modal
|
||||
@media (min-width: @screen-sm-min) {
|
||||
// Automatically set modal's width for larger viewports
|
||||
.modal-dialog {
|
||||
width: @modal-md;
|
||||
margin: 30px auto;
|
||||
}
|
||||
.modal-content {
|
||||
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
||||
}
|
||||
|
||||
// Modal sizes
|
||||
.modal-sm { width: @modal-sm; }
|
||||
}
|
||||
|
||||
@media (min-width: @screen-md-min) {
|
||||
.modal-lg { width: @modal-lg; }
|
||||
}
|
||||
658
libraries/framework/skin/base/navbar.less
Normal file
658
libraries/framework/skin/base/navbar.less
Normal file
@@ -0,0 +1,658 @@
|
||||
/*==================================================
|
||||
Navbars
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Wrapper and base class
|
||||
//
|
||||
// Provide a static navbar from which we expand to create full-width, fixed, and
|
||||
// other navbar variations.
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
||||
margin-bottom: @navbar-margin-bottom;
|
||||
border: 1px solid transparent;
|
||||
|
||||
// Prevent floats from breaking the navbar
|
||||
&:extend(.clearfix all);
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
border-radius: @navbar-border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Navbar heading
|
||||
//
|
||||
// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy
|
||||
// styling of responsive aspects.
|
||||
|
||||
.navbar-header {
|
||||
&:extend(.clearfix all);
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Navbar collapse (body)
|
||||
//
|
||||
// Group your navbar content into this for easy collapsing and expanding across
|
||||
// various device sizes. By default, this content is collapsed when <768px, but
|
||||
// will expand past that for a horizontal display.
|
||||
//
|
||||
// To start (on mobile devices) the navbar links, forms, and buttons are stacked
|
||||
// vertically and include a `max-height` to overflow in case you have too much
|
||||
// content for the user's viewport.
|
||||
|
||||
.navbar-collapse {
|
||||
overflow-x: visible;
|
||||
padding-right: @navbar-padding-horizontal;
|
||||
padding-left: @navbar-padding-horizontal;
|
||||
border-top: 1px solid transparent;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
|
||||
&:extend(.clearfix all);
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
&.in {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
width: auto;
|
||||
border-top: 0;
|
||||
box-shadow: none;
|
||||
|
||||
&.collapse {
|
||||
display: block !important;
|
||||
height: auto !important;
|
||||
padding-bottom: 0; // Override default setting
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
&.in {
|
||||
overflow-y: visible;
|
||||
}
|
||||
|
||||
// Undo the collapse side padding for navbars with containers to ensure
|
||||
// alignment of right-aligned contents.
|
||||
.navbar-fixed-top &,
|
||||
.navbar-static-top &,
|
||||
.navbar-fixed-bottom & {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
.navbar-collapse {
|
||||
max-height: @navbar-collapse-max-height;
|
||||
|
||||
@media (max-width: @screen-xs-min) and (orientation: landscape) {
|
||||
max-height: 200px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Both navbar header and collapse
|
||||
//
|
||||
// When a container is present, change the behavior of the header and collapse.
|
||||
|
||||
.container,
|
||||
.container-fluid {
|
||||
> .navbar-header,
|
||||
> .navbar-collapse {
|
||||
margin-right: -@navbar-padding-horizontal;
|
||||
margin-left: -@navbar-padding-horizontal;
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Navbar alignment options
|
||||
//
|
||||
// Display the navbar across the entirety of the page or fixed it to the top or
|
||||
// bottom of the page.
|
||||
|
||||
// Static top (unfixed, but 100% wide) navbar
|
||||
.navbar-static-top {
|
||||
z-index: @zindex-navbar;
|
||||
border-width: 0 0 1px;
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Fix the top/bottom navbars when screen real estate supports it
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: @zindex-navbar-fixed;
|
||||
.translate3d(0, 0, 0);
|
||||
|
||||
// Undo the rounded corners
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
.navbar-fixed-top {
|
||||
top: 0;
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
.navbar-fixed-bottom {
|
||||
bottom: 0;
|
||||
margin-bottom: 0; // override .navbar defaults
|
||||
border-width: 1px 0 0;
|
||||
}
|
||||
|
||||
|
||||
// Brand/project name
|
||||
|
||||
.navbar-brand {
|
||||
float: left;
|
||||
padding: @navbar-padding-vertical @navbar-padding-horizontal;
|
||||
font-size: @font-size-large;
|
||||
line-height: @line-height-computed;
|
||||
height: @navbar-height;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
.navbar > .container &,
|
||||
.navbar > .container-fluid & {
|
||||
margin-left: -@navbar-padding-horizontal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Navbar toggle
|
||||
//
|
||||
// Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
||||
// JavaScript plugin.
|
||||
|
||||
.navbar-toggle {
|
||||
position: relative;
|
||||
float: right;
|
||||
margin-right: @navbar-padding-horizontal;
|
||||
padding: 9px 10px;
|
||||
.navbar-vertical-align(34px);
|
||||
background-color: transparent;
|
||||
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
||||
border: 1px solid transparent;
|
||||
border-radius: @border-radius-base;
|
||||
|
||||
// We remove the `outline` here, but later compensate by attaching `:hover`
|
||||
// styles to `:focus`.
|
||||
&:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
// Bars
|
||||
.icon-bar {
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 2px;
|
||||
border-radius: 1px;
|
||||
}
|
||||
.icon-bar + .icon-bar {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Navbar nav links
|
||||
//
|
||||
// Builds on top of the `.nav` components with its own modifier class to make
|
||||
// the nav the full height of the horizontal nav (above 768px).
|
||||
|
||||
.navbar-nav {
|
||||
margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;
|
||||
|
||||
> li > a {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
line-height: @line-height-computed;
|
||||
}
|
||||
|
||||
@media (max-width: @grid-float-breakpoint-max) {
|
||||
// Dropdowns get custom display when collapsed
|
||||
.open .dropdown-menu {
|
||||
position: static;
|
||||
float: none;
|
||||
width: auto;
|
||||
margin-top: 0;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
> li > a,
|
||||
.dropdown-header {
|
||||
padding: 5px 15px 5px 25px;
|
||||
}
|
||||
> li > a {
|
||||
line-height: @line-height-computed;
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-image: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Uncollapse the nav
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
float: left;
|
||||
margin: 0;
|
||||
|
||||
> li {
|
||||
float: left;
|
||||
> a {
|
||||
padding-top: @navbar-padding-vertical;
|
||||
padding-bottom: @navbar-padding-vertical;
|
||||
}
|
||||
}
|
||||
|
||||
&.navbar-right:last-child {
|
||||
margin-right: -@navbar-padding-horizontal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Component alignment
|
||||
//
|
||||
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
||||
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
||||
// though so that navbar contents properly stack and align in mobile.
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
.navbar-left { .pull-left(); }
|
||||
.navbar-right { .pull-right(); }
|
||||
}
|
||||
|
||||
|
||||
// Navbar form
|
||||
//
|
||||
// Extension of the `.form-inline` with some extra flavor for optimum display in
|
||||
// our navbars.
|
||||
|
||||
.navbar-form {
|
||||
margin-left: -@navbar-padding-horizontal;
|
||||
margin-right: -@navbar-padding-horizontal;
|
||||
padding: 10px @navbar-padding-horizontal;
|
||||
border-top: 1px solid transparent;
|
||||
border-bottom: 1px solid transparent;
|
||||
@shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
|
||||
.box-shadow(@shadow);
|
||||
|
||||
// Mixin behavior for optimum display
|
||||
.form-inline();
|
||||
|
||||
.form-group {
|
||||
@media (max-width: @grid-float-breakpoint-max) {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Vertically center in expanded, horizontal navbar
|
||||
.navbar-vertical-align(@input-height-base);
|
||||
|
||||
// Undo 100% width for pull classes
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
width: auto;
|
||||
border: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
.box-shadow(none);
|
||||
|
||||
// Outdent the form if last child to line up with content down the page
|
||||
&.navbar-right:last-child {
|
||||
margin-right: -@navbar-padding-horizontal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Dropdown menus
|
||||
|
||||
// Menu position and menu carets
|
||||
.navbar-nav > li > .dropdown-menu {
|
||||
margin-top: 0;
|
||||
.border-top-radius(0);
|
||||
}
|
||||
// Menu position and menu caret support for dropups via extra dropup class
|
||||
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
|
||||
.border-bottom-radius(0);
|
||||
}
|
||||
|
||||
|
||||
// Buttons in navbars
|
||||
//
|
||||
// Vertically center a button within a navbar (when *not* in a form).
|
||||
|
||||
.navbar-btn {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
|
||||
// .navbar-vertical-align(@input-height-base);
|
||||
|
||||
&.btn-sm {
|
||||
.navbar-vertical-align(@input-height-small);
|
||||
}
|
||||
&.btn-xs {
|
||||
.navbar-vertical-align(22);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Text in navbars
|
||||
//
|
||||
// Add a class to make any element properly align itself vertically within the navbars.
|
||||
|
||||
.navbar-text {
|
||||
.navbar-vertical-align(@line-height-computed);
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
float: left;
|
||||
margin-left: @navbar-padding-horizontal;
|
||||
margin-right: @navbar-padding-horizontal;
|
||||
|
||||
// Outdent the form if last child to line up with content down the page
|
||||
&.navbar-right:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Alternate navbars
|
||||
// --------------------------------------------------
|
||||
|
||||
// Default navbar
|
||||
.navbar-default {
|
||||
background-color: @navbar-default-bg;
|
||||
border-color: @navbar-default-border;
|
||||
|
||||
.navbar-brand {
|
||||
color: @navbar-default-brand-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-brand-hover-color;
|
||||
background-color: @navbar-default-brand-hover-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-text {
|
||||
color: @navbar-default-color;
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
> li > a {
|
||||
color: @navbar-default-link-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-hover-color;
|
||||
background-color: @navbar-default-link-hover-bg;
|
||||
}
|
||||
}
|
||||
> .active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-active-color;
|
||||
background-color: @navbar-default-link-active-bg;
|
||||
}
|
||||
}
|
||||
> .disabled > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-disabled-color;
|
||||
background-color: @navbar-default-link-disabled-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-toggle {
|
||||
border-color: @navbar-default-toggle-border-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @navbar-default-toggle-hover-bg;
|
||||
}
|
||||
.icon-bar {
|
||||
background-color: @navbar-default-toggle-icon-bar-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-collapse,
|
||||
.navbar-form {
|
||||
border-color: @navbar-default-border;
|
||||
}
|
||||
|
||||
// Dropdown menu items
|
||||
.navbar-nav {
|
||||
// Remove background color from open dropdown
|
||||
> .open > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @navbar-default-link-active-bg;
|
||||
color: @navbar-default-link-active-color;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: @grid-float-breakpoint-max) {
|
||||
// Dropdowns get custom display when collapsed
|
||||
.open .dropdown-menu {
|
||||
> li > a {
|
||||
color: @navbar-default-link-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-hover-color;
|
||||
background-color: @navbar-default-link-hover-bg;
|
||||
}
|
||||
}
|
||||
> .active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-active-color;
|
||||
background-color: @navbar-default-link-active-bg;
|
||||
}
|
||||
}
|
||||
> .disabled > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-disabled-color;
|
||||
background-color: @navbar-default-link-disabled-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Links in navbars
|
||||
//
|
||||
// Add a class to ensure links outside the navbar nav are colored correctly.
|
||||
|
||||
.navbar-link {
|
||||
color: @navbar-default-link-color;
|
||||
&:hover {
|
||||
color: @navbar-default-link-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
color: @navbar-default-link-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-hover-color;
|
||||
}
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-default-link-disabled-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Inverse navbar
|
||||
|
||||
.navbar-inverse {
|
||||
background-color: @navbar-inverse-bg;
|
||||
border-color: @navbar-inverse-border;
|
||||
|
||||
.navbar-brand {
|
||||
color: @navbar-inverse-brand-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-brand-hover-color;
|
||||
background-color: @navbar-inverse-brand-hover-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-text {
|
||||
color: @navbar-inverse-color;
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
> li > a {
|
||||
color: @navbar-inverse-link-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-hover-color;
|
||||
background-color: @navbar-inverse-link-hover-bg;
|
||||
}
|
||||
}
|
||||
> .active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-active-color;
|
||||
background-color: @navbar-inverse-link-active-bg;
|
||||
}
|
||||
}
|
||||
> .disabled > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-disabled-color;
|
||||
background-color: @navbar-inverse-link-disabled-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Darken the responsive nav toggle
|
||||
.navbar-toggle {
|
||||
border-color: @navbar-inverse-toggle-border-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @navbar-inverse-toggle-hover-bg;
|
||||
}
|
||||
.icon-bar {
|
||||
background-color: @navbar-inverse-toggle-icon-bar-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-collapse,
|
||||
.navbar-form {
|
||||
border-color: darken(@navbar-inverse-bg, 7%);
|
||||
}
|
||||
|
||||
// Dropdowns
|
||||
.navbar-nav {
|
||||
> .open > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @navbar-inverse-link-active-bg;
|
||||
color: @navbar-inverse-link-active-color;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: @grid-float-breakpoint-max) {
|
||||
// Dropdowns get custom display
|
||||
.open .dropdown-menu {
|
||||
> .dropdown-header {
|
||||
border-color: @navbar-inverse-border;
|
||||
}
|
||||
.divider {
|
||||
background-color: @navbar-inverse-border;
|
||||
}
|
||||
> li > a {
|
||||
color: @navbar-inverse-link-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-hover-color;
|
||||
background-color: @navbar-inverse-link-hover-bg;
|
||||
}
|
||||
}
|
||||
> .active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-active-color;
|
||||
background-color: @navbar-inverse-link-active-bg;
|
||||
}
|
||||
}
|
||||
> .disabled > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-disabled-color;
|
||||
background-color: @navbar-inverse-link-disabled-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-link {
|
||||
color: @navbar-inverse-link-color;
|
||||
&:hover {
|
||||
color: @navbar-inverse-link-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
color: @navbar-inverse-link-color;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-hover-color;
|
||||
}
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @navbar-inverse-link-disabled-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
351
libraries/framework/skin/base/navs.less
Normal file
351
libraries/framework/skin/base/navs.less
Normal file
@@ -0,0 +1,351 @@
|
||||
/*==================================================
|
||||
Navs
|
||||
==================================================== */
|
||||
|
||||
|
||||
// Base class
|
||||
// --------------------------------------------------
|
||||
|
||||
.nav {
|
||||
margin-bottom: 0;
|
||||
padding-left: 0; // Override default ul/ol
|
||||
list-style: none;
|
||||
&:extend(.clearfix all);
|
||||
|
||||
> li {
|
||||
position: relative;
|
||||
display: block;
|
||||
|
||||
> a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: @nav-link-padding;
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
background-color: @nav-link-hover-bg;
|
||||
}
|
||||
}
|
||||
|
||||
// Disabled state sets text to gray and nukes hover/tab effects
|
||||
&.disabled > a {
|
||||
color: @nav-disabled-link-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @nav-disabled-link-hover-color;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Open dropdowns
|
||||
.open > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @nav-link-hover-bg;
|
||||
border-color: #CCC;
|
||||
}
|
||||
}
|
||||
|
||||
// Nav dividers (deprecated with v3.0.1)
|
||||
//
|
||||
// This should have been removed in v3 with the dropping of `.nav-list`, but
|
||||
// we missed it. We don't currently support this anywhere, but in the interest
|
||||
// of maintaining backward compatibility in case you use it, it's deprecated.
|
||||
.nav-divider {
|
||||
.nav-divider();
|
||||
}
|
||||
|
||||
// Prevent IE8 from misplacing imgs
|
||||
//
|
||||
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
||||
> li > a > img {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Tabs
|
||||
// -------------------------
|
||||
|
||||
// Give the tabs something to sit on
|
||||
.nav-tabs {
|
||||
border-bottom: 1px solid @nav-tabs-border-color;
|
||||
> li {
|
||||
float: left;
|
||||
// Make the list-items overlay the bottom border
|
||||
margin-bottom: -1px;
|
||||
|
||||
// Actual tabs (as links)
|
||||
> a {
|
||||
margin-right: 2px;
|
||||
line-height: @line-height-base;
|
||||
border: 1px solid transparent;
|
||||
border-radius: @border-radius-base @border-radius-base 0 0;
|
||||
&:hover {
|
||||
border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Active state, and its :hover to override normal :hover
|
||||
&.active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @nav-tabs-active-link-hover-color;
|
||||
background-color: @nav-tabs-active-link-hover-bg;
|
||||
border: 1px solid @nav-tabs-active-link-hover-border-color;
|
||||
border-bottom-color: transparent;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
}
|
||||
// pulling this in mainly for less shorthand
|
||||
&.nav-justified {
|
||||
.nav-justified();
|
||||
.nav-tabs-justified();
|
||||
}
|
||||
}
|
||||
|
||||
// Lists
|
||||
// -------------------------
|
||||
.nav-pills {
|
||||
|
||||
// Sizes
|
||||
&.nav-pills-sm > li > a {
|
||||
font-size: 12px;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
&.nav-pills-lg > li > a {
|
||||
font-size: 14px;
|
||||
padding: 12px 18px;
|
||||
}
|
||||
|
||||
> li {
|
||||
float: left;
|
||||
|
||||
// Links rendered as pills
|
||||
> a {
|
||||
color: #888;
|
||||
padding: 8px 14px;
|
||||
border-radius: @nav-pills-border-radius;
|
||||
}
|
||||
+ li {
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
// Active state
|
||||
&.active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: #FFF;
|
||||
background-color: @nav-pills-active-link-hover-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Stacked pills
|
||||
.nav-stacked {
|
||||
> li {
|
||||
float: none;
|
||||
+ li {
|
||||
margin-top: 2px;
|
||||
margin-left: 0; // no need for this gap between nav items
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Page Heading
|
||||
// Used as a heading pane inside #content. Negative margin
|
||||
// is used to negate padding from #content
|
||||
.page-heading {
|
||||
position: relative;
|
||||
padding: 30px 40px;
|
||||
margin: -25px -20px 25px;
|
||||
border-bottom: 1px solid #d9d9d9;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
// Page Nav. Negative margin
|
||||
// is used to negate padding from #content
|
||||
.page-tabs {
|
||||
margin: -25px -20px 30px;
|
||||
padding: 15px 25px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
background: #e9e9e9;
|
||||
|
||||
.nav-tabs {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.nav-tabs > li > a {
|
||||
color: #AAA;
|
||||
padding: 10px 20px;
|
||||
}
|
||||
.nav-tabs > li:hover > a,
|
||||
.nav-tabs > li:focus > a {
|
||||
border-color: #ddd;
|
||||
}
|
||||
.nav-tabs > li.active > a,
|
||||
.nav-tabs > li.active > a:hover,
|
||||
.nav-tabs > li.active > a:focus {
|
||||
color: #666;
|
||||
font-weight: 600;
|
||||
background-color: #eee;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
|
||||
// Responsive page nav styles(converts to block menu)
|
||||
@media(max-width: 800px) {
|
||||
padding: 25px 20px 0;
|
||||
|
||||
.nav-tabs li {
|
||||
float: none;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.nav-tabs li:last-child,
|
||||
.nav-tabs li.active:last-child {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.nav-tabs > li > a:hover,
|
||||
.nav-tabs > li > a:focus {
|
||||
border: 1px solid #DDD;
|
||||
}
|
||||
.nav-tabs > li.active > a,
|
||||
.nav-tabs > li.active > a:hover,
|
||||
.nav-tabs > li.active > a:focus {
|
||||
border-bottom-color: #ddd;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Nav variations
|
||||
// --------------------------------------------------
|
||||
|
||||
// Justified nav links
|
||||
// -------------------------
|
||||
|
||||
.nav-justified {
|
||||
width: 100%;
|
||||
|
||||
> li {
|
||||
float: none;
|
||||
> a {
|
||||
text-align: center;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
> .dropdown .dropdown-menu {
|
||||
top: auto;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
> li {
|
||||
display: table-cell;
|
||||
width: 1%;
|
||||
> a {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Move borders to anchors instead of bottom of list
|
||||
//
|
||||
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
|
||||
.nav-tabs-justified {
|
||||
border-bottom: 0;
|
||||
|
||||
> li > a {
|
||||
// Override margin from .nav-tabs
|
||||
margin-right: 0;
|
||||
border-radius: @border-radius-base;
|
||||
}
|
||||
|
||||
> .active > a,
|
||||
> .active > a:hover,
|
||||
> .active > a:focus {
|
||||
border: 1px solid @nav-tabs-justified-link-border-color;
|
||||
}
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
> li > a {
|
||||
border-bottom: 1px solid @nav-tabs-justified-link-border-color;
|
||||
border-radius: @border-radius-base @border-radius-base 0 0;
|
||||
}
|
||||
> .active > a,
|
||||
> .active > a:hover,
|
||||
> .active > a:focus {
|
||||
border-bottom-color: @nav-tabs-justified-active-link-border-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Tabbable tabs
|
||||
// -------------------------
|
||||
|
||||
// Hide tabbable panes to start, show them when `.active`
|
||||
.tab-content {
|
||||
> .tab-pane {
|
||||
display: none;
|
||||
}
|
||||
> .active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Dropdowns
|
||||
// -------------------------
|
||||
|
||||
// Specific dropdowns
|
||||
.nav-tabs .dropdown-menu {
|
||||
// make dropdown border overlap tab border
|
||||
margin-top: -1px;
|
||||
// Remove the top rounded corners here since there is a hard edge above the menu
|
||||
.border-top-radius(0);
|
||||
}
|
||||
|
||||
// Nav-list (inline links with active bottom border)
|
||||
// -------------------------------------------------
|
||||
|
||||
.nav-list {
|
||||
margin-bottom: 20px;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
&.active a {
|
||||
color: #444;
|
||||
border-bottom: 3px solid #4a89dc;
|
||||
}
|
||||
}
|
||||
li a {
|
||||
color: #AAA;
|
||||
font-weight: 600;
|
||||
border-bottom: 3px solid transparent;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: #444;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
// Small nav-list
|
||||
&.nav-list-sm li a {
|
||||
padding: 10px 8px;
|
||||
}
|
||||
|
||||
}
|
||||
425
libraries/framework/skin/base/normalize.less
vendored
Normal file
425
libraries/framework/skin/base/normalize.less
vendored
Normal file
@@ -0,0 +1,425 @@
|
||||
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
|
||||
|
||||
//
|
||||
// 1. Set default font family to sans-serif.
|
||||
// 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
// user zoom.
|
||||
//
|
||||
|
||||
html {
|
||||
font-family: sans-serif; // 1
|
||||
-ms-text-size-adjust: 100%; // 2
|
||||
-webkit-text-size-adjust: 100%; // 2
|
||||
}
|
||||
|
||||
//
|
||||
// Remove default margin.
|
||||
//
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// HTML5 display definitions
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
// Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
|
||||
// Correct `block` display not defined for `main` in IE 11.
|
||||
//
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
//
|
||||
// 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
//
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; // 1
|
||||
vertical-align: baseline; // 2
|
||||
}
|
||||
|
||||
//
|
||||
// Prevent modern browsers from displaying `audio` without controls.
|
||||
// Remove excess height in iOS 5 devices.
|
||||
//
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Address `[hidden]` styling not present in IE 8/9/10.
|
||||
// Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
//
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Links
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Remove the gray background color from active links in IE 10.
|
||||
//
|
||||
|
||||
a {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
//
|
||||
// Improve readability when focused and also mouse hovered in all browsers.
|
||||
//
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
// Text-level semantics
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
//
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
//
|
||||
// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
//
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
//
|
||||
// Address styling not present in Safari and Chrome.
|
||||
//
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
//
|
||||
// Address variable `h1` font-size and margin within `section` and `article`
|
||||
// contexts in Firefox 4+, Safari, and Chrome.
|
||||
//
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Address styling not present in IE 8/9.
|
||||
//
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
//
|
||||
// Address inconsistent and variable font size in all browsers.
|
||||
//
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
//
|
||||
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
//
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
// Embedded content
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Remove border when inside `a` element in IE 8/9/10.
|
||||
//
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Correct overflow not hidden in IE 9/10/11.
|
||||
//
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Grouping content
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Address margin not present in IE 8/9 and Safari.
|
||||
//
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
//
|
||||
// Address differences between Firefox and other browsers.
|
||||
//
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Contain overflow in all browsers.
|
||||
//
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
//
|
||||
// Address odd `em`-unit font size rendering in all browsers.
|
||||
//
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
// Forms
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
// styling of `select`, unless a `border` property is set.
|
||||
//
|
||||
|
||||
//
|
||||
// 1. Correct color not being inherited.
|
||||
// Known issue: affects color of disabled elements.
|
||||
// 2. Correct font properties not being inherited.
|
||||
// 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
//
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; // 1
|
||||
font: inherit; // 2
|
||||
margin: 0; // 3
|
||||
}
|
||||
|
||||
//
|
||||
// Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
//
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
//
|
||||
// Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
// All other form control elements do not inherit `text-transform` values.
|
||||
// Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
// Correct `select` style inheritance in Firefox.
|
||||
//
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
//
|
||||
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
// and `video` controls.
|
||||
// 2. Correct inability to style clickable `input` types in iOS.
|
||||
// 3. Improve usability and consistency of cursor style between image-type
|
||||
// `input` and others.
|
||||
//
|
||||
|
||||
button,
|
||||
html input[type="button"], // 1
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; // 2
|
||||
cursor: pointer; // 3
|
||||
}
|
||||
|
||||
//
|
||||
// Re-set default cursor for disabled elements.
|
||||
//
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
//
|
||||
// Remove inner padding and border in Firefox 4+.
|
||||
//
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
// the UA stylesheet.
|
||||
//
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
//
|
||||
// It's recommended that you don't attempt to style these elements.
|
||||
// Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
//
|
||||
// 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
// 2. Remove excess padding in IE 8/9/10.
|
||||
//
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; // 1
|
||||
padding: 0; // 2
|
||||
}
|
||||
|
||||
//
|
||||
// Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
// `font-size` values of the `input`, it causes the cursor style of the
|
||||
// decrement button to change from `default` to `text`.
|
||||
//
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
//
|
||||
// 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
// 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
// (include `-moz` to future-proof).
|
||||
//
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; // 1
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; // 2
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
//
|
||||
// Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
// Safari (but not Chrome) clips the cancel button when the search input has
|
||||
// padding (and `textfield` appearance).
|
||||
//
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
//
|
||||
// Define consistent border, margin, and padding.
|
||||
//
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
//
|
||||
// 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
//
|
||||
|
||||
legend {
|
||||
border: 0; // 1
|
||||
padding: 0; // 2
|
||||
}
|
||||
|
||||
//
|
||||
// Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
//
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
//
|
||||
// Don't inherit the `font-weight` (applied by a rule above).
|
||||
// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
//
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
// Tables
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Remove most spacing between table cells.
|
||||
//
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
55
libraries/framework/skin/base/pager.less
Normal file
55
libraries/framework/skin/base/pager.less
Normal file
@@ -0,0 +1,55 @@
|
||||
/*==================================================
|
||||
Pager Pagination
|
||||
==================================================== */
|
||||
|
||||
|
||||
.pager {
|
||||
padding-left: 0;
|
||||
margin: @line-height-computed 0;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
&:extend(.clearfix all);
|
||||
li {
|
||||
display: inline;
|
||||
> a,
|
||||
> span {
|
||||
display: inline-block;
|
||||
padding: 5px 14px;
|
||||
background-color: @pager-bg;
|
||||
border: 1px solid @pager-border;
|
||||
border-radius: @pager-border-radius;
|
||||
}
|
||||
|
||||
> a:hover,
|
||||
> a:focus {
|
||||
text-decoration: none;
|
||||
background-color: @pager-hover-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.next {
|
||||
> a,
|
||||
> span {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.previous {
|
||||
> a,
|
||||
> span {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.disabled {
|
||||
> a,
|
||||
> a:hover,
|
||||
> a:focus,
|
||||
> span {
|
||||
color: @pager-disabled-color;
|
||||
background-color: @pager-bg;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
1044
libraries/framework/skin/base/pages.less
Normal file
1044
libraries/framework/skin/base/pages.less
Normal file
File diff suppressed because it is too large
Load Diff
89
libraries/framework/skin/base/pagination.less
Normal file
89
libraries/framework/skin/base/pagination.less
Normal file
@@ -0,0 +1,89 @@
|
||||
/*==================================================
|
||||
Paginations
|
||||
==================================================== */
|
||||
|
||||
.pagination {
|
||||
display: inline-block;
|
||||
padding-left: 0;
|
||||
margin: @line-height-computed 0;
|
||||
border-radius: @border-radius-base;
|
||||
|
||||
> li {
|
||||
display: inline; // Remove list-style and block-level defaults
|
||||
> a,
|
||||
> span {
|
||||
position: relative;
|
||||
float: left; // Collapse white-space
|
||||
padding: (@padding-base-vertical - 4) @padding-base-horizontal;
|
||||
line-height: @line-height-base;
|
||||
text-decoration: none;
|
||||
color: @pagination-color;
|
||||
background-color: @pagination-bg;
|
||||
border: 1px solid @pagination-border;
|
||||
margin-left: -1px;
|
||||
}
|
||||
&:first-child {
|
||||
> a,
|
||||
> span {
|
||||
margin-left: 0;
|
||||
.border-left-radius(@border-radius-base);
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
> a,
|
||||
> span {
|
||||
.border-right-radius(@border-radius-base);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> li > a,
|
||||
> li > span {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @pagination-hover-color;
|
||||
background-color: @pagination-hover-bg;
|
||||
border-color: @pagination-hover-border;
|
||||
}
|
||||
}
|
||||
|
||||
> .active > a,
|
||||
> .active > span {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
z-index: 2;
|
||||
color: @pagination-active-color;
|
||||
background-color: @pagination-active-bg;
|
||||
border-color: @pagination-active-border;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
> .disabled {
|
||||
> span,
|
||||
> span:hover,
|
||||
> span:focus,
|
||||
> a,
|
||||
> a:hover,
|
||||
> a:focus {
|
||||
color: @pagination-disabled-color;
|
||||
background-color: @pagination-disabled-bg;
|
||||
border-color: @pagination-disabled-border;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Sizing
|
||||
// --------------------------------------------------
|
||||
|
||||
// Large
|
||||
.pagination-lg {
|
||||
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
|
||||
}
|
||||
|
||||
// Small
|
||||
.pagination-sm {
|
||||
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
|
||||
}
|
||||
400
libraries/framework/skin/base/panels.less
Normal file
400
libraries/framework/skin/base/panels.less
Normal file
@@ -0,0 +1,400 @@
|
||||
/*==================================================
|
||||
Panels
|
||||
==================================================== */
|
||||
|
||||
// Base class
|
||||
.panel {
|
||||
position: relative;
|
||||
margin-bottom: 20px;
|
||||
background-color: @panel-bg;
|
||||
border-radius: @panel-border-radius;
|
||||
|
||||
&.panel-transparent {
|
||||
background: none;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// Top Border Panel Style
|
||||
&.panel-border {
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
&.top { border-top-width: 5px; }
|
||||
&.right { border-right-width: 5px; }
|
||||
&.bottom { border-bottom-width: 5px; }
|
||||
&.left { border-left-width: 5px; }
|
||||
> .panel-heading {
|
||||
background-color: @panel-heading-bg;
|
||||
border-color: @panel-border-color;
|
||||
border-top: 1px solid transparent;
|
||||
> .panel-title {
|
||||
color: @panel-heading-font-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.panel-border.panel-default {
|
||||
border-color: #DDD;
|
||||
> .panel-heading {
|
||||
border-top: 1px solid transparent;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Panel Menu
|
||||
.panel-menu {
|
||||
background-color: #fafafa;
|
||||
padding: 12px;
|
||||
border: 1px solid @panel-border-color;
|
||||
|
||||
&.dark {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
}
|
||||
// remove left and right border if inside a panel-body (already has border)
|
||||
.panel-body .panel-menu {
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
// remove top border if a sibling element with a border exist
|
||||
.panel-heading + .panel-menu,
|
||||
.panel-menu + .panel-body,
|
||||
.panel-body + .panel-menu,
|
||||
.panel-body + .panel-body {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
|
||||
// Panel contents
|
||||
.panel-body {
|
||||
position: relative;
|
||||
padding: @panel-body-padding;
|
||||
border: 1px solid @panel-border-color;
|
||||
&:extend(.clearfix all);
|
||||
|
||||
& + .panel-footer {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Optional heading
|
||||
.panel-heading {
|
||||
position: relative;
|
||||
height: 40px;
|
||||
line-height: 36px;
|
||||
background: @panel-heading-bg;
|
||||
color: @panel-heading-font-color;
|
||||
font-size: @panel-heading-font-size;
|
||||
font-weight: @panel-heading-font-weight;
|
||||
padding: @panel-heading-padding;
|
||||
border: 1px solid @panel-border-color;
|
||||
.border-top-radius((@panel-border-radius - 1));
|
||||
|
||||
+ .panel-body {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
> .dropdown .dropdown-toggle {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.widget-menu {
|
||||
|
||||
// Button Groups
|
||||
.btn-group {
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
// Field inputs
|
||||
.form-control {
|
||||
margin-top: 6px;
|
||||
font-size: 11px;
|
||||
height: 27px;
|
||||
padding: 2px 10px;
|
||||
border-radius: 1px;
|
||||
&.input-sm {
|
||||
margin-top: 9px;
|
||||
height: 22px;
|
||||
}
|
||||
}
|
||||
// Progress Bars
|
||||
.progress { margin-top: 11px; margin-bottom: 0; }
|
||||
.progress-bar-lg { margin-top: 10px; }
|
||||
.progress-bar-sm { margin-top: 15px; }
|
||||
.progress-bar-xs { margin-top: 17px; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Panel heading Icon - Required for proper
|
||||
// adminpanels.js functionality (title edit)
|
||||
.panel-icon {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
// Within heading, strip any `h*` tag of its default margins for spacing.
|
||||
.panel-title {
|
||||
padding-left: 6px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
|
||||
> .fa,
|
||||
> .glyphicon,
|
||||
> .glyphicons,
|
||||
> .imoon {
|
||||
top: 2px;
|
||||
min-width: 22px;
|
||||
color: inherit;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
> a {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
// Optional footer (stays gray in every modifier class)
|
||||
.panel-footer {
|
||||
padding: @panel-footer-padding;
|
||||
background-color: @panel-footer-bg;
|
||||
border: 1px solid @panel-border-color;
|
||||
.border-bottom-radius((@panel-border-radius - 1));
|
||||
}
|
||||
|
||||
|
||||
// List groups in panels
|
||||
//
|
||||
// By default, space out list group content from panel headings to account for
|
||||
// any kind of custom content between the two.
|
||||
|
||||
.panel {
|
||||
> .list-group {
|
||||
margin-bottom: 0;
|
||||
|
||||
.list-group-item {
|
||||
// border-width: 1px 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
// Add border top radius for first one
|
||||
&:first-child {
|
||||
.list-group-item:first-child {
|
||||
// border-top: 0;
|
||||
.border-top-radius((@panel-border-radius - 1));
|
||||
}
|
||||
}
|
||||
// Add border bottom radius for last one
|
||||
&:last-child {
|
||||
.list-group-item:last-child {
|
||||
// border-bottom: 0;
|
||||
.border-bottom-radius((@panel-border-radius - 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Collapse space between when there's no additional content.
|
||||
.panel-heading + .list-group {
|
||||
.list-group-item:first-child {
|
||||
border-top-width: 0;
|
||||
}
|
||||
}
|
||||
.panel-body + .list-group {
|
||||
.list-group-item:first-child {
|
||||
border-top-width: 0;
|
||||
}
|
||||
}
|
||||
.list-group + .panel-footer {
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
// Tables in panels
|
||||
//
|
||||
// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
|
||||
// watch it go full width.
|
||||
|
||||
.panel {
|
||||
> .table,
|
||||
> .table-responsive > .table,
|
||||
> .panel-collapse > .table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
// Add border top radius for first one
|
||||
> .table:first-child,
|
||||
> .table-responsive:first-child > .table:first-child {
|
||||
.border-top-radius((@panel-border-radius - 1));
|
||||
|
||||
> thead:first-child,
|
||||
> tbody:first-child {
|
||||
> tr:first-child {
|
||||
td:first-child,
|
||||
th:first-child {
|
||||
border-top-left-radius: (@panel-border-radius - 1);
|
||||
}
|
||||
td:last-child,
|
||||
th:last-child {
|
||||
border-top-right-radius: (@panel-border-radius - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Add border bottom radius for last one
|
||||
> .table:last-child,
|
||||
> .table-responsive:last-child > .table:last-child {
|
||||
.border-bottom-radius((@panel-border-radius - 1));
|
||||
|
||||
> tbody:last-child,
|
||||
> tfoot:last-child {
|
||||
> tr:last-child {
|
||||
td:first-child,
|
||||
th:first-child {
|
||||
border-bottom-left-radius: (@panel-border-radius - 1);
|
||||
}
|
||||
td:last-child,
|
||||
th:last-child {
|
||||
border-bottom-right-radius: (@panel-border-radius - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> .panel-body + .table,
|
||||
> .panel-body + .table-responsive {
|
||||
border-top: 1px solid @table-border-color;
|
||||
}
|
||||
> .table > tbody:first-child > tr:first-child th,
|
||||
> .table > tbody:first-child > tr:first-child td {
|
||||
border-top: 0;
|
||||
}
|
||||
> .table-bordered,
|
||||
> .table-responsive > .table-bordered {
|
||||
border: 0;
|
||||
> thead,
|
||||
> tbody,
|
||||
> tfoot {
|
||||
> tr {
|
||||
> th:first-child,
|
||||
> td:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
> th:last-child,
|
||||
> td:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
> thead,
|
||||
> tbody {
|
||||
> tr:first-child {
|
||||
> td,
|
||||
> th {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
> tbody,
|
||||
> tfoot {
|
||||
> tr:last-child {
|
||||
> td,
|
||||
> th {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> .table-responsive {
|
||||
border: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Collapsable panels (aka, accordion)
|
||||
//
|
||||
// Wrap a series of panels in `.panel-group` to turn them into an accordion with
|
||||
// the help of our collapse JavaScript plugin.
|
||||
|
||||
.panel-group {
|
||||
margin-bottom: @line-height-computed;
|
||||
|
||||
// panel title
|
||||
.panel-title {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.panel-heading,
|
||||
.panel-heading a {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// Accordion Option - LG Size
|
||||
&.accordion-lg {
|
||||
.panel + .panel {
|
||||
margin-top: 12px;
|
||||
}
|
||||
.panel-heading {
|
||||
font-size: 14px;
|
||||
height: 54px;
|
||||
line-height: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
// Adds optional toggle icon to accordion title
|
||||
.accordion-icon {
|
||||
padding-left: 35px;
|
||||
|
||||
&:after {
|
||||
position: absolute;
|
||||
content: "\f068";
|
||||
font-family: "FontAwesome";
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: #555;
|
||||
left: 10px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
&.collapsed:after {
|
||||
content: "\f067";
|
||||
}
|
||||
|
||||
// Right side positioned icon
|
||||
&.icon-right {
|
||||
padding-left: 10px;
|
||||
padding-right: 30px;
|
||||
&:after {
|
||||
left: auto;
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Tighten up margin so it's only between panels
|
||||
.panel {
|
||||
margin-bottom: 0;
|
||||
border-radius: @panel-border-radius;
|
||||
+ .panel {
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.panel-heading {
|
||||
// border-bottom: 0;
|
||||
+ .panel-collapse > .panel-body {
|
||||
border-top: 0;
|
||||
// border-top: 1px solid @panel-inner-border;
|
||||
}
|
||||
}
|
||||
.panel-footer {
|
||||
border-top: 0;
|
||||
+ .panel-collapse .panel-body {
|
||||
border-bottom: 1px solid @panel-inner-border;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
185
libraries/framework/skin/base/plugins/admindock.less
Normal file
185
libraries/framework/skin/base/plugins/admindock.less
Normal file
@@ -0,0 +1,185 @@
|
||||
/*===============================================
|
||||
AdminDock
|
||||
================================================= */
|
||||
.dockmodal,
|
||||
.dockmodal *,
|
||||
.dockmodal *:before,
|
||||
.dockmodal *:after {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.modal-placeholder {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.dockmodal-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1050;
|
||||
background: #000;
|
||||
opacity: 0.7;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dockmodal {
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
z-index: 1000;
|
||||
height: 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 0;
|
||||
box-shadow: 0 1px 0px #000;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.dockmodal-header {
|
||||
height: 36px;
|
||||
padding: 5px 5px 5px 10px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #30363e;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dockmodal-body {
|
||||
background: #FFF;
|
||||
position: absolute;
|
||||
top: 36px;
|
||||
bottom: 40px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
overflow: auto;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
.dockmodal-footer {
|
||||
padding: 5px 10px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #CCC;
|
||||
overflow: hidden;
|
||||
text-align: right;
|
||||
}
|
||||
.dockmodal-footer-buttonset {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.dockmodal.no-footer .dockmodal-body {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.dockmodal-header .title-text {
|
||||
color: #FFFFFF;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
line-height: 26px;
|
||||
vertical-align: top;
|
||||
white-space: nowrap;
|
||||
max-width: 100%;
|
||||
margin-right: 90px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action {
|
||||
padding: 5px;
|
||||
float: right;
|
||||
margin-right: 1px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action:hover {
|
||||
background: #555;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action i {
|
||||
background: url("@{img-path}/plugins/admindock-sprite.png") no-repeat top left;
|
||||
vertical-align: top;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action .icon-dockmodal-close {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action .icon-dockmodal-popin {
|
||||
background-position: 0 -40px;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action .icon-dockmodal-popout {
|
||||
background-position: 0 -60px;
|
||||
}
|
||||
|
||||
.dockmodal.popped-out .header-action .icon-dockmodal-popout {
|
||||
background-position: 0 -40px;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action .icon-dockmodal-minimize {
|
||||
background-position: 0 -75px;
|
||||
}
|
||||
|
||||
.dockmodal-header .header-action .icon-dockmodal-restore {
|
||||
background-position: 0 -80px;
|
||||
}
|
||||
|
||||
.dockmodal.minimized .header-action .icon-dockmodal-minimize {
|
||||
background-position: 0 -25px;
|
||||
}
|
||||
|
||||
.dockmodal.popped-out {
|
||||
width: auto;
|
||||
height: auto;
|
||||
border: 0;
|
||||
z-index: 1501;
|
||||
}
|
||||
|
||||
.dockmodal.minimized {
|
||||
height: 36px;
|
||||
top: auto;
|
||||
left: auto;
|
||||
right: 20px;
|
||||
bottom: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.dockmodal.minimized .dockmodal-header {
|
||||
/*position: relative;*/
|
||||
}
|
||||
|
||||
.dockmodal.minimized .dockmodal-body {
|
||||
/*display: none;*/
|
||||
}
|
||||
|
||||
.dockmodal.minimized .dockmodal-footer {
|
||||
/*display: none;*/
|
||||
}
|
||||
|
||||
.dockmodal .dockmodal-footer-buttonset > a {
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
.dockmodal .dockmodal-footer-buttonset > a + a {
|
||||
margin-left: 5px;
|
||||
}
|
||||
609
libraries/framework/skin/base/plugins/adminmodals.less
Normal file
609
libraries/framework/skin/base/plugins/adminmodals.less
Normal file
@@ -0,0 +1,609 @@
|
||||
/* ==================================================
|
||||
AdminModals
|
||||
==================================================== */
|
||||
/*
|
||||
Styles for the html/body for special modal where we want 3d effects
|
||||
Note that we need a container wrapping all content on the page for the
|
||||
perspective effects (not including the modals and the overlay).
|
||||
*/
|
||||
.md-perspective,
|
||||
.md-perspective body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.md-perspective body {
|
||||
background: #222;
|
||||
-webkit-perspective: 600px;
|
||||
perspective: 600px;
|
||||
}
|
||||
|
||||
/* Modal styles */
|
||||
.md-modal {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 50%;
|
||||
max-width: 630px;
|
||||
min-width: 320px;
|
||||
height: auto;
|
||||
z-index: 2000;
|
||||
visibility: hidden;
|
||||
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
|
||||
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
.md-show { visibility: visible; }
|
||||
|
||||
/* Overlay styles */
|
||||
.md-overlay {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
visibility: hidden;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
opacity: 0;
|
||||
background: rgba(0,0,0,0.8);
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.md-show ~ .md-overlay {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/* Content styles */
|
||||
.md-content {
|
||||
color: #666;
|
||||
background: #FFF;
|
||||
position: relative;
|
||||
border-radius: 3px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.md-content h3 {
|
||||
margin: 0;
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
font-size: 2.4em;
|
||||
font-weight: 300;
|
||||
background: #eee;
|
||||
border-radius: 3px 3px 0 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.md-content > div {
|
||||
padding: 15px 40px 30px;
|
||||
margin: 0;
|
||||
font-weight: 300;
|
||||
font-size: 1.15em;
|
||||
}
|
||||
.md-content > div p {
|
||||
margin: 0;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.md-content > div ul {
|
||||
margin: 0;
|
||||
padding: 0 0 30px 20px;
|
||||
}
|
||||
.md-content > div ul li {
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
/* ====== Container options ====== */
|
||||
/* modal close button */
|
||||
.admin-form .mfp-close,
|
||||
.admin-form .mfp-close-btn-in {
|
||||
font-size: 26px;
|
||||
color: #999;
|
||||
text-shadow: none;
|
||||
font-weight: 400;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
/* ====== Default Fade effect ====== */
|
||||
.mfp-with-fade .mfp-content, .mfp-with-fade.mfp-bg {
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity .5s ease-out;
|
||||
transition: opacity .5s ease-out;
|
||||
}
|
||||
.mfp-with-fade.mfp-ready .mfp-content {
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-with-fade.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-with-fade.mfp-removing .mfp-with-anim {
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-with-fade.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== Zoom effect ====== */
|
||||
.mfp-zoomIn {
|
||||
/* start state */
|
||||
/* animate in */
|
||||
/* animate out */
|
||||
}
|
||||
.mfp-zoomIn .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.2s ease-in-out;
|
||||
transform: scale(0.8);
|
||||
}
|
||||
.mfp-zoomIn.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
.mfp-zoomIn.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
.mfp-zoomIn.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-zoomIn.mfp-removing .mfp-with-anim {
|
||||
transform: scale(0.8);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-zoomIn.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== Zoom-out effect ====== */
|
||||
.mfp-zoomOut {}
|
||||
.mfp-zoomOut .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease-in-out;
|
||||
transform: scale(1.3);
|
||||
}
|
||||
.mfp-zoomOut.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
.mfp-zoomOut.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
.mfp-zoomOut.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-zoomOut.mfp-removing .mfp-with-anim {
|
||||
transform: scale(1.3);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-zoomOut.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== Move-from-left effect ====== */
|
||||
.mfp-slideLeft {}
|
||||
.mfp-slideLeft .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.3s;
|
||||
transform: translateX(-50px);
|
||||
}
|
||||
.mfp-slideLeft.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.mfp-slideLeft.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
.mfp-slideLeft.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-slideLeft.mfp-removing .mfp-with-anim {
|
||||
transform: translateX(50px);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-slideLeft.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== Move-from-right effect ====== */
|
||||
.mfp-slideRight {}
|
||||
.mfp-slideRight .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.3s;
|
||||
transform: translateX(50px);
|
||||
}
|
||||
.mfp-slideRight.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.mfp-slideRight.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
.mfp-slideRight.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-slideRight.mfp-removing .mfp-with-anim {
|
||||
transform: translateX(-50px);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-slideRight.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== Move-from-top effect ====== */
|
||||
.mfp-slideDown {}
|
||||
.mfp-slideDown .mfp-content {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.mfp-slideDown .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.2s;
|
||||
transform: translateY(-100px);
|
||||
}
|
||||
.mfp-slideDown.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.mfp-slideDown.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
.mfp-slideDown.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-slideDown.mfp-removing .mfp-with-anim {
|
||||
transform: translateY(-50px);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-slideDown.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== Move-from-bottom effect ====== */
|
||||
.mfp-slideUp {}
|
||||
.mfp-slideUp .mfp-content {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.mfp-slideUp .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.2s;
|
||||
transform: translateY(100px);
|
||||
}
|
||||
.mfp-slideUp.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.mfp-slideUp.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
.mfp-slideUp.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-slideUp.mfp-removing .mfp-with-anim {
|
||||
transform: translateY(50px);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-slideUp.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== 3d unfold ====== */
|
||||
.flipInX {}
|
||||
.mfp-flipInX .mfp-content {
|
||||
perspective: 2000px;
|
||||
}
|
||||
.mfp-flipInX .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease-in-out;
|
||||
transform-style: preserve-3d;
|
||||
transform: rotateX(-60deg);
|
||||
}
|
||||
.mfp-flipInX.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-flipInX.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: rotateX(0deg);
|
||||
}
|
||||
.mfp-flipInX.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-flipInX.mfp-removing .mfp-with-anim {
|
||||
transform: rotateX(60deg);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-flipInX.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== FlipInY ====== */
|
||||
.mfp-flipInY {}
|
||||
.mfp-flipInY .mfp-content {
|
||||
perspective: 2000px;
|
||||
}
|
||||
.mfp-flipInY .mfp-with-anim {
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease-in-out;
|
||||
transform-style: preserve-3d;
|
||||
transform: rotateY(-60deg);
|
||||
}
|
||||
.mfp-flipInY.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-flipInY.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
.mfp-flipInY.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-flipInY.mfp-removing .mfp-with-anim {
|
||||
transform: rotateY(60deg);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-flipInY.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== rotate in left ====== */
|
||||
.mfp-rotateDown {}
|
||||
.mfp-rotateDown .mfp-content {
|
||||
-webkit-perspective: 1300px;
|
||||
perspective: 1300px;
|
||||
}
|
||||
.mfp-rotateDown .mfp-with-anim {
|
||||
-webkit-transform-style: preserve-3d;
|
||||
transform-style: preserve-3d;
|
||||
-webkit-transform: translateY(-100%) rotateX(-90deg);
|
||||
transform: translateY(-100%) rotateX(-90deg);
|
||||
-webkit-transform-origin: 0 -100%;
|
||||
transform-origin: 0 -100%;
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
.mfp-rotateDown.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-rotateDown.mfp-ready .mfp-with-anim {
|
||||
-webkit-transform: translateY(0%) rotateX(0deg);
|
||||
transform: translateY(0%) rotateX(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-rotateDown.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-rotateDown.mfp-removing .mfp-with-anim {
|
||||
-webkit-transform: translateY(-100%) rotateX(-90deg);
|
||||
transform: translateY(-100%) rotateX(-90deg);
|
||||
-webkit-transform-origin: 0 -100%;
|
||||
transform-origin: 0 -100%;
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-rotateDown.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== rotate in left ====== */
|
||||
.mfp-rotateUp {}
|
||||
.mfp-rotateUp .mfp-content {
|
||||
-webkit-perspective: 1300px;
|
||||
perspective: 1300px;
|
||||
}
|
||||
.mfp-rotateUp .mfp-with-anim {
|
||||
-webkit-transform-style: preserve-3d;
|
||||
transform-style: preserve-3d;
|
||||
-webkit-transform: translateY(100%) rotateX(90deg);
|
||||
transform: translateY(100%) rotateX(90deg);
|
||||
-webkit-transform-origin: 0 100%;
|
||||
transform-origin: 0 100%;
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
.mfp-rotateUp.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-rotateUp.mfp-ready .mfp-with-anim {
|
||||
-webkit-transform: translateY(0%) rotateX(0deg);
|
||||
transform: translateY(0%) rotateX(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-rotateUp.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-rotateUp.mfp-removing .mfp-with-anim {
|
||||
-webkit-transform: translateY(100%) rotateX(90deg);
|
||||
transform: translateY(100%) rotateX(90deg);
|
||||
-webkit-transform-origin: 0 100%;
|
||||
transform-origin: 0 100%;
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-rotateUp.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== rotate in left ====== */
|
||||
.mfp-rotateRight {}
|
||||
.mfp-rotateRight .mfp-content {
|
||||
-webkit-perspective: 1300px;
|
||||
perspective: 1300px;
|
||||
}
|
||||
.mfp-rotateRight .mfp-with-anim {
|
||||
opacity: 0;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
transform-style: preserve-3d;
|
||||
-webkit-transform: translateX(100%) rotateY(90deg);
|
||||
transform: translateX(100%) rotateY(90deg);
|
||||
-webkit-transform-origin: 100% 0;
|
||||
transform-origin: 100% 0;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
.mfp-rotateRight.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-rotateRight.mfp-ready .mfp-with-anim {
|
||||
-webkit-transform: translateX(0%) rotateY(0deg);
|
||||
transform: translateX(0%) rotateY(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-rotateRight.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-rotateRight.mfp-removing .mfp-with-anim {
|
||||
-webkit-transform: translateX(-100%) rotateY(-90deg);
|
||||
transform: translateX(-100%) rotateY(-90deg);
|
||||
-webkit-transform-origin: -100% 0;
|
||||
transform-origin: -100% 0;
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-rotateRight.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== rotate in left ====== */
|
||||
.mfp-rotateLeft {}
|
||||
.mfp-rotateLeft .mfp-content {
|
||||
-webkit-perspective: 1300px;
|
||||
perspective: 1300px;
|
||||
}
|
||||
.mfp-rotateLeft .mfp-with-anim {
|
||||
opacity: 0;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
transform-style: preserve-3d;
|
||||
-webkit-transform: translateX(-100%) rotateY(-90deg);
|
||||
transform: translateX(-100%) rotateY(-90deg);
|
||||
-webkit-transform-origin: -100% 0;
|
||||
transform-origin: -100% 0;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
.mfp-rotateLeft.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-rotateLeft.mfp-ready .mfp-with-anim {
|
||||
-webkit-transform: translateX(0%) rotateY(0deg);
|
||||
transform: translateX(0%) rotateY(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-rotateLeft.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-rotateLeft.mfp-removing .mfp-with-anim {
|
||||
-webkit-transform: translateX(100%) rotateY(90deg);
|
||||
transform: translateX(100%) rotateY(90deg);
|
||||
-webkit-transform-origin: 100% 0;
|
||||
transform-origin: 100% 0;
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-rotateLeft.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== fullscale ====== */
|
||||
.mfp-fullscale {}
|
||||
.mfp-fullscale .mfp-content {}
|
||||
.mfp-fullscale .popup-basic {}
|
||||
.mfp-fullscale .mfp-with-anim {
|
||||
-webkit-transform: scale(0.8);
|
||||
transform: scale(0.8);
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.6s;
|
||||
transition: all 0.6s;
|
||||
-webkit-transition-delay: 0.3s;
|
||||
transition-delay: 0.3s;
|
||||
}
|
||||
.mfp-fullscale.mfp-bg {
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
.mfp-fullscale.mfp-ready .mfp-with-anim {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-fullscale.mfp-ready.mfp-bg {
|
||||
background: #000;
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-fullscale.mfp-removing .mfp-with-anim {
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.4s;
|
||||
transition: all 0.4s;
|
||||
}
|
||||
.mfp-fullscale.mfp-removing.mfp-bg {
|
||||
background: #000\A;
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.4s;
|
||||
transition: all 0.4s;
|
||||
}
|
||||
|
||||
/* ====== Sign ====== */
|
||||
.mfp-sign {}
|
||||
.mfp-sign .mfp-content {
|
||||
perspective: 1300px;
|
||||
}
|
||||
.mfp-sign .mfp-with-anim {
|
||||
transform-style: preserve-3d;
|
||||
transform: rotateX(-60deg);
|
||||
transform-origin: 50% 0;
|
||||
opacity: 0;
|
||||
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.mfp-sign.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-sign.mfp-ready .mfp-with-anim {
|
||||
transform: rotateX(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
.mfp-sign.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-sign.mfp-removing .mfp-with-anim {
|
||||
transform: rotateX(-60deg);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-sign.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ====== Newspaper effect ====== */
|
||||
.mfp-newspaper .mfp-with-anim {
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.2s ease-in-out;
|
||||
transition: all 0.5s;
|
||||
transform: scale(0) rotate(500deg);
|
||||
}
|
||||
.mfp-newspaper.mfp-bg {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.mfp-newspaper.mfp-ready .mfp-with-anim {
|
||||
opacity: 1;
|
||||
transform: scale(1) rotate(0deg);
|
||||
}
|
||||
.mfp-newspaper.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mfp-newspaper.mfp-removing .mfp-with-anim {
|
||||
transform: scale(0) rotate(500deg);
|
||||
opacity: 0;
|
||||
}
|
||||
.mfp-newspaper.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
383
libraries/framework/skin/base/plugins/adminpanels.less
Normal file
383
libraries/framework/skin/base/plugins/adminpanels.less
Normal file
@@ -0,0 +1,383 @@
|
||||
/*===============================================
|
||||
AdminPanels
|
||||
================================================= */
|
||||
/* add to ".admin-panels" wrapper to have the content fadein
|
||||
* after its contents are finished loading/rearranging */
|
||||
.admin-panels.fade-onload {
|
||||
opacity: 0;
|
||||
}
|
||||
/* when preserve grid setting is true and invisible
|
||||
* panel is left in an otherwise empty column. This is
|
||||
* useful when you want to drag a panel to a column
|
||||
* that would otherwise be empty */
|
||||
.preserve-grid {
|
||||
padding: 10px;
|
||||
background: transparent !important;
|
||||
border: 0 !important;
|
||||
margin: 0 !important;
|
||||
outline: 0 !important;
|
||||
}
|
||||
.panel + .preserve-grid {
|
||||
padding: 0;
|
||||
}
|
||||
body.ui-drag-active .preserve-grid {
|
||||
visibility: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* placeholder */
|
||||
.ui-sortable-handle {
|
||||
cursor: pointer;
|
||||
}
|
||||
.panel-placeholder {
|
||||
border-radius: 3px;
|
||||
margin-bottom: 20px;
|
||||
padding: 0;
|
||||
background-color: #eee;
|
||||
border: 2px dashed #ccc;
|
||||
}
|
||||
.ui-sortable-helper.panel {
|
||||
box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.panel-sortable .panel-heading {
|
||||
cursor: move;
|
||||
}
|
||||
.sortable-grid {
|
||||
min-height: 200px;
|
||||
}
|
||||
.sortable-grid.col-lg-12,
|
||||
.sortable-grid.col-md-12,
|
||||
.sortable-grid.col-sm-12,
|
||||
.sortable-grid.col-xs-12 {
|
||||
min-height: 0;
|
||||
}
|
||||
/* title/color editboxes */
|
||||
.panel-colorbox,
|
||||
.panel-editbox {
|
||||
position: relative;
|
||||
display: none;
|
||||
text-align: center;
|
||||
background: #f1f1f1;
|
||||
padding: 9px;
|
||||
color: #AAA;
|
||||
background-color: #f1f1f1;
|
||||
border-left: 2px dashed #d9d9d9;
|
||||
border-right: 2px dashed #d9d9d9;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
/* titlebox */
|
||||
.panel-editbox {
|
||||
padding: 12px 16px;
|
||||
}
|
||||
.panel-editbox input {
|
||||
height: 40px;
|
||||
background-color: #fff;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
color: #AAA;
|
||||
font-size: 16px;
|
||||
}
|
||||
.panel-editbox input:focus {
|
||||
border-color: #DDD;
|
||||
color: #666;
|
||||
}
|
||||
/* colorbox */
|
||||
.panel-colorbox {
|
||||
padding: 12px 9px;
|
||||
}
|
||||
.panel-colorbox > span {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
margin: 4px 5px 0;
|
||||
border: 2px solid rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.panel-colorbox > span:hover {
|
||||
border-color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
/* If titlebox or colorbox are present we need
|
||||
* to remove duplicate panel borders. Check sibling
|
||||
* elements and remove borders accordingly */
|
||||
.panel-heading + div + .panel-body,
|
||||
.panel-heading + div + .panel-menu,
|
||||
.panel-heading + div + div + .panel-body,
|
||||
.panel-heading + div + div + .panel-menu {
|
||||
border-top: 0;
|
||||
}
|
||||
/* fullscreen */
|
||||
body.panel-fullscreen-active {
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
}
|
||||
body.panel-fullscreen-active .navbar,
|
||||
body.panel-fullscreen-active #topbar,
|
||||
body.panel-fullscreen-active #sidebar_left,
|
||||
body.panel-fullscreen-active #sidebar_right {
|
||||
z-index: -1;
|
||||
display: none !important;
|
||||
}
|
||||
body.panel-fullscreen-active #content_wrapper {
|
||||
position: relative;
|
||||
z-index: 9999;
|
||||
}
|
||||
.panel-fullscreen {
|
||||
display: block !important;
|
||||
z-index: 9999 !important;
|
||||
position: fixed !important;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
top: 0 !important;
|
||||
right: 0 !important;
|
||||
left: 0 !important;
|
||||
bottom: 0 !important;
|
||||
}
|
||||
/* hide remove and collapse icon during fullscreen */
|
||||
.panel-fullscreen .panel-controls > .panel-control-remove,
|
||||
.panel-fullscreen .panel-controls > .panel-control-collapse {
|
||||
display: none !important;
|
||||
}
|
||||
/* collapsed */
|
||||
.panel-control-collapse:after {
|
||||
content: "\f068";
|
||||
/* fa-pencil */
|
||||
}
|
||||
.panel-collapsed .panel-control-collapse:after {
|
||||
content: "\f067";
|
||||
/* fa-pencil */
|
||||
}
|
||||
/* controls */
|
||||
.panel-controls {
|
||||
float: right;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
.panel-controls > a {
|
||||
padding-top: 1px;
|
||||
display: inline-block;
|
||||
opacity: 0.7;
|
||||
width: 30px;
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
.panel-controls > a:hover {
|
||||
text-decoration: none;
|
||||
opacity: 1;
|
||||
}
|
||||
/* Icon colors for panel contextuals */
|
||||
.panel-primary .panel-controls > a,
|
||||
.panel-info .panel-controls > a,
|
||||
.panel-success .panel-controls > a,
|
||||
.panel-warning .panel-controls > a,
|
||||
.panel-danger .panel-controls > a,
|
||||
.panel-alert .panel-controls > a,
|
||||
.panel-system .panel-controls > a,
|
||||
.panel-dark .panel-controls > a {
|
||||
color: #FFF;
|
||||
}
|
||||
/* control button icons */
|
||||
.panel-controls > a:after {
|
||||
font-family: "FontAwesome";
|
||||
}
|
||||
/* title icon */
|
||||
.panel-control-title:after {
|
||||
content: "\f040";
|
||||
/* fa-pencil */
|
||||
}
|
||||
.panel-editbox-open .panel-control-title:after {
|
||||
content: "\f0c7";
|
||||
/* fa-save */
|
||||
}
|
||||
/* color icon */
|
||||
.panel-control-color:after {
|
||||
content: "\f043";
|
||||
/* fa-tint */
|
||||
}
|
||||
.panel-colorbox-open .panel-control-color:after {
|
||||
content: "\f0c7";
|
||||
/* fa-save */
|
||||
}
|
||||
/* collapsed icon */
|
||||
.panel-control-collapse:after {
|
||||
content: "\f068";
|
||||
/* fa-pencil */
|
||||
}
|
||||
.panel-collapsed .panel-control-collapse:after {
|
||||
content: "\f067";
|
||||
/* fa-pencil */
|
||||
}
|
||||
/* fullscreen icon */
|
||||
.panel-control-fullscreen:after {
|
||||
content: "\f066";
|
||||
/* fa-pencil */
|
||||
}
|
||||
/* remove icon */
|
||||
.panel-control-remove:after {
|
||||
content: "\f00d";
|
||||
/* fa-remove */
|
||||
}
|
||||
/* callback icon */
|
||||
.panel-control-callback:after {
|
||||
content: "\f121";
|
||||
/* fa-code */
|
||||
}
|
||||
/* expose icon */
|
||||
.panel-control-expose:after {
|
||||
content: "\f06e";
|
||||
/* fa-eye */
|
||||
}
|
||||
.panel-exposed .panel-control-expose:after {
|
||||
content: "\f070";
|
||||
/* fa-eye closed */
|
||||
}
|
||||
/* dockable icon */
|
||||
.panel-control-dockable:after {
|
||||
content: "\f187";
|
||||
/* fa-code */
|
||||
}
|
||||
/* loading icon */
|
||||
.panel-controls > a.panel-control-loader {
|
||||
opacity: 1;
|
||||
display: none;
|
||||
}
|
||||
.panel-loader-active .panel-controls > a.panel-control-loader {
|
||||
display: inline-block !important;
|
||||
}
|
||||
.panel-control-loader:after {
|
||||
content: "\f110";
|
||||
/* fa-refresh */
|
||||
-webkit-animation: fa-spin 2s infinite linear;
|
||||
-moz-animation: fa-spin 2s infinite linear;
|
||||
animation: fa-spin 2s infinite linear;
|
||||
}
|
||||
/* loading icon animation */
|
||||
.fa-spin {
|
||||
-webkit-animation: fa-spin 2s infinite linear;
|
||||
animation: fa-spin 2s infinite linear;
|
||||
}
|
||||
@-webkit-keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
@keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
.panel.mobile-controls .panel-heading > .panel-controls {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin-top: 5px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: #F4F4F4;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #EEE;
|
||||
}
|
||||
.panel.mobile-controls .panel-heading > .panel-controls:hover,
|
||||
.panel.mobile-controls .panel-heading > .panel-controls.panel-controls-open {
|
||||
background: #F0F0F0;
|
||||
border-color: #E6E6E6;
|
||||
}
|
||||
.panel.mobile-controls .panel-heading > .panel-controls:after {
|
||||
position: absolute;
|
||||
content: "\f0c9";
|
||||
font-family: "FontAwesome";
|
||||
top: 0;
|
||||
left: 7px;
|
||||
line-height: 28px;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #AAA;
|
||||
-webkit-transition: color 0.3s ease;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
/* menu open states */
|
||||
.panel.mobile-controls .panel-heading > .panel-controls:hover,
|
||||
.panel.mobile-controls .panel-heading > .panel-controls.panel-controls-open {
|
||||
background: #F0F0F0;
|
||||
border-color: #E6E6E6;
|
||||
}
|
||||
.panel.mobile-controls .panel-heading > .panel-controls:hover:after,
|
||||
.panel.mobile-controls .panel-heading > .panel-controls.panel-controls-open:after {
|
||||
color: #777;
|
||||
}
|
||||
.panel.mobile-controls .panel-controls a {
|
||||
color: #999 !important;
|
||||
}
|
||||
.panel.mobile-controls .panel-heading > .panel-controls > a {
|
||||
display: none;
|
||||
}
|
||||
.panel.mobile-controls .panel-heading .panel-controls a.panel-control-loader,
|
||||
.panel.mobile-controls .panel-heading .panel-controls a.panel-control-loader:after {
|
||||
display: none !important;
|
||||
opacity: 0 !important;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
.panel.mobile-controls.panel-loader-active .panel-heading > .panel-controls:after {
|
||||
display: block;
|
||||
content: "\f110" !important;
|
||||
-webkit-animation: fa-spin 2s infinite linear;
|
||||
-moz-animation: fa-spin 2s infinite linear;
|
||||
animation: fa-spin 2s infinite linear;
|
||||
}
|
||||
.panel.mobile-controls .popover-content:after {
|
||||
display: none;
|
||||
}
|
||||
.panel.mobile-controls .panel-controls + .popover {
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.panel.mobile-controls .panel-controls + .popover > .arrow {
|
||||
border-left-color: #ccc;
|
||||
}
|
||||
.panel.mobile-controls .panel-controls + .popover > .popover-content {
|
||||
padding: 2px 5px;
|
||||
}
|
||||
.panel.mobile-controls .popover-content {
|
||||
float: none;
|
||||
margin: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
background: none;
|
||||
border: 0;
|
||||
}
|
||||
.panel.mobile-controls .popover-content .panel-controls > a {
|
||||
display: inline-block;
|
||||
}
|
||||
/* mobile control modifications during panel fullscreen mode */
|
||||
.panel.mobile-controls.panel-fullscreen .panel-heading > .panel-controls {
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin-top: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
border: 0;
|
||||
}
|
||||
.panel.mobile-controls.panel-fullscreen .panel-heading > .panel-controls:after {
|
||||
display: none !important;
|
||||
}
|
||||
.panel.mobile-controls.panel-fullscreen .panel-controls a {
|
||||
color: inherit !important;
|
||||
}
|
||||
.panel.mobile-controls.panel-fullscreen .panel-heading > .panel-controls > a {
|
||||
display: inline-block;
|
||||
}
|
||||
.panel.mobile-controls.panel-fullscreen .popover {
|
||||
display: none !important;
|
||||
}
|
||||
49
libraries/framework/skin/base/plugins/all_plugins.less
Normal file
49
libraries/framework/skin/base/plugins/all_plugins.less
Normal file
@@ -0,0 +1,49 @@
|
||||
/* ================================================
|
||||
PLUGINS
|
||||
|
||||
* The following contain small changes applied
|
||||
* specifically to 3rd party addons. Please
|
||||
* see "vendor/plugins" for actual plugin styles
|
||||
================================================= */
|
||||
@import "circlegraphs.less";
|
||||
@import "ckeditor.less";
|
||||
@import "countdown.less";
|
||||
@import "datatables.less";
|
||||
@import "dropzone.less";
|
||||
@import "expose.less";
|
||||
@import "fileupload.less";
|
||||
@import "flot.less";
|
||||
@import "fullcalendar.less";
|
||||
@import "gmap.less";
|
||||
@import "highcharts.less";
|
||||
@import "jqueryspinner.less";
|
||||
@import "jvectormap.less";
|
||||
@import "magnific.less";
|
||||
@import "markitup.less";
|
||||
@import "mapplic.less";
|
||||
@import "multiselect.less";
|
||||
@import "nanoscroller.less";
|
||||
@import "nestable.less";
|
||||
@import "pickers.less";
|
||||
@import "pnotify.less";
|
||||
@import "rangeslider.less";
|
||||
@import "summernote.less";
|
||||
@import "tagmanager.less";
|
||||
@import "treeview.less";
|
||||
|
||||
@import "tagsinput.less"; // added patch v1.3
|
||||
|
||||
@import "datepicker.less"; // added patch v1.4
|
||||
@import "typeahead.less"; // added patch v1.4
|
||||
@import "duallistbox.less"; // added patch v1.4
|
||||
@import "cropper.less"; // added patch v1.4
|
||||
@import "markdown.less"; // added patch v1.4
|
||||
@import "nprogress.less"; // added patch v1.4
|
||||
@import "scroller.less"; // added patch v1.4
|
||||
@import "select2.less"; // added patch v1.4
|
||||
|
||||
@import "admindock.less"; // added patch v1.4
|
||||
@import "adminmodals.less"; // added patch v1.4
|
||||
@import "adminpanels.less"; // added patch v1.4
|
||||
|
||||
@import "footable.less"; // added patch v1.5
|
||||
21
libraries/framework/skin/base/plugins/circlegraphs.less
Normal file
21
libraries/framework/skin/base/plugins/circlegraphs.less
Normal file
@@ -0,0 +1,21 @@
|
||||
/* ===============================================
|
||||
Circle Graphs
|
||||
================================================= */
|
||||
.circle-text {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.circle-text h2 {
|
||||
font-weight: 600;
|
||||
font-size: 24px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.circle-text p {
|
||||
font-weight: 600;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
67
libraries/framework/skin/base/plugins/ckeditor.less
Normal file
67
libraries/framework/skin/base/plugins/ckeditor.less
Normal file
@@ -0,0 +1,67 @@
|
||||
/*===============================================
|
||||
CKEditor
|
||||
================================================= */
|
||||
|
||||
.admin-skin.cke_chrome {
|
||||
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border-radius: 2px;
|
||||
background: #fafafa;
|
||||
border-color: #e7e7e7;
|
||||
}
|
||||
// editor header/toolbar
|
||||
.admin-skin .cke_top {
|
||||
background: #fafafa;
|
||||
border: 1px solid #e7e7e7;
|
||||
padding: 8px 10px 4px;
|
||||
}
|
||||
// editor toolbar buttons
|
||||
.admin-skin .cke_toolgroup,
|
||||
.admin-skin .cke_combo_button {
|
||||
margin-right: 10px;
|
||||
box-shadow: none;
|
||||
background: #FFF;
|
||||
border-radius: 1px;
|
||||
border-color: #DDD;
|
||||
}
|
||||
// editor textarea
|
||||
.admin-skin .cke_contents {
|
||||
border-radius: 0;
|
||||
border-color: #e7e7e7;
|
||||
}
|
||||
.admin-skin .cke_top + .cke_contents,
|
||||
.admin-skin .cke_contents + .cke_bottom {
|
||||
border-top: 0;
|
||||
}
|
||||
// editor footer
|
||||
.admin-skin .cke_bottom {
|
||||
background: none;
|
||||
padding: 6px 4px;
|
||||
border: 1px solid #e7e7e7;
|
||||
}
|
||||
// footer resizer
|
||||
.admin-skin .cke_resizer {
|
||||
margin-top: 6px;
|
||||
margin-right: 4px;
|
||||
border-right-color: #999;
|
||||
}
|
||||
// modify inline editing border
|
||||
.cke_editable_inline.cke_show_borders:focus {
|
||||
outline-width: 2px;
|
||||
outline-style: dashed;
|
||||
outline-offset: 6px;
|
||||
outline-color: @brand-warning;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
// option - remove bottom bar
|
||||
.cke-hide-bottom .cke_bottom {
|
||||
display: none;
|
||||
}
|
||||
// option - remove button toolbreak
|
||||
.cke_toolbar_break {
|
||||
clear: none !important;
|
||||
display: block !important;
|
||||
}
|
||||
90
libraries/framework/skin/base/plugins/countdown.less
Normal file
90
libraries/framework/skin/base/plugins/countdown.less
Normal file
@@ -0,0 +1,90 @@
|
||||
/* ==================================================
|
||||
Countdown
|
||||
==================================================== */
|
||||
|
||||
#counter {
|
||||
width: 100%;
|
||||
min-height: 200px;
|
||||
padding: 30px 20px;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
.is-countdown {
|
||||
}
|
||||
.countdown-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.countdown-holding span {
|
||||
color: #888;
|
||||
}
|
||||
.countdown-row {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
padding: 0px 2px;
|
||||
text-align: center;
|
||||
}
|
||||
.countdown-show1 .countdown-section {
|
||||
width: 98%;
|
||||
}
|
||||
.countdown-show2 .countdown-section {
|
||||
width: 48%;
|
||||
}
|
||||
.countdown-show3 .countdown-section {
|
||||
width: 32.5%;
|
||||
}
|
||||
.countdown-show4 .countdown-section {
|
||||
width: 24.5%;
|
||||
}
|
||||
.countdown-show5 .countdown-section {
|
||||
width: 19.5%;
|
||||
}
|
||||
.countdown-show6 .countdown-section {
|
||||
width: 16.25%;
|
||||
}
|
||||
.countdown-show7 .countdown-section {
|
||||
width: 14%;
|
||||
}
|
||||
.countdown-section {
|
||||
position: relative;
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 75%;
|
||||
text-align: center;
|
||||
}
|
||||
.countdown-section:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 5px;
|
||||
height: 45%;
|
||||
margin-top: 18%;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background: rgba(255,255,255, 0.5);
|
||||
}
|
||||
// .countdown-section:after {
|
||||
// content: "";
|
||||
// position: absolute;
|
||||
// width: 25px;
|
||||
// height: 5px;
|
||||
// margin-top: 45%;
|
||||
// top: 0;
|
||||
// right: -8px;
|
||||
// background: rgba(255,255,255, 0.5);
|
||||
// }
|
||||
.countdown-section:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
.countdown-amount {
|
||||
color: #FFF;
|
||||
font-weight: 200;
|
||||
font-size: 90px;
|
||||
}
|
||||
.countdown-period {
|
||||
display: block;
|
||||
color: #FFF;
|
||||
font-weight: 200;
|
||||
font-size: 24px;
|
||||
}
|
||||
.countdown-descr {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
380
libraries/framework/skin/base/plugins/cropper.less
Normal file
380
libraries/framework/skin/base/plugins/cropper.less
Normal file
@@ -0,0 +1,380 @@
|
||||
/* ===============================================
|
||||
Cropper
|
||||
================================================= */
|
||||
.cropper-container {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
.cropper-container img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-width: 0 !important;
|
||||
max-width: none !important;
|
||||
height: 100%;
|
||||
min-height: 0 !important;
|
||||
max-height: none !important;
|
||||
|
||||
image-orientation: 0deg !important;
|
||||
}
|
||||
.cropper-canvas,
|
||||
.cropper-drag-box,
|
||||
.cropper-crop-box,
|
||||
.cropper-modal {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.cropper-drag-box {
|
||||
background-color: #fff;
|
||||
filter: alpha(opacity=0);
|
||||
opacity: 0;
|
||||
}
|
||||
.cropper-modal {
|
||||
background-color: #000;
|
||||
filter: alpha(opacity=50);
|
||||
opacity: .5;
|
||||
}
|
||||
.cropper-view-box {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
outline: 1px solid #69f;
|
||||
outline-color: rgba(102, 153, 255, .75);
|
||||
}
|
||||
.cropper-dashed {
|
||||
position: absolute;
|
||||
display: block;
|
||||
filter: alpha(opacity=50);
|
||||
border: 0 dashed #fff;
|
||||
opacity: .5;
|
||||
}
|
||||
.cropper-dashed.dashed-h {
|
||||
top: 33.33333333%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 33.33333333%;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
.cropper-dashed.dashed-v {
|
||||
top: 0;
|
||||
left: 33.33333333%;
|
||||
width: 33.33333333%;
|
||||
height: 100%;
|
||||
border-right-width: 1px;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
.cropper-face,
|
||||
.cropper-line,
|
||||
.cropper-point {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
filter: alpha(opacity=10);
|
||||
opacity: .1;
|
||||
}
|
||||
.cropper-face {
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: move;
|
||||
background-color: #fff;
|
||||
}
|
||||
.cropper-line {
|
||||
background-color: #69f;
|
||||
}
|
||||
.cropper-line.line-e {
|
||||
top: 0;
|
||||
right: -3px;
|
||||
width: 5px;
|
||||
cursor: e-resize;
|
||||
}
|
||||
.cropper-line.line-n {
|
||||
top: -3px;
|
||||
left: 0;
|
||||
height: 5px;
|
||||
cursor: n-resize;
|
||||
}
|
||||
.cropper-line.line-w {
|
||||
top: 0;
|
||||
left: -3px;
|
||||
width: 5px;
|
||||
cursor: w-resize;
|
||||
}
|
||||
.cropper-line.line-s {
|
||||
bottom: -3px;
|
||||
left: 0;
|
||||
height: 5px;
|
||||
cursor: s-resize;
|
||||
}
|
||||
.cropper-point {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background-color: #69f;
|
||||
filter: alpha(opacity=75);
|
||||
opacity: .75;
|
||||
}
|
||||
.cropper-point.point-e {
|
||||
top: 50%;
|
||||
right: -3px;
|
||||
margin-top: -3px;
|
||||
cursor: e-resize;
|
||||
}
|
||||
.cropper-point.point-n {
|
||||
top: -3px;
|
||||
left: 50%;
|
||||
margin-left: -3px;
|
||||
cursor: n-resize;
|
||||
}
|
||||
.cropper-point.point-w {
|
||||
top: 50%;
|
||||
left: -3px;
|
||||
margin-top: -3px;
|
||||
cursor: w-resize;
|
||||
}
|
||||
.cropper-point.point-s {
|
||||
bottom: -3px;
|
||||
left: 50%;
|
||||
margin-left: -3px;
|
||||
cursor: s-resize;
|
||||
}
|
||||
.cropper-point.point-ne {
|
||||
top: -3px;
|
||||
right: -3px;
|
||||
cursor: ne-resize;
|
||||
}
|
||||
.cropper-point.point-nw {
|
||||
top: -3px;
|
||||
left: -3px;
|
||||
cursor: nw-resize;
|
||||
}
|
||||
.cropper-point.point-sw {
|
||||
bottom: -3px;
|
||||
left: -3px;
|
||||
cursor: sw-resize;
|
||||
}
|
||||
.cropper-point.point-se {
|
||||
right: -3px;
|
||||
bottom: -3px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: se-resize;
|
||||
filter: alpha(opacity=100);
|
||||
opacity: 1;
|
||||
}
|
||||
.cropper-point.point-se:before {
|
||||
position: absolute;
|
||||
right: -50%;
|
||||
bottom: -50%;
|
||||
display: block;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
content: " ";
|
||||
background-color: #69f;
|
||||
filter: alpha(opacity=0);
|
||||
opacity: 0;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.cropper-point.point-se {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.cropper-point.point-se {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.cropper-point.point-se {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
filter: alpha(opacity=75);
|
||||
opacity: .75;
|
||||
}
|
||||
}
|
||||
.cropper-bg {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
|
||||
}
|
||||
.cropper-invisible {
|
||||
filter: alpha(opacity=0);
|
||||
opacity: 0;
|
||||
}
|
||||
.cropper-hide {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
width: auto!important;
|
||||
min-width: 0!important;
|
||||
max-width: none!important;
|
||||
height: auto!important;
|
||||
min-height: 0!important;
|
||||
max-height: none!important;
|
||||
filter: alpha(opacity=0);
|
||||
opacity: 0;
|
||||
}
|
||||
.cropper-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
.cropper-move {
|
||||
cursor: move;
|
||||
}
|
||||
.cropper-crop {
|
||||
cursor: crosshair;
|
||||
}
|
||||
.cropper-disabled .cropper-canvas,
|
||||
.cropper-disabled .cropper-face,
|
||||
.cropper-disabled .cropper-line,
|
||||
.cropper-disabled .cropper-point {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Demo CSS */
|
||||
/* Content Containers */
|
||||
.img-container,
|
||||
.img-preview {
|
||||
background-color: #f7f7f7;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.img-container {
|
||||
min-height: 200px;
|
||||
max-height: 466px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.img-container {
|
||||
min-height: 466px;
|
||||
}
|
||||
}
|
||||
|
||||
.img-container > img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.img-preview {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.img-preview > img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.preview-lg {
|
||||
width: 263px;
|
||||
height: 148px;
|
||||
}
|
||||
.preview-md {
|
||||
width: 139px;
|
||||
height: 78px;
|
||||
}
|
||||
.preview-sm {
|
||||
width: 69px;
|
||||
height: 39px;
|
||||
}
|
||||
.preview-xs {
|
||||
width: 35px;
|
||||
height: 20px;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.docs-data > .input-group {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.docs-data > .input-group > label {
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.docs-data > .input-group > span {
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
.docs-buttons > .btn,
|
||||
.docs-buttons > .btn-group,
|
||||
.docs-buttons > .form-control {
|
||||
margin-right: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.docs-toggles > .btn,
|
||||
.docs-toggles > .btn-group,
|
||||
.docs-toggles > .dropdown {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.docs-tooltip {
|
||||
display: block;
|
||||
margin: -6px -12px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.docs-tooltip > .icon {
|
||||
margin: 0 -3px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.btn-upload .tooltip-inner {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
.btn-group-crop {
|
||||
margin-right: -15px!important;
|
||||
}
|
||||
|
||||
.btn-group-crop > .btn {
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.btn-group-crop .docs-tooltip {
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.docs-options .dropdown-menu {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.docs-options .dropdown-menu > li {
|
||||
padding: 3px 20px;
|
||||
}
|
||||
|
||||
.docs-options .dropdown-menu > li:hover {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.docs-options .dropdown-menu > li > label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.docs-cropped .modal-body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.docs-cropped .modal-body > img,
|
||||
.docs-cropped .modal-body > canvas {
|
||||
max-width: 100%;
|
||||
}
|
||||
233
libraries/framework/skin/base/plugins/datatables.less
Normal file
233
libraries/framework/skin/base/plugins/datatables.less
Normal file
@@ -0,0 +1,233 @@
|
||||
/*===============================================
|
||||
DataTables
|
||||
================================================= */
|
||||
/* DataTable */
|
||||
table.dataTable {
|
||||
margin: 0 !important;
|
||||
}
|
||||
/* Table Row Changes */
|
||||
table.dataTable tr.odd {
|
||||
background-color: #fff;
|
||||
}
|
||||
/* Table Header Changes */
|
||||
table.dataTable thead th {
|
||||
background: #f9f9f9;
|
||||
padding: 10px;
|
||||
}
|
||||
/* Table Footer Changes */
|
||||
table.dataTable tfoot th {
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 4px 18px 4px 10px;
|
||||
font-weight: 600;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
/* DataTable panel-menu, commonly holds filters */
|
||||
.dt-panelmenu {
|
||||
padding: 10px 14px;
|
||||
background: #f8f8f8;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
/* DataTable panel-footer, commonly holds paginator */
|
||||
.dt-panelfooter {
|
||||
padding: 6px 14px;
|
||||
background: #f8f8f8;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
/* DataTable Length */
|
||||
.dataTables_length {
|
||||
float: left;
|
||||
}
|
||||
.dataTables_length select {
|
||||
margin: 0 5px;
|
||||
}
|
||||
/* DataTable Filter */
|
||||
.dataTables_filter {
|
||||
float: right;
|
||||
}
|
||||
.dataTables_length label,
|
||||
.dataTables_filter label {
|
||||
margin: 0;
|
||||
}
|
||||
/* DataTable Search bar */
|
||||
table.dataTable .form-control {
|
||||
width: 100%;
|
||||
}
|
||||
/* DataTable Footer Elements */
|
||||
div.dataTables_info {
|
||||
float: left;
|
||||
padding-top: 12px;
|
||||
}
|
||||
div.dataTables_paginate {
|
||||
margin-top: 5px;
|
||||
}
|
||||
/* Filter Returned No results Pane */
|
||||
table.dataTable td.dataTables_empty {
|
||||
padding: 50px !important;
|
||||
background: #f6f6f6 !important;
|
||||
}
|
||||
/* Datatables abc filter */
|
||||
.dt-abc-filter {
|
||||
padding: 4px 0;
|
||||
}
|
||||
.dt-abc-filter span {
|
||||
cursor: pointer;
|
||||
padding: 0 9px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #4a89dc;
|
||||
display: inline-block;
|
||||
}
|
||||
.dt-abc-filter .abc-label {
|
||||
color: #999;
|
||||
padding: 0 3px;
|
||||
}
|
||||
/* Contextual Row Filter Example */
|
||||
table.dataTable tr.row-label td {
|
||||
background: #f6f6f6;
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
/*
|
||||
* Table Selected/Active Row
|
||||
*/
|
||||
.table.dataTable tbody tr.active td,
|
||||
.table.dataTable tbody tr.active th {
|
||||
color: #555;
|
||||
border-color: #EEE;
|
||||
background-color: #FFFEF0 !important;
|
||||
}
|
||||
.table.dataTable tbody tr.active:hover td,
|
||||
.table.dataTable tbody tr.active:hover th {
|
||||
color: #555;
|
||||
border-color: #EEE;
|
||||
background-color: #FAF9DF !important;
|
||||
}
|
||||
/*
|
||||
* DataTable Modals
|
||||
*
|
||||
*/
|
||||
.DTE .DTE_Header {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.DTE .DTE_Header h3 {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.DTE .DTE_Body {
|
||||
min-height: 100px;
|
||||
}
|
||||
.DTE .DTE_Body:before,
|
||||
.DTE .DTE_Body:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
.DTE .DTE_Body:after {
|
||||
clear: both;
|
||||
}
|
||||
.DTE .DTE_Body:before,
|
||||
.DTE .DTE_Body:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
.DTE .DTE_Body:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*
|
||||
* DataTables Editor Addon - Checkbox
|
||||
*/
|
||||
.fchild-checkbox.dataTable thead th.sorting_disabled {
|
||||
background: #FFF;
|
||||
}
|
||||
.fchild-checkbox.dataTable tr td:first-child {
|
||||
text-align: center;
|
||||
}
|
||||
.fchild-checkbox.dataTable tr td:first-child:before {
|
||||
content: "\f096"; /* fa-square-o */
|
||||
font-family: FontAwesome;
|
||||
color: #BBB;
|
||||
}
|
||||
.fchild-checkbox.dataTable tr.active td:first-child:before {
|
||||
content: "\f046"; /* fa-check-square-o */
|
||||
color: #555;
|
||||
}
|
||||
.fchild-checkbox.dataTable tr td.dataTables_empty:first-child:before {
|
||||
content: "";
|
||||
}
|
||||
div.DTE_Inline div.DTE_Field input {
|
||||
background-color: #FFFEF0;
|
||||
}
|
||||
|
||||
/*
|
||||
* PRINTING
|
||||
* Print display styles
|
||||
*/
|
||||
.DTTT_Print #content_wrapper {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
left: 0 !important;
|
||||
top: 0 !important;
|
||||
right: 0 !important;
|
||||
bottom: 0 !important;
|
||||
}
|
||||
.DTTT_print_info {
|
||||
position: fixed;
|
||||
top: 10%;
|
||||
left: 50%;
|
||||
width: 400px;
|
||||
height: 150px;
|
||||
margin-left: -200px;
|
||||
margin-top: -75px;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
padding: 10px 30px;
|
||||
background: #ffffff;
|
||||
/* Old browsers */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%, #f3f3f3 89%, #f9f9f9 100%);
|
||||
/* Chrome10+,Safari5.1+ */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 89%, #f9f9f9 100%);
|
||||
/* FF3.6+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%, #f3f3f3 89%, #f9f9f9 100%);
|
||||
/* IE10+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%, #f3f3f3 89%, #f9f9f9 100%);
|
||||
/* Opera 11.10+ */
|
||||
background: linear-gradient(top, #ffffff 0%, #f3f3f3 89%, #f9f9f9 100%);
|
||||
/* W3C */
|
||||
/* IE6-9 */
|
||||
opacity: 0.95;
|
||||
border: 1px solid black;
|
||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
-ms-border-radius: 6px;
|
||||
-o-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
||||
-ms-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
||||
-o-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.DTTT_print_info h6 {
|
||||
font-weight: normal;
|
||||
font-size: 28px;
|
||||
line-height: 28px;
|
||||
margin: 1em;
|
||||
}
|
||||
.DTTT_print_info p {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
// Datatables Collapsible Rows
|
||||
//
|
||||
tr.shown + tr { background-color: #f7f7f7; }
|
||||
td.details-control {
|
||||
background: url('@{img-path}/plugins/details_open.png') no-repeat center center;
|
||||
cursor: pointer;
|
||||
}
|
||||
tr.shown td.details-control {
|
||||
background: url('@{img-path}/plugins/details_close.png') no-repeat center center;
|
||||
}
|
||||
16
libraries/framework/skin/base/plugins/datepicker.less
Normal file
16
libraries/framework/skin/base/plugins/datepicker.less
Normal file
@@ -0,0 +1,16 @@
|
||||
/*===============================================
|
||||
Bootstrap Datepicker
|
||||
================================================= */
|
||||
|
||||
/* today item - bg */
|
||||
.bootstrap-datetimepicker-widget td.today:before {
|
||||
border-bottom: 7px solid @brand-primary;
|
||||
}
|
||||
/* active/:hover item - bg */
|
||||
.bootstrap-datetimepicker-widget td.active,
|
||||
.bootstrap-datetimepicker-widget td.active:hover,
|
||||
.bootstrap-datetimepicker-widget td span.active {
|
||||
background-color: #428bca;
|
||||
color: #ffffff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
104
libraries/framework/skin/base/plugins/dropzone.less
Normal file
104
libraries/framework/skin/base/plugins/dropzone.less
Normal file
@@ -0,0 +1,104 @@
|
||||
/*===============================================
|
||||
Dropzone
|
||||
================================================= */
|
||||
.dropzone {
|
||||
min-height: 200px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
padding: 15px;
|
||||
}
|
||||
.dropzone .dz-default.dz-message {
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 23%;
|
||||
margin-left: 0px;
|
||||
margin-top: -23px;
|
||||
text-align: center;
|
||||
left: 0;
|
||||
}
|
||||
.dropzone .dz-default.dz-message span {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
}
|
||||
.dropzone .dz-default.dz-message span.main-text {
|
||||
cursor: pointer;
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #666;
|
||||
}
|
||||
.dropzone .dz-default.dz-message span.main-text b {
|
||||
cursor: pointer;
|
||||
font-size: 40px;
|
||||
color: #555;
|
||||
}
|
||||
.dropzone .dz-default.dz-message span.sub-text {
|
||||
font-size: 20px;
|
||||
color: #888;
|
||||
}
|
||||
.dropzone .dz-default.dz-message i.fa {
|
||||
cursor: pointer;
|
||||
color: #4a89dc;
|
||||
font-size: 100px;
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.dropzone a.dz-remove,
|
||||
.dropzone-previews a.dz-remove {
|
||||
cursor: pointer;
|
||||
}
|
||||
// dropzone preview
|
||||
.dropzone .dz-preview,
|
||||
.dropzone-previews .dz-preview {
|
||||
box-shadow: none;
|
||||
border-color: #DDD;
|
||||
}
|
||||
// dropzone preview file size
|
||||
.dropzone .dz-preview .dz-details .dz-size,
|
||||
.dropzone-previews .dz-preview .dz-details .dz-size {
|
||||
font-size: 13px;
|
||||
}
|
||||
// dropzone preview thumb
|
||||
.dropzone .dz-preview .dz-details,
|
||||
.dropzone-previews .dz-preview .dz-details,
|
||||
.dropzone .dz-preview .dz-details img,
|
||||
.dropzone-previews .dz-preview .dz-details img {
|
||||
width: 115px;
|
||||
}
|
||||
// dropzone preview remove btn
|
||||
.dropzone a.dz-remove,
|
||||
.dropzone-previews a.dz-remove {
|
||||
margin-top: 30px;
|
||||
border-radius: 0;
|
||||
}
|
||||
// dropzone preview error indicator
|
||||
.dropzone .dz-preview.dz-error .dz-error-mark,
|
||||
.dropzone-previews .dz-preview.dz-error .dz-error-mark,
|
||||
.dropzone .dz-preview.dz-error .dz-success-mark,
|
||||
.dropzone-previews .dz-preview.dz-error .dz-success-mark {
|
||||
-webkit-transform: scale(0.70);
|
||||
transform: scale(0.70);
|
||||
}
|
||||
// dropzone small
|
||||
.dropzone.dropzone-sm .dz-default.dz-message i.fa {
|
||||
color: #BBB;
|
||||
font-size: 70px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.dropzone.dropzone-sm .dz-default.dz-message span.main-text {
|
||||
font-size: 22px;
|
||||
}
|
||||
.dropzone.dropzone-sm .dz-default.dz-message span.main-text b {
|
||||
font-size: 32px;
|
||||
}
|
||||
.dropzone.dropzone-sm .dz-default.dz-message span.sub-text {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Demonstration Purposes ONLY */
|
||||
.dropzone .dz-preview .dz-error-message,
|
||||
.dropzone-previews .dz-preview .dz-error-message {
|
||||
display: none !important;
|
||||
}
|
||||
87
libraries/framework/skin/base/plugins/duallistbox.less
Normal file
87
libraries/framework/skin/base/plugins/duallistbox.less
Normal file
@@ -0,0 +1,87 @@
|
||||
/* ==================================================
|
||||
Bootstrap Dual Listbox
|
||||
==================================================== */
|
||||
.bootstrap-duallistbox-container .buttons {
|
||||
width: 100%;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container label {
|
||||
display: block;
|
||||
}
|
||||
form.hide-list-label .bootstrap-duallistbox-container label {
|
||||
display: none !important;
|
||||
}
|
||||
.bootstrap-duallistbox-container .info {
|
||||
display: inline-block;
|
||||
margin-bottom: 5px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container .clear1,
|
||||
.bootstrap-duallistbox-container .clear2 {
|
||||
display: none;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container .box1.filtered .clear1,
|
||||
.bootstrap-duallistbox-container .box2.filtered .clear2 {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container .move,
|
||||
.bootstrap-duallistbox-container .remove {
|
||||
width: 50%;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container .btn-group .btn {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
.bootstrap-duallistbox-container select {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container .moveall,
|
||||
.bootstrap-duallistbox-container .removeall {
|
||||
width: 50%;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container.bs2compatible .btn-group > .btn + .btn {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container select {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
padding: 4px 5px;
|
||||
}
|
||||
.bootstrap-duallistbox-container.moveonselect select option {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container .filter {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
margin: 0 0 -1px 0;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container .filter.placeholder {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container.moveonselect .move,
|
||||
.bootstrap-duallistbox-container.moveonselect .remove {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.bootstrap-duallistbox-container.moveonselect .moveall,
|
||||
.bootstrap-duallistbox-container.moveonselect .removeall {
|
||||
width: 100%;
|
||||
margin: 0 !important;
|
||||
}
|
||||
11
libraries/framework/skin/base/plugins/expose.less
Normal file
11
libraries/framework/skin/base/plugins/expose.less
Normal file
@@ -0,0 +1,11 @@
|
||||
/*===============================================
|
||||
Expose.js
|
||||
================================================= */
|
||||
|
||||
/* overlay */
|
||||
.expose-overlay {
|
||||
display: none;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
z-index: 9999;
|
||||
//transition: all 4s ease;
|
||||
}
|
||||
100
libraries/framework/skin/base/plugins/fileupload.less
Normal file
100
libraries/framework/skin/base/plugins/fileupload.less
Normal file
@@ -0,0 +1,100 @@
|
||||
/*===============================================
|
||||
Bootstrap FileUpload
|
||||
================================================= */
|
||||
.btn-file {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.btn-file > input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
transform: translate(-300px, 0) scale(4);
|
||||
font-size: 23px;
|
||||
direction: ltr;
|
||||
cursor: pointer;
|
||||
}
|
||||
.fileupload {} .fileupload .uneditable-input {
|
||||
display: inline-block;
|
||||
margin-bottom: 0px;
|
||||
vertical-align: middle;
|
||||
cursor: text;
|
||||
}
|
||||
.fileupload .thumbnail {
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
outline: 2px dashed #d9d9d9;
|
||||
border: 0;
|
||||
background: none;
|
||||
}
|
||||
.fileupload .thumbnail > img {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
max-height: 100%;
|
||||
}
|
||||
.fileupload .btn {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.fileupload-exists .fileupload-new,
|
||||
.fileupload-new .fileupload-exists {
|
||||
display: none !important;
|
||||
}
|
||||
.fileupload-inline .fileupload-controls {
|
||||
display: inline;
|
||||
}
|
||||
.fileupload-new .input-group .btn-file {
|
||||
-webkit-border-radius: 0 3px 3px 0;
|
||||
-moz-border-radius: 0 3px 3px 0;
|
||||
border-radius: 0 3px 3px 0;
|
||||
}
|
||||
.thumbnail-borderless .thumbnail {
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
padding: 0;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-radius: 0;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.fileupload-new.thumbnail-borderless .thumbnail {
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.control-group.warning .fileupload .uneditable-input {
|
||||
color: #a47e3c;
|
||||
border-color: #a47e3c;
|
||||
}
|
||||
.control-group.warning .fileupload .fileupload-preview {
|
||||
color: #a47e3c;
|
||||
}
|
||||
.control-group.warning .fileupload .thumbnail {
|
||||
border-color: #a47e3c;
|
||||
}
|
||||
.control-group.error .fileupload .uneditable-input {
|
||||
color: #b94a48;
|
||||
border-color: #b94a48;
|
||||
}
|
||||
.control-group.error .fileupload .fileupload-preview {
|
||||
color: #b94a48;
|
||||
}
|
||||
.control-group.error .fileupload .thumbnail {
|
||||
border-color: #b94a48;
|
||||
}
|
||||
.control-group.success .fileupload .uneditable-input {
|
||||
color: #468847;
|
||||
border-color: #468847;
|
||||
}
|
||||
.control-group.success .fileupload .fileupload-preview {
|
||||
color: #468847;
|
||||
}
|
||||
.control-group.success .fileupload .thumbnail {
|
||||
border-color: #468847;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user