mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 17:35:46 +01:00
closes #3932
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
// Specified for the h4 to prevent conflicts of changing @headings-color
|
// Specified for the h4 to prevent conflicts of changing @headings-color
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Provide class for links that match alerts
|
// Provide class for links that match alerts
|
||||||
.alert-link {
|
.alert-link {
|
||||||
font-weight: @alert-link-font-weight;
|
font-weight: @alert-link-font-weight;
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
> ul {
|
> ul {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
> p + p {
|
> p + p {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
@@ -57,12 +59,15 @@
|
|||||||
.alert-success {
|
.alert-success {
|
||||||
.alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
|
.alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-info {
|
.alert-info {
|
||||||
.alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
|
.alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-warning {
|
.alert-warning {
|
||||||
.alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
|
.alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-danger {
|
.alert-danger {
|
||||||
.alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
|
.alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
font-weight: @badge-font-weight;
|
font-weight: @badge-font-weight;
|
||||||
color: @badge-color;
|
color: @badge-color;
|
||||||
line-height: @badge-line-height;
|
line-height: @badge-line-height;
|
||||||
vertical-align: baseline;
|
vertical-align: middle;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: @badge-bg;
|
background-color: @badge-bg;
|
||||||
@@ -28,7 +28,9 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.btn-xs & {
|
|
||||||
|
.btn-xs &,
|
||||||
|
.btn-group-xs > .btn & {
|
||||||
top: 0;
|
top: 0;
|
||||||
padding: 1px 5px;
|
padding: 1px 5px;
|
||||||
}
|
}
|
||||||
@@ -49,12 +51,15 @@
|
|||||||
color: @badge-active-color;
|
color: @badge-active-color;
|
||||||
background-color: @badge-active-bg;
|
background-color: @badge-active-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item > & {
|
.list-group-item > & {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item > & + & {
|
.list-group-item > & + & {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-pills > li > a > & {
|
.nav-pills > li > a > & {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|||||||
6
public/less/admin/bootstrap/bootstrap.less
vendored
6
public/less/admin/bootstrap/bootstrap.less
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap v3.3.6 (http://getbootstrap.com)
|
||||||
|
* Copyright 2011-2015 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
*/
|
||||||
|
|
||||||
// Core variables and mixins
|
// Core variables and mixins
|
||||||
@import "variables.less";
|
@import "variables.less";
|
||||||
@import "mixins.less";
|
@import "mixins.less";
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
margin-left: -5px; // Offset the first child's margin
|
margin-left: -5px; // Offset the first child's margin
|
||||||
&:extend(.clearfix all);
|
&:extend(.clearfix all);
|
||||||
|
|
||||||
|
.btn,
|
||||||
.btn-group,
|
.btn-group,
|
||||||
.input-group {
|
.input-group {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -71,13 +72,13 @@
|
|||||||
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.btn-group > .btn-group:first-child {
|
.btn-group > .btn-group:first-child:not(:last-child) {
|
||||||
> .btn:last-child,
|
> .btn:last-child,
|
||||||
> .dropdown-toggle {
|
> .dropdown-toggle {
|
||||||
.border-right-radius(0);
|
.border-right-radius(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn-group > .btn-group:last-child > .btn:first-child {
|
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
||||||
.border-left-radius(0);
|
.border-left-radius(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -172,12 +173,12 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
&:first-child:not(:last-child) {
|
&:first-child:not(:last-child) {
|
||||||
border-top-right-radius: @border-radius-base;
|
.border-top-radius(@btn-border-radius-base);
|
||||||
.border-bottom-radius(0);
|
.border-bottom-radius(0);
|
||||||
}
|
}
|
||||||
&:last-child:not(:first-child) {
|
&:last-child:not(:first-child) {
|
||||||
border-bottom-left-radius: @border-radius-base;
|
|
||||||
.border-top-radius(0);
|
.border-top-radius(0);
|
||||||
|
.border-bottom-radius(@btn-border-radius-base);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
|
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base);
|
||||||
.user-select(none);
|
.user-select(none);
|
||||||
|
|
||||||
&,
|
&,
|
||||||
@@ -47,10 +47,16 @@
|
|||||||
&[disabled],
|
&[disabled],
|
||||||
fieldset[disabled] & {
|
fieldset[disabled] & {
|
||||||
cursor: @cursor-disabled;
|
cursor: @cursor-disabled;
|
||||||
pointer-events: none; // Future-proof disabling of clicks
|
|
||||||
.opacity(.65);
|
.opacity(.65);
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a& {
|
||||||
|
&.disabled,
|
||||||
|
fieldset[disabled] & {
|
||||||
|
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -107,7 +113,7 @@
|
|||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: @link-hover-color;
|
color: @link-hover-color;
|
||||||
text-decoration: underline;
|
text-decoration: @link-hover-decoration;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
&[disabled],
|
&[disabled],
|
||||||
@@ -126,14 +132,14 @@
|
|||||||
|
|
||||||
.btn-lg {
|
.btn-lg {
|
||||||
// line-height: ensure even-numbered height of button next to large input
|
// 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);
|
.button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @btn-border-radius-large);
|
||||||
}
|
}
|
||||||
.btn-sm {
|
.btn-sm {
|
||||||
// line-height: ensure proper height of button next to small input
|
// 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);
|
.button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);
|
||||||
}
|
}
|
||||||
.btn-xs {
|
.btn-xs {
|
||||||
.button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
.button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -27,24 +27,24 @@
|
|||||||
|
|
||||||
// WebKit CSS3 transforms for supported devices
|
// WebKit CSS3 transforms for supported devices
|
||||||
@media all and (transform-3d), (-webkit-transform-3d) {
|
@media all and (transform-3d), (-webkit-transform-3d) {
|
||||||
transition: transform .6s ease-in-out;
|
.transition-transform(~'0.6s ease-in-out');
|
||||||
backface-visibility: hidden;
|
.backface-visibility(~'hidden');
|
||||||
perspective: 1000;
|
.perspective(1000px);
|
||||||
|
|
||||||
&.next,
|
&.next,
|
||||||
&.active.right {
|
&.active.right {
|
||||||
transform: translate3d(100%, 0, 0);
|
.translate3d(100%, 0, 0);
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
&.prev,
|
&.prev,
|
||||||
&.active.left {
|
&.active.left {
|
||||||
transform: translate3d(-100%, 0, 0);
|
.translate3d(-100%, 0, 0);
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
&.next.left,
|
&.next.left,
|
||||||
&.prev.right,
|
&.prev.right,
|
||||||
&.active {
|
&.active {
|
||||||
transform: translate3d(0, 0, 0);
|
.translate3d(0, 0, 0);
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -101,6 +101,7 @@
|
|||||||
color: @carousel-control-color;
|
color: @carousel-control-color;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: @carousel-text-shadow;
|
text-shadow: @carousel-text-shadow;
|
||||||
|
background-color: rgba(0, 0, 0, 0); // Fix IE9 click-thru bug
|
||||||
// We can't have this transition here because WebKit cancels the carousel
|
// We can't have this transition here because WebKit cancels the carousel
|
||||||
// animation if you trip this while in the middle of another animation.
|
// animation if you trip this while in the middle of another animation.
|
||||||
|
|
||||||
@@ -130,6 +131,7 @@
|
|||||||
.glyphicon-chevron-right {
|
.glyphicon-chevron-right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
margin-top: -10px;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
@@ -147,7 +149,7 @@
|
|||||||
.icon-next {
|
.icon-next {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-top: -10px;
|
line-height: 1;
|
||||||
font-family: serif;
|
font-family: serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,6 +197,7 @@
|
|||||||
// Internet Explorer 8-9 does not support clicks on elements without a set
|
// 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`. We cannot use `filter` since that's not viewed as a
|
||||||
// background color by the browser. Thus, a hack is needed.
|
// background color by the browser. Thus, a hack is needed.
|
||||||
|
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
|
||||||
//
|
//
|
||||||
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
||||||
// set alpha transparency for the best results possible.
|
// set alpha transparency for the best results possible.
|
||||||
@@ -238,18 +241,18 @@
|
|||||||
.glyphicon-chevron-right,
|
.glyphicon-chevron-right,
|
||||||
.icon-prev,
|
.icon-prev,
|
||||||
.icon-next {
|
.icon-next {
|
||||||
width: 30px;
|
width: (@carousel-control-font-size * 1.5);
|
||||||
height: 30px;
|
height: (@carousel-control-font-size * 1.5);
|
||||||
margin-top: -15px;
|
margin-top: (@carousel-control-font-size / -2);
|
||||||
font-size: 30px;
|
font-size: (@carousel-control-font-size * 1.5);
|
||||||
}
|
}
|
||||||
.glyphicon-chevron-left,
|
.glyphicon-chevron-left,
|
||||||
.icon-prev {
|
.icon-prev {
|
||||||
margin-left: -15px;
|
margin-left: (@carousel-control-font-size / -2);
|
||||||
}
|
}
|
||||||
.glyphicon-chevron-right,
|
.glyphicon-chevron-right,
|
||||||
.icon-next {
|
.icon-next {
|
||||||
margin-right: -15px;
|
margin-right: (@carousel-control-font-size / -2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
// Additional properties for button version
|
// Additional properties for button version
|
||||||
// iOS requires the button element instead of an anchor tag.
|
// iOS requires the button element instead of an anchor tag.
|
||||||
// If you want the anchor version, it requires `href="#"`.
|
// If you want the anchor version, it requires `href="#"`.
|
||||||
|
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
||||||
button& {
|
button& {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -17,9 +17,8 @@
|
|||||||
|
|
||||||
.collapse {
|
.collapse {
|
||||||
display: none;
|
display: none;
|
||||||
visibility: hidden;
|
|
||||||
|
|
||||||
&.in { display: block; visibility: visible; }
|
&.in { display: block; }
|
||||||
tr&.in { display: table-row; }
|
tr&.in { display: table-row; }
|
||||||
tbody&.in { display: table-row-group; }
|
tbody&.in { display: table-row-group; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,12 +10,14 @@
|
|||||||
height: 0;
|
height: 0;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border-top: @caret-width-base solid;
|
border-top: @caret-width-base dashed;
|
||||||
|
border-top: @caret-width-base solid ~"\9"; // IE8
|
||||||
border-right: @caret-width-base solid transparent;
|
border-right: @caret-width-base solid transparent;
|
||||||
border-left: @caret-width-base solid transparent;
|
border-left: @caret-width-base solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The dropdown wrapper (div)
|
// The dropdown wrapper (div)
|
||||||
|
.dropup,
|
||||||
.dropdown {
|
.dropdown {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@@ -183,14 +185,15 @@
|
|||||||
// Reverse the caret
|
// Reverse the caret
|
||||||
.caret {
|
.caret {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
border-bottom: @caret-width-base solid;
|
border-bottom: @caret-width-base dashed;
|
||||||
|
border-bottom: @caret-width-base solid ~"\9"; // IE8
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
// Different positioning for bottom up menu
|
// Different positioning for bottom up menu
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
top: auto;
|
top: auto;
|
||||||
bottom: 100%;
|
bottom: 100%;
|
||||||
margin-bottom: 1px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ input[type="checkbox"] {
|
|||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the height of file controls to match text inputs
|
|
||||||
input[type="file"] {
|
input[type="file"] {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@@ -123,7 +122,7 @@ output {
|
|||||||
background-color: @input-bg;
|
background-color: @input-bg;
|
||||||
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
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: 1px solid @input-border;
|
||||||
border-radius: @input-border-radius;
|
border-radius: @input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
|
||||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
||||||
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
|
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
|
||||||
|
|
||||||
@@ -133,6 +132,12 @@ output {
|
|||||||
// Placeholder
|
// Placeholder
|
||||||
.placeholder();
|
.placeholder();
|
||||||
|
|
||||||
|
// Unstyle the caret on `<select>`s in IE10+.
|
||||||
|
&::-ms-expand {
|
||||||
|
border: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
// Disabled and read-only inputs
|
// Disabled and read-only inputs
|
||||||
//
|
//
|
||||||
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
||||||
@@ -141,9 +146,13 @@ output {
|
|||||||
&[disabled],
|
&[disabled],
|
||||||
&[readonly],
|
&[readonly],
|
||||||
fieldset[disabled] & {
|
fieldset[disabled] & {
|
||||||
cursor: @cursor-disabled;
|
|
||||||
background-color: @input-bg-disabled;
|
background-color: @input-bg-disabled;
|
||||||
opacity: 1; // iOS fix for unreadable disabled content
|
opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
|
||||||
|
}
|
||||||
|
|
||||||
|
&[disabled],
|
||||||
|
fieldset[disabled] & {
|
||||||
|
cursor: @cursor-disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset height for `textarea`s
|
// Reset height for `textarea`s
|
||||||
@@ -170,27 +179,29 @@ input[type="search"] {
|
|||||||
// In Mobile Safari, setting `display: block` on temporal inputs causes the
|
// In Mobile Safari, setting `display: block` on temporal inputs causes the
|
||||||
// text within the input to become vertically misaligned. As a workaround, we
|
// 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, but only
|
// set a pixel line-height that matches the given height of the input, but only
|
||||||
// for Safari.
|
// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
|
||||||
|
//
|
||||||
|
// Note that as of 8.3, iOS doesn't support `datetime` or `week`.
|
||||||
|
|
||||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
||||||
input[type="date"],
|
input[type="date"],
|
||||||
input[type="time"],
|
input[type="time"],
|
||||||
input[type="datetime-local"],
|
input[type="datetime-local"],
|
||||||
input[type="month"] {
|
input[type="month"] {
|
||||||
|
&.form-control {
|
||||||
line-height: @input-height-base;
|
line-height: @input-height-base;
|
||||||
}
|
}
|
||||||
input[type="date"].input-sm,
|
|
||||||
input[type="time"].input-sm,
|
&.input-sm,
|
||||||
input[type="datetime-local"].input-sm,
|
.input-group-sm & {
|
||||||
input[type="month"].input-sm {
|
|
||||||
line-height: @input-height-small;
|
line-height: @input-height-small;
|
||||||
}
|
}
|
||||||
input[type="date"].input-lg,
|
|
||||||
input[type="time"].input-lg,
|
&.input-lg,
|
||||||
input[type="datetime-local"].input-lg,
|
.input-group-lg & {
|
||||||
input[type="month"].input-lg {
|
|
||||||
line-height: @input-height-large;
|
line-height: @input-height-large;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -200,7 +211,7 @@ input[type="search"] {
|
|||||||
// horizontal forms, use the predefined grid classes.
|
// horizontal forms, use the predefined grid classes.
|
||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
margin-bottom: 15px;
|
margin-bottom: @form-group-margin-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -240,6 +251,7 @@ input[type="search"] {
|
|||||||
// Radios and checkboxes on same line
|
// Radios and checkboxes on same line
|
||||||
.radio-inline,
|
.radio-inline,
|
||||||
.checkbox-inline {
|
.checkbox-inline {
|
||||||
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
@@ -296,6 +308,7 @@ input[type="checkbox"] {
|
|||||||
padding-bottom: (@padding-base-vertical + 1);
|
padding-bottom: (@padding-base-vertical + 1);
|
||||||
// Remove default margin from `p`
|
// Remove default margin from `p`
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
min-height: (@line-height-computed + @font-size-base);
|
||||||
|
|
||||||
&.input-lg,
|
&.input-lg,
|
||||||
&.input-sm {
|
&.input-sm {
|
||||||
@@ -309,16 +322,65 @@ input[type="checkbox"] {
|
|||||||
//
|
//
|
||||||
// Build on `.form-control` with modifier classes to decrease or increase the
|
// Build on `.form-control` with modifier classes to decrease or increase the
|
||||||
// height and font-size of form controls.
|
// height and font-size of form controls.
|
||||||
|
//
|
||||||
|
// The `.form-group-* form-control` variations are sadly duplicated to avoid the
|
||||||
|
// issue documented in https://github.com/twbs/bootstrap/issues/15074.
|
||||||
|
|
||||||
.input-sm,
|
.input-sm {
|
||||||
.form-group-sm .form-control {
|
|
||||||
.input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small);
|
.input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small);
|
||||||
}
|
}
|
||||||
|
.form-group-sm {
|
||||||
|
.form-control {
|
||||||
|
height: @input-height-small;
|
||||||
|
padding: @padding-small-vertical @padding-small-horizontal;
|
||||||
|
font-size: @font-size-small;
|
||||||
|
line-height: @line-height-small;
|
||||||
|
border-radius: @input-border-radius-small;
|
||||||
|
}
|
||||||
|
select.form-control {
|
||||||
|
height: @input-height-small;
|
||||||
|
line-height: @input-height-small;
|
||||||
|
}
|
||||||
|
textarea.form-control,
|
||||||
|
select[multiple].form-control {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.form-control-static {
|
||||||
|
height: @input-height-small;
|
||||||
|
min-height: (@line-height-computed + @font-size-small);
|
||||||
|
padding: (@padding-small-vertical + 1) @padding-small-horizontal;
|
||||||
|
font-size: @font-size-small;
|
||||||
|
line-height: @line-height-small;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.input-lg,
|
.input-lg {
|
||||||
.form-group-lg .form-control {
|
|
||||||
.input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large);
|
.input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large);
|
||||||
}
|
}
|
||||||
|
.form-group-lg {
|
||||||
|
.form-control {
|
||||||
|
height: @input-height-large;
|
||||||
|
padding: @padding-large-vertical @padding-large-horizontal;
|
||||||
|
font-size: @font-size-large;
|
||||||
|
line-height: @line-height-large;
|
||||||
|
border-radius: @input-border-radius-large;
|
||||||
|
}
|
||||||
|
select.form-control {
|
||||||
|
height: @input-height-large;
|
||||||
|
line-height: @input-height-large;
|
||||||
|
}
|
||||||
|
textarea.form-control,
|
||||||
|
select[multiple].form-control {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.form-control-static {
|
||||||
|
height: @input-height-large;
|
||||||
|
min-height: (@line-height-computed + @font-size-large);
|
||||||
|
padding: (@padding-large-vertical + 1) @padding-large-horizontal;
|
||||||
|
font-size: @font-size-large;
|
||||||
|
line-height: @line-height-large;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Form control feedback states
|
// Form control feedback states
|
||||||
@@ -347,12 +409,16 @@ input[type="checkbox"] {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
.input-lg + .form-control-feedback {
|
.input-lg + .form-control-feedback,
|
||||||
|
.input-group-lg + .form-control-feedback,
|
||||||
|
.form-group-lg .form-control + .form-control-feedback {
|
||||||
width: @input-height-large;
|
width: @input-height-large;
|
||||||
height: @input-height-large;
|
height: @input-height-large;
|
||||||
line-height: @input-height-large;
|
line-height: @input-height-large;
|
||||||
}
|
}
|
||||||
.input-sm + .form-control-feedback {
|
.input-sm + .form-control-feedback,
|
||||||
|
.input-group-sm + .form-control-feedback,
|
||||||
|
.form-group-sm .form-control + .form-control-feedback {
|
||||||
width: @input-height-small;
|
width: @input-height-small;
|
||||||
height: @input-height-small;
|
height: @input-height-small;
|
||||||
line-height: @input-height-small;
|
line-height: @input-height-small;
|
||||||
@@ -450,8 +516,7 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Remove default margin on radios/checkboxes that were used for stacking, and
|
// 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
|
// then undo the floating of radios and checkboxes to match.
|
||||||
// a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
|
|
||||||
.radio,
|
.radio,
|
||||||
.checkbox {
|
.checkbox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -522,7 +587,7 @@ input[type="checkbox"] {
|
|||||||
// Reposition the icon because it's now within a grid column and columns have
|
// 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.
|
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
||||||
.has-feedback .form-control-feedback {
|
.has-feedback .form-control-feedback {
|
||||||
right: (@grid-gutter-width / 2);
|
right: floor((@grid-gutter-width / 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Form group sizes
|
// Form group sizes
|
||||||
@@ -532,7 +597,8 @@ input[type="checkbox"] {
|
|||||||
.form-group-lg {
|
.form-group-lg {
|
||||||
@media (min-width: @screen-sm-min) {
|
@media (min-width: @screen-sm-min) {
|
||||||
.control-label {
|
.control-label {
|
||||||
padding-top: ((@padding-large-vertical * @line-height-large) + 1);
|
padding-top: (@padding-large-vertical + 1);
|
||||||
|
font-size: @font-size-large;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -540,6 +606,7 @@ input[type="checkbox"] {
|
|||||||
@media (min-width: @screen-sm-min) {
|
@media (min-width: @screen-sm-min) {
|
||||||
.control-label {
|
.control-label {
|
||||||
padding-top: (@padding-small-vertical + 1);
|
padding-top: (@padding-small-vertical + 1);
|
||||||
|
font-size: @font-size-small;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
font-family: 'Glyphicons Halflings';
|
font-family: 'Glyphicons Halflings';
|
||||||
src: url('@{icon-font-path}@{icon-font-name}.eot');
|
src: url('@{icon-font-path}@{icon-font-name}.eot');
|
||||||
src: url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype'),
|
src: url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('@{icon-font-path}@{icon-font-name}.woff2') format('woff2'),
|
||||||
url('@{icon-font-path}@{icon-font-name}.woff') format('woff'),
|
url('@{icon-font-path}@{icon-font-name}.woff') format('woff'),
|
||||||
url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype'),
|
url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype'),
|
||||||
url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg');
|
url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg');
|
||||||
@@ -31,8 +32,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Individual icons
|
// Individual icons
|
||||||
.glyphicon-asterisk { &:before { content: "\2a"; } }
|
.glyphicon-asterisk { &:before { content: "\002a"; } }
|
||||||
.glyphicon-plus { &:before { content: "\2b"; } }
|
.glyphicon-plus { &:before { content: "\002b"; } }
|
||||||
.glyphicon-euro,
|
.glyphicon-euro,
|
||||||
.glyphicon-eur { &:before { content: "\20ac"; } }
|
.glyphicon-eur { &:before { content: "\20ac"; } }
|
||||||
.glyphicon-minus { &:before { content: "\2212"; } }
|
.glyphicon-minus { &:before { content: "\2212"; } }
|
||||||
@@ -232,3 +233,73 @@
|
|||||||
.glyphicon-cloud-upload { &:before { content: "\e198"; } }
|
.glyphicon-cloud-upload { &:before { content: "\e198"; } }
|
||||||
.glyphicon-tree-conifer { &:before { content: "\e199"; } }
|
.glyphicon-tree-conifer { &:before { content: "\e199"; } }
|
||||||
.glyphicon-tree-deciduous { &:before { content: "\e200"; } }
|
.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"; } }
|
||||||
|
// The following 2 Glyphicons are omitted for the time being because
|
||||||
|
// they currently use Unicode codepoints that are outside the
|
||||||
|
// Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle
|
||||||
|
// non-BMP codepoints in CSS string escapes, and thus can't display these two icons.
|
||||||
|
// Notably, the bug affects some older versions of the Android Browser.
|
||||||
|
// More info: https://github.com/twbs/bootstrap/issues/10106
|
||||||
|
// .glyphicon-door { &:before { content: "\1f6aa"; } }
|
||||||
|
// .glyphicon-key { &:before { content: "\1f511"; } }
|
||||||
|
.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-btc { &:before { content: "\e227"; } }
|
||||||
|
.glyphicon-xbt { &:before { content: "\e227"; } }
|
||||||
|
.glyphicon-yen { &:before { content: "\00a5"; } }
|
||||||
|
.glyphicon-jpy { &:before { content: "\00a5"; } }
|
||||||
|
.glyphicon-ruble { &:before { content: "\20bd"; } }
|
||||||
|
.glyphicon-rub { &: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"; } }
|
||||||
|
|||||||
@@ -29,6 +29,10 @@
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -79,18 +83,18 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: @input-group-addon-bg;
|
background-color: @input-group-addon-bg;
|
||||||
border: 1px solid @input-group-addon-border-color;
|
border: 1px solid @input-group-addon-border-color;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @input-border-radius;
|
||||||
|
|
||||||
// Sizing
|
// Sizing
|
||||||
&.input-sm {
|
&.input-sm {
|
||||||
padding: @padding-small-vertical @padding-small-horizontal;
|
padding: @padding-small-vertical @padding-small-horizontal;
|
||||||
font-size: @font-size-small;
|
font-size: @font-size-small;
|
||||||
border-radius: @border-radius-small;
|
border-radius: @input-border-radius-small;
|
||||||
}
|
}
|
||||||
&.input-lg {
|
&.input-lg {
|
||||||
padding: @padding-large-vertical @padding-large-horizontal;
|
padding: @padding-large-vertical @padding-large-horizontal;
|
||||||
font-size: @font-size-large;
|
font-size: @font-size-large;
|
||||||
border-radius: @border-radius-large;
|
border-radius: @input-border-radius-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nuke default margins from checkboxes and radios to vertically center within.
|
// Nuke default margins from checkboxes and radios to vertically center within.
|
||||||
@@ -160,6 +164,7 @@
|
|||||||
&:last-child {
|
&:last-child {
|
||||||
> .btn,
|
> .btn,
|
||||||
> .btn-group {
|
> .btn-group {
|
||||||
|
z-index: 2;
|
||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
|
|
||||||
|
|
||||||
.jumbotron {
|
.jumbotron {
|
||||||
padding: @jumbotron-padding (@jumbotron-padding / 2);
|
padding-top: @jumbotron-padding;
|
||||||
|
padding-bottom: @jumbotron-padding;
|
||||||
margin-bottom: @jumbotron-padding;
|
margin-bottom: @jumbotron-padding;
|
||||||
color: @jumbotron-color;
|
color: @jumbotron-color;
|
||||||
background-color: @jumbotron-bg;
|
background-color: @jumbotron-bg;
|
||||||
@@ -13,6 +14,7 @@
|
|||||||
.h1 {
|
.h1 {
|
||||||
color: @jumbotron-heading-color;
|
color: @jumbotron-heading-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: (@jumbotron-padding / 2);
|
margin-bottom: (@jumbotron-padding / 2);
|
||||||
font-size: @jumbotron-font-size;
|
font-size: @jumbotron-font-size;
|
||||||
@@ -26,6 +28,8 @@
|
|||||||
.container &,
|
.container &,
|
||||||
.container-fluid & {
|
.container-fluid & {
|
||||||
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
||||||
|
padding-left: (@grid-gutter-width / 2);
|
||||||
|
padding-right: (@grid-gutter-width / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
@@ -33,7 +37,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: @screen-sm-min) {
|
@media screen and (min-width: @screen-sm-min) {
|
||||||
padding: (@jumbotron-padding * 1.6) 0;
|
padding-top: (@jumbotron-padding * 1.6);
|
||||||
|
padding-bottom: (@jumbotron-padding * 1.6);
|
||||||
|
|
||||||
.container &,
|
.container &,
|
||||||
.container-fluid & {
|
.container-fluid & {
|
||||||
@@ -43,7 +48,7 @@
|
|||||||
|
|
||||||
h1,
|
h1,
|
||||||
.h1 {
|
.h1 {
|
||||||
font-size: (@font-size-base * 4.5);
|
font-size: @jumbotron-heading-font-size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,12 +38,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Linked list items
|
// Interactive list items
|
||||||
//
|
//
|
||||||
// Use anchor elements instead of `li`s or `div`s to create linked list items.
|
// Use anchor or button elements instead of `li`s or `div`s to create interactive items.
|
||||||
// Includes an extra `.active` modifier class for showing selected items.
|
// Includes an extra `.active` modifier class for showing selected items.
|
||||||
|
|
||||||
a.list-group-item {
|
a.list-group-item,
|
||||||
|
button.list-group-item {
|
||||||
color: @list-group-link-color;
|
color: @list-group-link-color;
|
||||||
|
|
||||||
.list-group-item-heading {
|
.list-group-item-heading {
|
||||||
@@ -59,6 +60,11 @@ a.list-group-item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button.list-group-item {
|
||||||
|
width: 100%;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
.list-group-item {
|
.list-group-item {
|
||||||
// Disabled state
|
// Disabled state
|
||||||
&.disabled,
|
&.disabled,
|
||||||
|
|||||||
@@ -7,6 +7,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.media,
|
||||||
|
.media-body {
|
||||||
|
zoom: 1;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.media-body {
|
||||||
|
width: 10000px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.media-object {
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
// Fix collapse in webkit from max-width: 100% and display: table-cell.
|
||||||
|
&.img-thumbnail {
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.media-right,
|
.media-right,
|
||||||
.media > .pull-right {
|
.media > .pull-right {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
@import "mixins/responsive-visibility.less";
|
@import "mixins/responsive-visibility.less";
|
||||||
@import "mixins/size.less";
|
@import "mixins/size.less";
|
||||||
@import "mixins/tab-focus.less";
|
@import "mixins/tab-focus.less";
|
||||||
|
@import "mixins/reset-text.less";
|
||||||
@import "mixins/text-emphasis.less";
|
@import "mixins/text-emphasis.less";
|
||||||
@import "mixins/text-overflow.less";
|
@import "mixins/text-overflow.less";
|
||||||
@import "mixins/vendor-prefixes.less";
|
@import "mixins/vendor-prefixes.less";
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
.bg-variant(@color) {
|
.bg-variant(@color) {
|
||||||
background-color: @color;
|
background-color: @color;
|
||||||
a&:hover {
|
a&:hover,
|
||||||
|
a&:focus {
|
||||||
background-color: darken(@color, 10%);
|
background-color: darken(@color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,15 +8,31 @@
|
|||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-color: @border;
|
border-color: @border;
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&:focus,
|
&:focus,
|
||||||
&.focus,
|
&.focus {
|
||||||
|
color: @color;
|
||||||
|
background-color: darken(@background, 10%);
|
||||||
|
border-color: darken(@border, 25%);
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
color: @color;
|
||||||
|
background-color: darken(@background, 10%);
|
||||||
|
border-color: darken(@border, 12%);
|
||||||
|
}
|
||||||
&:active,
|
&:active,
|
||||||
&.active,
|
&.active,
|
||||||
.open > .dropdown-toggle& {
|
.open > .dropdown-toggle& {
|
||||||
color: @color;
|
color: @color;
|
||||||
background-color: darken(@background, 10%);
|
background-color: darken(@background, 10%);
|
||||||
border-color: darken(@border, 12%);
|
border-color: darken(@border, 12%);
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&.focus {
|
||||||
|
color: @color;
|
||||||
|
background-color: darken(@background, 17%);
|
||||||
|
border-color: darken(@border, 25%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&:active,
|
&:active,
|
||||||
&.active,
|
&.active,
|
||||||
@@ -26,12 +42,9 @@
|
|||||||
&.disabled,
|
&.disabled,
|
||||||
&[disabled],
|
&[disabled],
|
||||||
fieldset[disabled] & {
|
fieldset[disabled] & {
|
||||||
&,
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&.focus,
|
&.focus {
|
||||||
&:active,
|
|
||||||
&.active {
|
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-color: @border;
|
border-color: @border;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
// Prevent columns from collapsing when empty
|
// Prevent columns from collapsing when empty
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
// Inner gutter via padding
|
// Inner gutter via padding
|
||||||
padding-left: (@grid-gutter-width / 2);
|
padding-left: ceil((@grid-gutter-width / 2));
|
||||||
padding-right: (@grid-gutter-width / 2);
|
padding-right: floor((@grid-gutter-width / 2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.col(1); // kickstart it
|
.col(1); // kickstart it
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
.container-fixed(@gutter: @grid-gutter-width) {
|
.container-fixed(@gutter: @grid-gutter-width) {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-left: (@gutter / 2);
|
padding-left: floor((@gutter / 2));
|
||||||
padding-right: (@gutter / 2);
|
padding-right: ceil((@gutter / 2));
|
||||||
&:extend(.clearfix all);
|
&:extend(.clearfix all);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Creates a wrapper for a series of columns
|
// Creates a wrapper for a series of columns
|
||||||
.make-row(@gutter: @grid-gutter-width) {
|
.make-row(@gutter: @grid-gutter-width) {
|
||||||
margin-left: (@gutter / -2);
|
margin-left: ceil((@gutter / -2));
|
||||||
margin-right: (@gutter / -2);
|
margin-right: floor((@gutter / -2));
|
||||||
&:extend(.clearfix all);
|
&:extend(.clearfix all);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
// CSS image replacement
|
// CSS image replacement
|
||||||
//
|
//
|
||||||
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
|
// Heads up! v3 launched with only `.hide-text()`, but per our pattern for
|
||||||
// mixins being reused as classes with the same name, this doesn't hold up. As
|
// 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()`.
|
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
|
||||||
//
|
//
|
||||||
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
||||||
|
|
||||||
// Deprecated as of v3.0.1 (will be removed in v4)
|
// Deprecated as of v3.0.1 (has been removed in v4)
|
||||||
.hide-text() {
|
.hide-text() {
|
||||||
font: ~"0/0" a;
|
font: ~"0/0" a;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
color: @color;
|
color: @color;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
|
|
||||||
a& {
|
a&,
|
||||||
|
button& {
|
||||||
color: @color;
|
color: @color;
|
||||||
|
|
||||||
.list-group-item-heading {
|
.list-group-item-heading {
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
// Pagination
|
// Pagination
|
||||||
|
|
||||||
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
|
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||||
> li {
|
> li {
|
||||||
> a,
|
> a,
|
||||||
> span {
|
> span {
|
||||||
padding: @padding-vertical @padding-horizontal;
|
padding: @padding-vertical @padding-horizontal;
|
||||||
font-size: @font-size;
|
font-size: @font-size;
|
||||||
|
line-height: @line-height;
|
||||||
}
|
}
|
||||||
&:first-child {
|
&:first-child {
|
||||||
> a,
|
> a,
|
||||||
|
|||||||
18
public/less/admin/bootstrap/mixins/reset-text.less
Normal file
18
public/less/admin/bootstrap/mixins/reset-text.less
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
.reset-text() {
|
||||||
|
font-family: @font-family-base;
|
||||||
|
// We deliberately do NOT reset font-size.
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
letter-spacing: normal;
|
||||||
|
line-break: auto;
|
||||||
|
line-height: @line-height-base;
|
||||||
|
text-align: left; // Fallback for where `start` is not supported
|
||||||
|
text-align: start;
|
||||||
|
text-decoration: none;
|
||||||
|
text-shadow: none;
|
||||||
|
text-transform: none;
|
||||||
|
white-space: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
// More easily include all the states for responsive-utilities.less.
|
// More easily include all the states for responsive-utilities.less.
|
||||||
.responsive-visibility() {
|
.responsive-visibility() {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
table& { display: table; }
|
table& { display: table !important; }
|
||||||
tr& { display: table-row !important; }
|
tr& { display: table-row !important; }
|
||||||
th&,
|
th&,
|
||||||
td& { display: table-cell !important; }
|
td& { display: table-cell !important; }
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
.text-emphasis-variant(@color) {
|
.text-emphasis-variant(@color) {
|
||||||
color: @color;
|
color: @color;
|
||||||
a&:hover {
|
a&:hover,
|
||||||
|
a&:focus {
|
||||||
color: darken(@color, 10%);
|
color: darken(@color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Vendor Prefixes
|
// Vendor Prefixes
|
||||||
//
|
//
|
||||||
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
|
// 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.
|
// Autoprefixer in our Gruntfile. They have been removed in v4.
|
||||||
|
|
||||||
// - Animations
|
// - Animations
|
||||||
// - Backface visibility
|
// - Backface visibility
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
// Prevent browsers from flickering when using CSS 3D transforms.
|
// Prevent browsers from flickering when using CSS 3D transforms.
|
||||||
// Default value is `visible`, but can be changed to `hidden`
|
// Default value is `visible`, but can be changed to `hidden`
|
||||||
|
|
||||||
.backface-visibility(@visibility){
|
.backface-visibility(@visibility) {
|
||||||
-webkit-backface-visibility: @visibility;
|
-webkit-backface-visibility: @visibility;
|
||||||
-moz-backface-visibility: @visibility;
|
-moz-backface-visibility: @visibility;
|
||||||
backface-visibility: @visibility;
|
backface-visibility: @visibility;
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
// Firefox
|
// Firefox
|
||||||
&::-moz-placeholder {
|
&::-moz-placeholder {
|
||||||
color: @color;
|
color: @color;
|
||||||
opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
|
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
||||||
}
|
}
|
||||||
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
||||||
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
||||||
|
|||||||
@@ -62,10 +62,12 @@
|
|||||||
|
|
||||||
// Modal background
|
// Modal background
|
||||||
.modal-backdrop {
|
.modal-backdrop {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
z-index: @zindex-modal-background;
|
||||||
background-color: @modal-backdrop-bg;
|
background-color: @modal-backdrop-bg;
|
||||||
// Fade for backdrop
|
// Fade for backdrop
|
||||||
&.fade { .opacity(0); }
|
&.fade { .opacity(0); }
|
||||||
@@ -77,7 +79,7 @@
|
|||||||
.modal-header {
|
.modal-header {
|
||||||
padding: @modal-title-padding;
|
padding: @modal-title-padding;
|
||||||
border-bottom: 1px solid @modal-header-border-color;
|
border-bottom: 1px solid @modal-header-border-color;
|
||||||
min-height: (@modal-title-padding + @modal-title-line-height);
|
&:extend(.clearfix all);
|
||||||
}
|
}
|
||||||
// Close icon
|
// Close icon
|
||||||
.modal-header .close {
|
.modal-header .close {
|
||||||
|
|||||||
@@ -67,7 +67,6 @@
|
|||||||
|
|
||||||
&.collapse {
|
&.collapse {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
visibility: visible !important;
|
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
padding-bottom: 0; // Override default setting
|
padding-bottom: 0; // Override default setting
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
@@ -331,6 +330,7 @@
|
|||||||
}
|
}
|
||||||
// Menu position and menu caret support for dropups via extra dropup class
|
// Menu position and menu caret support for dropups via extra dropup class
|
||||||
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
|
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
|
||||||
|
margin-bottom: 0;
|
||||||
.border-top-radius(@navbar-border-radius);
|
.border-top-radius(@navbar-border-radius);
|
||||||
.border-bottom-radius(0);
|
.border-bottom-radius(0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -223,11 +223,9 @@
|
|||||||
.tab-content {
|
.tab-content {
|
||||||
> .tab-pane {
|
> .tab-pane {
|
||||||
display: none;
|
display: none;
|
||||||
visibility: hidden;
|
|
||||||
}
|
}
|
||||||
> .active {
|
> .active {
|
||||||
display: block;
|
display: block;
|
||||||
visibility: visible;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
19
public/less/admin/bootstrap/normalize.less
vendored
19
public/less/admin/bootstrap/normalize.less
vendored
@@ -1,9 +1,9 @@
|
|||||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
||||||
|
|
||||||
//
|
//
|
||||||
// 1. Set default font family to sans-serif.
|
// 1. Set default font family to sans-serif.
|
||||||
// 2. Prevent iOS text size adjust after orientation change, without disabling
|
// 2. Prevent iOS and IE text size adjust after device orientation change,
|
||||||
// user zoom.
|
// without disabling user zoom.
|
||||||
//
|
//
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@@ -71,7 +71,7 @@ audio:not([controls]) {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Address `[hidden]` styling not present in IE 8/9/10.
|
// Address `[hidden]` styling not present in IE 8/9/10.
|
||||||
// Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
// Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
||||||
//
|
//
|
||||||
|
|
||||||
[hidden],
|
[hidden],
|
||||||
@@ -91,7 +91,8 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Improve readability when focused and also mouse hovered in all browsers.
|
// Improve readability of focused elements when they are also in an
|
||||||
|
// active/hover state.
|
||||||
//
|
//
|
||||||
|
|
||||||
a:active,
|
a:active,
|
||||||
@@ -209,7 +210,6 @@ figure {
|
|||||||
//
|
//
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
-moz-box-sizing: content-box;
|
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
@@ -350,15 +350,12 @@ input[type="number"]::-webkit-outer-spin-button {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
// 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||||
// 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
// 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
||||||
// (include `-moz` to future-proof).
|
|
||||||
//
|
//
|
||||||
|
|
||||||
input[type="search"] {
|
input[type="search"] {
|
||||||
-webkit-appearance: textfield; // 1
|
-webkit-appearance: textfield; // 1
|
||||||
-moz-box-sizing: content-box;
|
box-sizing: content-box; //2
|
||||||
-webkit-box-sizing: content-box; // 2
|
|
||||||
box-sizing: content-box;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
> li > span {
|
> li > span {
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
|
z-index: 2;
|
||||||
color: @pagination-hover-color;
|
color: @pagination-hover-color;
|
||||||
background-color: @pagination-hover-bg;
|
background-color: @pagination-hover-bg;
|
||||||
border-color: @pagination-hover-border;
|
border-color: @pagination-hover-border;
|
||||||
@@ -51,7 +52,7 @@
|
|||||||
&,
|
&,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
z-index: 2;
|
z-index: 3;
|
||||||
color: @pagination-active-color;
|
color: @pagination-active-color;
|
||||||
background-color: @pagination-active-bg;
|
background-color: @pagination-active-bg;
|
||||||
border-color: @pagination-active-border;
|
border-color: @pagination-active-border;
|
||||||
@@ -79,10 +80,10 @@
|
|||||||
|
|
||||||
// Large
|
// Large
|
||||||
.pagination-lg {
|
.pagination-lg {
|
||||||
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
|
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Small
|
// Small
|
||||||
.pagination-sm {
|
.pagination-sm {
|
||||||
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
|
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,11 @@
|
|||||||
font-size: ceil((@font-size-base * 1.125));
|
font-size: ceil((@font-size-base * 1.125));
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
||||||
> a {
|
> a,
|
||||||
|
> small,
|
||||||
|
> .small,
|
||||||
|
> small > a,
|
||||||
|
> .small > a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,6 +76,7 @@
|
|||||||
.border-top-radius((@panel-border-radius - 1));
|
.border-top-radius((@panel-border-radius - 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add border bottom radius for last one
|
// Add border bottom radius for last one
|
||||||
&:last-child {
|
&:last-child {
|
||||||
.list-group-item:last-child {
|
.list-group-item:last-child {
|
||||||
@@ -80,6 +85,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
> .panel-heading + .panel-collapse > .list-group {
|
||||||
|
.list-group-item:first-child {
|
||||||
|
.border-top-radius(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Collapse space between when there's no additional content.
|
// Collapse space between when there's no additional content.
|
||||||
.panel-heading + .list-group {
|
.panel-heading + .list-group {
|
||||||
|
|||||||
@@ -11,12 +11,11 @@
|
|||||||
display: none;
|
display: none;
|
||||||
max-width: @popover-max-width;
|
max-width: @popover-max-width;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
// Reset font and text propertes given new insertion method
|
// Our parent element can be arbitrary since popovers are by default inserted as a sibling of their target element.
|
||||||
font-family: @font-family-base;
|
// So reset our font and text properties to avoid inheriting weird values.
|
||||||
|
.reset-text();
|
||||||
font-size: @font-size-base;
|
font-size: @font-size-base;
|
||||||
font-weight: normal;
|
|
||||||
line-height: @line-height-base;
|
|
||||||
text-align: left;
|
|
||||||
background-color: @popover-bg;
|
background-color: @popover-bg;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border: 1px solid @popover-fallback-border-color;
|
border: 1px solid @popover-fallback-border-color;
|
||||||
@@ -24,9 +23,6 @@
|
|||||||
border-radius: @border-radius-large;
|
border-radius: @border-radius-large;
|
||||||
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
||||||
|
|
||||||
// Overrides for proper insertion
|
|
||||||
white-space: normal;
|
|
||||||
|
|
||||||
// Offset the popover to account for the popover arrow
|
// Offset the popover to account for the popover arrow
|
||||||
&.top { margin-top: -@popover-arrow-width; }
|
&.top { margin-top: -@popover-arrow-width; }
|
||||||
&.right { margin-left: @popover-arrow-width; }
|
&.right { margin-left: @popover-arrow-width; }
|
||||||
|
|||||||
@@ -67,12 +67,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Bootstrap specific changes start
|
// Bootstrap specific changes start
|
||||||
//
|
|
||||||
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
|
|
||||||
// Once fixed, we can just straight up remove this.
|
|
||||||
select {
|
|
||||||
background: #fff !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Bootstrap components
|
// Bootstrap components
|
||||||
.navbar {
|
.navbar {
|
||||||
|
|||||||
@@ -22,14 +22,14 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Modifier class for 16:9 aspect ratio
|
|
||||||
&.embed-responsive-16by9 {
|
// Modifier class for 16:9 aspect ratio
|
||||||
padding-bottom: 56.25%;
|
.embed-responsive-16by9 {
|
||||||
}
|
padding-bottom: 56.25%;
|
||||||
|
}
|
||||||
// Modifier class for 4:3 aspect ratio
|
|
||||||
&.embed-responsive-4by3 {
|
// Modifier class for 4:3 aspect ratio
|
||||||
padding-bottom: 75%;
|
.embed-responsive-4by3 {
|
||||||
}
|
padding-bottom: 75%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,3 +148,14 @@ hr {
|
|||||||
clip: auto;
|
clip: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// iOS "clickable elements" fix for role="button"
|
||||||
|
//
|
||||||
|
// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
|
||||||
|
// for traditionally non-focusable elements with role="button"
|
||||||
|
// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
||||||
|
|
||||||
|
[role="button"] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ th {
|
|||||||
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
||||||
|
|
||||||
.table-striped {
|
.table-striped {
|
||||||
> tbody > tr:nth-child(odd) {
|
> tbody > tr:nth-of-type(odd) {
|
||||||
background-color: @table-bg-accent;
|
background-color: @table-bg-accent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -133,7 +133,7 @@ th {
|
|||||||
// Reset default table behavior
|
// Reset default table behavior
|
||||||
|
|
||||||
table col[class*="col-"] {
|
table col[class*="col-"] {
|
||||||
position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
|
position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
|
||||||
float: none;
|
float: none;
|
||||||
display: table-column;
|
display: table-column;
|
||||||
}
|
}
|
||||||
@@ -141,7 +141,7 @@ table {
|
|||||||
td,
|
td,
|
||||||
th {
|
th {
|
||||||
&[class*="col-"] {
|
&[class*="col-"] {
|
||||||
position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
|
position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
|
||||||
float: none;
|
float: none;
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap v3.3.6 (http://getbootstrap.com)
|
||||||
|
* Copyright 2011-2015 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
*/
|
||||||
|
|
||||||
//
|
//
|
||||||
// Load core variables and mixins
|
// Load core variables and mixins
|
||||||
@@ -28,6 +33,12 @@
|
|||||||
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.disabled,
|
||||||
|
&[disabled],
|
||||||
|
fieldset[disabled] & {
|
||||||
|
.box-shadow(none);
|
||||||
|
}
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
@@ -36,7 +47,7 @@
|
|||||||
// Mixin for generating new styles
|
// Mixin for generating new styles
|
||||||
.btn-styles(@btn-color: #555) {
|
.btn-styles(@btn-color: #555) {
|
||||||
#gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
|
#gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
|
||||||
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
|
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
border-color: darken(@btn-color, 14%);
|
border-color: darken(@btn-color, 14%);
|
||||||
|
|
||||||
@@ -52,11 +63,19 @@
|
|||||||
border-color: darken(@btn-color, 14%);
|
border-color: darken(@btn-color, 14%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled,
|
&.disabled,
|
||||||
&[disabled] {
|
&[disabled],
|
||||||
|
fieldset[disabled] & {
|
||||||
|
&,
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&.focus,
|
||||||
|
&:active,
|
||||||
|
&.active {
|
||||||
background-color: darken(@btn-color, 12%);
|
background-color: darken(@btn-color, 12%);
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Common styles
|
// Common styles
|
||||||
@@ -130,8 +149,8 @@
|
|||||||
// Inverted navbar
|
// Inverted navbar
|
||||||
.navbar-inverse {
|
.navbar-inverse {
|
||||||
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
|
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
|
||||||
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
|
||||||
|
border-radius: @navbar-border-radius;
|
||||||
.navbar-nav > .open > a,
|
.navbar-nav > .open > a,
|
||||||
.navbar-nav > .active > a {
|
.navbar-nav > .active > a {
|
||||||
#gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));
|
#gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));
|
||||||
|
|||||||
@@ -8,12 +8,11 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: @zindex-tooltip;
|
z-index: @zindex-tooltip;
|
||||||
display: block;
|
display: block;
|
||||||
visibility: visible;
|
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
||||||
// Reset font and text propertes given new insertion method
|
// So reset our font and text properties to avoid inheriting weird values.
|
||||||
font-family: @font-family-base;
|
.reset-text();
|
||||||
font-size: @font-size-small;
|
font-size: @font-size-small;
|
||||||
font-weight: normal;
|
|
||||||
line-height: 1.4;
|
|
||||||
.opacity(0);
|
.opacity(0);
|
||||||
|
|
||||||
&.in { .opacity(@tooltip-opacity); }
|
&.in { .opacity(@tooltip-opacity); }
|
||||||
@@ -29,7 +28,6 @@
|
|||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
color: @tooltip-color;
|
color: @tooltip-color;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
|
||||||
background-color: @tooltip-bg;
|
background-color: @tooltip-bg;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ dd {
|
|||||||
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
|
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: @grid-float-breakpoint) {
|
@media (min-width: @dl-horizontal-breakpoint) {
|
||||||
dt {
|
dt {
|
||||||
float: left;
|
float: left;
|
||||||
width: (@dl-horizontal-offset - 20);
|
width: (@dl-horizontal-offset - 20);
|
||||||
@@ -238,7 +238,7 @@ abbr[data-original-title] {
|
|||||||
}
|
}
|
||||||
.initialism {
|
.initialism {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
text-transform: uppercase;
|
.text-uppercase();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blockquotes
|
// Blockquotes
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
visibility: hidden !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Paper 3.3.5
|
//
|
||||||
// Variables
|
// Variables
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
@@ -9,16 +9,16 @@
|
|||||||
|
|
||||||
@gray-base: #000;
|
@gray-base: #000;
|
||||||
@gray-darker: lighten(@gray-base, 13.5%); // #222
|
@gray-darker: lighten(@gray-base, 13.5%); // #222
|
||||||
@gray-dark: #212121;
|
@gray-dark: lighten(@gray-base, 20%); // #333
|
||||||
@gray: #666;
|
@gray: lighten(@gray-base, 33.5%); // #555
|
||||||
@gray-light: #bbb;
|
@gray-light: lighten(@gray-base, 46.7%); // #777
|
||||||
@gray-lighter: lighten(@gray-base, 93.5%); // #eee
|
@gray-lighter: lighten(@gray-base, 93.5%); // #eee
|
||||||
|
|
||||||
@brand-primary: #2196F3;
|
@brand-primary: darken(#428bca, 6.5%); // #337ab7
|
||||||
@brand-success: #4CAF50;
|
@brand-success: #5cb85c;
|
||||||
@brand-info: #9C27B0;
|
@brand-info: #5bc0de;
|
||||||
@brand-warning: #ff9800;
|
@brand-warning: #f0ad4e;
|
||||||
@brand-danger: #e51c23;
|
@brand-danger: #d9534f;
|
||||||
|
|
||||||
|
|
||||||
//== Scaffolding
|
//== Scaffolding
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
//** Background color for `<body>`.
|
//** Background color for `<body>`.
|
||||||
@body-bg: #fff;
|
@body-bg: #fff;
|
||||||
//** Global text color on `<body>`.
|
//** Global text color on `<body>`.
|
||||||
@text-color: @gray;
|
@text-color: @gray-dark;
|
||||||
|
|
||||||
//** Global textual link color.
|
//** Global textual link color.
|
||||||
@link-color: @brand-primary;
|
@link-color: @brand-primary;
|
||||||
@@ -42,33 +42,33 @@
|
|||||||
//
|
//
|
||||||
//## Font, line-height, and color for body text, headings, and more.
|
//## Font, line-height, and color for body text, headings, and more.
|
||||||
|
|
||||||
@font-family-sans-serif: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
||||||
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
||||||
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||||
@font-family-base: @font-family-sans-serif;
|
@font-family-base: @font-family-sans-serif;
|
||||||
|
|
||||||
@font-size-base: 13px;
|
@font-size-base: 14px;
|
||||||
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px
|
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px
|
||||||
@font-size-small: ceil((@font-size-base * 0.85)); // ~12px
|
@font-size-small: ceil((@font-size-base * 0.85)); // ~12px
|
||||||
|
|
||||||
@font-size-h1: 56px;
|
@font-size-h1: floor((@font-size-base * 2.6)); // ~36px
|
||||||
@font-size-h2: 45px;
|
@font-size-h2: floor((@font-size-base * 2.15)); // ~30px
|
||||||
@font-size-h3: 34px;
|
@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px
|
||||||
@font-size-h4: 24px;
|
@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px
|
||||||
@font-size-h5: 20px;
|
@font-size-h5: @font-size-base;
|
||||||
@font-size-h6: 14px;
|
@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px
|
||||||
|
|
||||||
//** Unit-less `line-height` for use in components like buttons.
|
//** Unit-less `line-height` for use in components like buttons.
|
||||||
@line-height-base: 1.846; // 20/14
|
@line-height-base: 1.428571429; // 20/14
|
||||||
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
||||||
@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
|
@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
|
||||||
|
|
||||||
//** By default, this inherits from the `<body>`.
|
//** By default, this inherits from the `<body>`.
|
||||||
@headings-font-family: inherit;
|
@headings-font-family: inherit;
|
||||||
@headings-font-weight: 400;
|
@headings-font-weight: 500;
|
||||||
@headings-line-height: 1.1;
|
@headings-line-height: 1.1;
|
||||||
@headings-color: #444;
|
@headings-color: inherit;
|
||||||
|
|
||||||
|
|
||||||
//== Iconography
|
//== Iconography
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
||||||
|
|
||||||
@padding-base-vertical: 6px;
|
@padding-base-vertical: 6px;
|
||||||
@padding-base-horizontal: 16px;
|
@padding-base-horizontal: 12px;
|
||||||
|
|
||||||
@padding-large-vertical: 10px;
|
@padding-large-vertical: 10px;
|
||||||
@padding-large-horizontal: 16px;
|
@padding-large-horizontal: 16px;
|
||||||
@@ -102,9 +102,9 @@
|
|||||||
@line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
|
@line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
|
||||||
@line-height-small: 1.5;
|
@line-height-small: 1.5;
|
||||||
|
|
||||||
@border-radius-base: 0px;
|
@border-radius-base: 4px;
|
||||||
@border-radius-large: 0px;
|
@border-radius-large: 6px;
|
||||||
@border-radius-small: 0px;
|
@border-radius-small: 3px;
|
||||||
|
|
||||||
//** Global color for active items (e.g., navs or dropdowns).
|
//** Global color for active items (e.g., navs or dropdowns).
|
||||||
@component-active-color: #fff;
|
@component-active-color: #fff;
|
||||||
@@ -144,29 +144,29 @@
|
|||||||
|
|
||||||
@btn-font-weight: normal;
|
@btn-font-weight: normal;
|
||||||
|
|
||||||
@btn-default-color: #444;
|
@btn-default-color: #333;
|
||||||
@btn-default-bg: #fff;
|
@btn-default-bg: #fff;
|
||||||
@btn-default-border: transparent;
|
@btn-default-border: #ccc;
|
||||||
|
|
||||||
@btn-primary-color: #fff;
|
@btn-primary-color: #fff;
|
||||||
@btn-primary-bg: @brand-primary;
|
@btn-primary-bg: @brand-primary;
|
||||||
@btn-primary-border: transparent;
|
@btn-primary-border: darken(@btn-primary-bg, 5%);
|
||||||
|
|
||||||
@btn-success-color: #fff;
|
@btn-success-color: #fff;
|
||||||
@btn-success-bg: @brand-success;
|
@btn-success-bg: @brand-success;
|
||||||
@btn-success-border: transparent;
|
@btn-success-border: darken(@btn-success-bg, 5%);
|
||||||
|
|
||||||
@btn-info-color: #fff;
|
@btn-info-color: #fff;
|
||||||
@btn-info-bg: @brand-info;
|
@btn-info-bg: @brand-info;
|
||||||
@btn-info-border: transparent;
|
@btn-info-border: darken(@btn-info-bg, 5%);
|
||||||
|
|
||||||
@btn-warning-color: #fff;
|
@btn-warning-color: #fff;
|
||||||
@btn-warning-bg: @brand-warning;
|
@btn-warning-bg: @brand-warning;
|
||||||
@btn-warning-border: transparent;
|
@btn-warning-border: darken(@btn-warning-bg, 5%);
|
||||||
|
|
||||||
@btn-danger-color: #fff;
|
@btn-danger-color: #fff;
|
||||||
@btn-danger-bg: @brand-danger;
|
@btn-danger-bg: @brand-danger;
|
||||||
@btn-danger-border: transparent;
|
@btn-danger-border: darken(@btn-danger-bg, 5%);
|
||||||
|
|
||||||
@btn-link-disabled-color: @gray-light;
|
@btn-link-disabled-color: @gray-light;
|
||||||
|
|
||||||
@@ -181,14 +181,14 @@
|
|||||||
//##
|
//##
|
||||||
|
|
||||||
//** `<input>` background color
|
//** `<input>` background color
|
||||||
@input-bg: transparent;
|
@input-bg: #fff;
|
||||||
//** `<input disabled>` background color
|
//** `<input disabled>` background color
|
||||||
@input-bg-disabled: transparent;
|
@input-bg-disabled: @gray-lighter;
|
||||||
|
|
||||||
//** Text color for `<input>`s
|
//** Text color for `<input>`s
|
||||||
@input-color: @gray;
|
@input-color: @gray;
|
||||||
//** `<input>` border color
|
//** `<input>` border color
|
||||||
@input-border: transparent;
|
@input-border: #ccc;
|
||||||
|
|
||||||
// TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4
|
// TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4
|
||||||
//** Default `.form-control` border radius
|
//** Default `.form-control` border radius
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
@input-border-focus: #66afe9;
|
@input-border-focus: #66afe9;
|
||||||
|
|
||||||
//** Placeholder text color
|
//** Placeholder text color
|
||||||
@input-color-placeholder: @gray-light;
|
@input-color-placeholder: #999;
|
||||||
|
|
||||||
//** Default `.form-control` height
|
//** Default `.form-control` height
|
||||||
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
|
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
|
||||||
@@ -219,7 +219,7 @@
|
|||||||
@legend-border-color: #e5e5e5;
|
@legend-border-color: #e5e5e5;
|
||||||
|
|
||||||
//** Background color for textual input addons
|
//** Background color for textual input addons
|
||||||
@input-group-addon-bg: transparent;
|
@input-group-addon-bg: @gray-lighter;
|
||||||
//** Border color for textual input addons
|
//** Border color for textual input addons
|
||||||
@input-group-addon-border-color: @input-border;
|
@input-group-addon-border-color: @input-border;
|
||||||
|
|
||||||
@@ -241,11 +241,11 @@
|
|||||||
@dropdown-divider-bg: #e5e5e5;
|
@dropdown-divider-bg: #e5e5e5;
|
||||||
|
|
||||||
//** Dropdown link text color.
|
//** Dropdown link text color.
|
||||||
@dropdown-link-color: @text-color;
|
@dropdown-link-color: @gray-dark;
|
||||||
//** Hover color for dropdown links.
|
//** Hover color for dropdown links.
|
||||||
@dropdown-link-hover-color: darken(@gray-dark, 5%);
|
@dropdown-link-hover-color: darken(@gray-dark, 5%);
|
||||||
//** Hover background for dropdown links.
|
//** Hover background for dropdown links.
|
||||||
@dropdown-link-hover-bg: @gray-lighter;
|
@dropdown-link-hover-bg: #f5f5f5;
|
||||||
|
|
||||||
//** Active dropdown menu item text color.
|
//** Active dropdown menu item text color.
|
||||||
@dropdown-link-active-color: @component-active-color;
|
@dropdown-link-active-color: @component-active-color;
|
||||||
@@ -259,7 +259,7 @@
|
|||||||
@dropdown-header-color: @gray-light;
|
@dropdown-header-color: @gray-light;
|
||||||
|
|
||||||
//** Deprecated `@dropdown-caret-color` as of v3.1.0
|
//** Deprecated `@dropdown-caret-color` as of v3.1.0
|
||||||
@dropdown-caret-color: @gray-light;
|
@dropdown-caret-color: #000;
|
||||||
|
|
||||||
|
|
||||||
//-- Z-index master list
|
//-- Z-index master list
|
||||||
@@ -357,45 +357,45 @@
|
|||||||
//##
|
//##
|
||||||
|
|
||||||
// Basics of a navbar
|
// Basics of a navbar
|
||||||
@navbar-height: 64px;
|
@navbar-height: 50px;
|
||||||
@navbar-margin-bottom: @line-height-computed;
|
@navbar-margin-bottom: @line-height-computed;
|
||||||
@navbar-border-radius: @border-radius-base;
|
@navbar-border-radius: @border-radius-base;
|
||||||
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
|
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
|
||||||
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
||||||
@navbar-collapse-max-height: 340px;
|
@navbar-collapse-max-height: 340px;
|
||||||
|
|
||||||
@navbar-default-color: @gray-light;
|
@navbar-default-color: #777;
|
||||||
@navbar-default-bg: #fff;
|
@navbar-default-bg: #f8f8f8;
|
||||||
@navbar-default-border: transparent;
|
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
|
||||||
|
|
||||||
// Navbar links
|
// Navbar links
|
||||||
@navbar-default-link-color: @gray;
|
@navbar-default-link-color: #777;
|
||||||
@navbar-default-link-hover-color: @gray-dark;
|
@navbar-default-link-hover-color: #333;
|
||||||
@navbar-default-link-hover-bg: transparent;
|
@navbar-default-link-hover-bg: transparent;
|
||||||
@navbar-default-link-active-color: @gray-dark;
|
@navbar-default-link-active-color: #555;
|
||||||
@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
|
@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
|
||||||
@navbar-default-link-disabled-color: #ccc;
|
@navbar-default-link-disabled-color: #ccc;
|
||||||
@navbar-default-link-disabled-bg: transparent;
|
@navbar-default-link-disabled-bg: transparent;
|
||||||
|
|
||||||
// Navbar brand label
|
// Navbar brand label
|
||||||
@navbar-default-brand-color: @navbar-default-link-color;
|
@navbar-default-brand-color: @navbar-default-link-color;
|
||||||
@navbar-default-brand-hover-color: @navbar-default-link-hover-color;
|
@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
|
||||||
@navbar-default-brand-hover-bg: transparent;
|
@navbar-default-brand-hover-bg: transparent;
|
||||||
|
|
||||||
// Navbar toggle
|
// Navbar toggle
|
||||||
@navbar-default-toggle-hover-bg: transparent;
|
@navbar-default-toggle-hover-bg: #ddd;
|
||||||
@navbar-default-toggle-icon-bar-bg: rgba(0,0,0,0.5);
|
@navbar-default-toggle-icon-bar-bg: #888;
|
||||||
@navbar-default-toggle-border-color: transparent;
|
@navbar-default-toggle-border-color: #ddd;
|
||||||
|
|
||||||
|
|
||||||
//=== Inverted navbar
|
//=== Inverted navbar
|
||||||
// Reset inverted navbar basics
|
// Reset inverted navbar basics
|
||||||
@navbar-inverse-color: @gray-light;
|
@navbar-inverse-color: lighten(@gray-light, 15%);
|
||||||
@navbar-inverse-bg: @brand-primary;
|
@navbar-inverse-bg: #222;
|
||||||
@navbar-inverse-border: transparent;
|
@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
|
||||||
|
|
||||||
// Inverted navbar links
|
// Inverted navbar links
|
||||||
@navbar-inverse-link-color: lighten(@brand-primary, 30%);
|
@navbar-inverse-link-color: lighten(@gray-light, 15%);
|
||||||
@navbar-inverse-link-hover-color: #fff;
|
@navbar-inverse-link-hover-color: #fff;
|
||||||
@navbar-inverse-link-hover-bg: transparent;
|
@navbar-inverse-link-hover-bg: transparent;
|
||||||
@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
|
@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
|
||||||
@@ -408,10 +408,10 @@
|
|||||||
@navbar-inverse-brand-hover-color: #fff;
|
@navbar-inverse-brand-hover-color: #fff;
|
||||||
@navbar-inverse-brand-hover-bg: transparent;
|
@navbar-inverse-brand-hover-bg: transparent;
|
||||||
|
|
||||||
// Inverted navbar toggle\
|
// Inverted navbar toggle
|
||||||
@navbar-inverse-toggle-hover-bg: transparent;
|
@navbar-inverse-toggle-hover-bg: #333;
|
||||||
@navbar-inverse-toggle-icon-bar-bg: rgba(0,0,0,0.5);
|
@navbar-inverse-toggle-icon-bar-bg: #fff;
|
||||||
@navbar-inverse-toggle-border-color: transparent;
|
@navbar-inverse-toggle-border-color: #333;
|
||||||
|
|
||||||
|
|
||||||
//== Navs
|
//== Navs
|
||||||
@@ -426,15 +426,15 @@
|
|||||||
@nav-disabled-link-hover-color: @gray-light;
|
@nav-disabled-link-hover-color: @gray-light;
|
||||||
|
|
||||||
//== Tabs
|
//== Tabs
|
||||||
@nav-tabs-border-color: transparent;
|
@nav-tabs-border-color: #ddd;
|
||||||
|
|
||||||
@nav-tabs-link-hover-border-color: @gray-lighter;
|
@nav-tabs-link-hover-border-color: @gray-lighter;
|
||||||
|
|
||||||
@nav-tabs-active-link-hover-bg: transparent;
|
@nav-tabs-active-link-hover-bg: @body-bg;
|
||||||
@nav-tabs-active-link-hover-color: @gray;
|
@nav-tabs-active-link-hover-color: @gray;
|
||||||
@nav-tabs-active-link-hover-border-color: transparent;
|
@nav-tabs-active-link-hover-border-color: #ddd;
|
||||||
|
|
||||||
@nav-tabs-justified-link-border-color: @nav-tabs-border-color;
|
@nav-tabs-justified-link-border-color: #ddd;
|
||||||
@nav-tabs-justified-active-link-border-color: @body-bg;
|
@nav-tabs-justified-active-link-border-color: @body-bg;
|
||||||
|
|
||||||
//== Pills
|
//== Pills
|
||||||
@@ -486,8 +486,8 @@
|
|||||||
|
|
||||||
@jumbotron-padding: 30px;
|
@jumbotron-padding: 30px;
|
||||||
@jumbotron-color: inherit;
|
@jumbotron-color: inherit;
|
||||||
@jumbotron-bg: #f9f9f9;
|
@jumbotron-bg: @gray-lighter;
|
||||||
@jumbotron-heading-color: @headings-color;
|
@jumbotron-heading-color: inherit;
|
||||||
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
||||||
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
||||||
|
|
||||||
@@ -496,20 +496,20 @@
|
|||||||
//
|
//
|
||||||
//## Define colors for form feedback states and, by default, alerts.
|
//## Define colors for form feedback states and, by default, alerts.
|
||||||
|
|
||||||
@state-success-text: @brand-success;
|
@state-success-text: #3c763d;
|
||||||
@state-success-bg: #dff0d8;
|
@state-success-bg: #dff0d8;
|
||||||
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
||||||
|
|
||||||
@state-info-text: @brand-info;
|
@state-info-text: #31708f;
|
||||||
@state-info-bg: #e1bee7;
|
@state-info-bg: #d9edf7;
|
||||||
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
||||||
|
|
||||||
@state-warning-text: @brand-warning;
|
@state-warning-text: #8a6d3b;
|
||||||
@state-warning-bg: #ffe0b2;
|
@state-warning-bg: #fcf8e3;
|
||||||
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
||||||
|
|
||||||
@state-danger-text: @brand-danger;
|
@state-danger-text: #a94442;
|
||||||
@state-danger-bg: #f9bdbb;
|
@state-danger-bg: #f2dede;
|
||||||
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
||||||
|
|
||||||
|
|
||||||
@@ -522,7 +522,7 @@
|
|||||||
//** Tooltip text color
|
//** Tooltip text color
|
||||||
@tooltip-color: #fff;
|
@tooltip-color: #fff;
|
||||||
//** Tooltip background color
|
//** Tooltip background color
|
||||||
@tooltip-bg: #727272;
|
@tooltip-bg: #000;
|
||||||
@tooltip-opacity: .9;
|
@tooltip-opacity: .9;
|
||||||
|
|
||||||
//** Tooltip arrow width
|
//** Tooltip arrow width
|
||||||
@@ -540,9 +540,9 @@
|
|||||||
//** Popover maximum width
|
//** Popover maximum width
|
||||||
@popover-max-width: 276px;
|
@popover-max-width: 276px;
|
||||||
//** Popover border color
|
//** Popover border color
|
||||||
@popover-border-color: transparent;
|
@popover-border-color: rgba(0,0,0,.2);
|
||||||
//** Popover fallback border color
|
//** Popover fallback border color
|
||||||
@popover-fallback-border-color: transparent;
|
@popover-fallback-border-color: #ccc;
|
||||||
|
|
||||||
//** Popover title background color
|
//** Popover title background color
|
||||||
@popover-title-bg: darken(@popover-bg, 3%);
|
@popover-title-bg: darken(@popover-bg, 3%);
|
||||||
@@ -555,7 +555,7 @@
|
|||||||
//** Popover outer arrow width
|
//** Popover outer arrow width
|
||||||
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
||||||
//** Popover outer arrow color
|
//** Popover outer arrow color
|
||||||
@popover-arrow-outer-color: fadein(@popover-border-color, 7.5%);
|
@popover-arrow-outer-color: fadein(@popover-border-color, 5%);
|
||||||
//** Popover outer arrow fallback color
|
//** Popover outer arrow fallback color
|
||||||
@popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
|
@popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
|
||||||
|
|
||||||
@@ -598,7 +598,7 @@
|
|||||||
//** Background color of modal content area
|
//** Background color of modal content area
|
||||||
@modal-content-bg: #fff;
|
@modal-content-bg: #fff;
|
||||||
//** Modal content border color
|
//** Modal content border color
|
||||||
@modal-content-border-color: transparent;
|
@modal-content-border-color: rgba(0,0,0,.2);
|
||||||
//** Modal content border color **for IE8**
|
//** Modal content border color **for IE8**
|
||||||
@modal-content-fallback-border-color: #999;
|
@modal-content-fallback-border-color: #999;
|
||||||
|
|
||||||
@@ -607,7 +607,7 @@
|
|||||||
//** Modal backdrop opacity
|
//** Modal backdrop opacity
|
||||||
@modal-backdrop-opacity: .5;
|
@modal-backdrop-opacity: .5;
|
||||||
//** Modal header border color
|
//** Modal header border color
|
||||||
@modal-header-border-color: transparent;
|
@modal-header-border-color: #e5e5e5;
|
||||||
//** Modal footer border color
|
//** Modal footer border color
|
||||||
@modal-footer-border-color: @modal-header-border-color;
|
@modal-footer-border-color: @modal-header-border-color;
|
||||||
|
|
||||||
@@ -720,21 +720,21 @@
|
|||||||
@panel-primary-border: @brand-primary;
|
@panel-primary-border: @brand-primary;
|
||||||
@panel-primary-heading-bg: @brand-primary;
|
@panel-primary-heading-bg: @brand-primary;
|
||||||
|
|
||||||
@panel-success-text: #fff;
|
@panel-success-text: @state-success-text;
|
||||||
@panel-success-border: @state-success-border;
|
@panel-success-border: @state-success-border;
|
||||||
@panel-success-heading-bg: @brand-success;
|
@panel-success-heading-bg: @state-success-bg;
|
||||||
|
|
||||||
@panel-info-text: #fff;
|
@panel-info-text: @state-info-text;
|
||||||
@panel-info-border: @state-info-border;
|
@panel-info-border: @state-info-border;
|
||||||
@panel-info-heading-bg: @brand-info;
|
@panel-info-heading-bg: @state-info-bg;
|
||||||
|
|
||||||
@panel-warning-text: #fff;
|
@panel-warning-text: @state-warning-text;
|
||||||
@panel-warning-border: @state-warning-border;
|
@panel-warning-border: @state-warning-border;
|
||||||
@panel-warning-heading-bg: @brand-warning;
|
@panel-warning-heading-bg: @state-warning-bg;
|
||||||
|
|
||||||
@panel-danger-text: #fff;
|
@panel-danger-text: @state-danger-text;
|
||||||
@panel-danger-border: @state-danger-border;
|
@panel-danger-border: @state-danger-border;
|
||||||
@panel-danger-heading-bg: @brand-danger;
|
@panel-danger-heading-bg: @state-danger-bg;
|
||||||
|
|
||||||
|
|
||||||
//== Thumbnails
|
//== Thumbnails
|
||||||
@@ -760,8 +760,8 @@
|
|||||||
//
|
//
|
||||||
//##
|
//##
|
||||||
|
|
||||||
@well-bg: #f9f9f9;
|
@well-bg: #f5f5f5;
|
||||||
@well-border: transparent;
|
@well-border: darken(@well-bg, 7%);
|
||||||
|
|
||||||
|
|
||||||
//== Badges
|
//== Badges
|
||||||
@@ -778,7 +778,7 @@
|
|||||||
//** Badge background color in active nav link
|
//** Badge background color in active nav link
|
||||||
@badge-active-bg: #fff;
|
@badge-active-bg: #fff;
|
||||||
|
|
||||||
@badge-font-weight: normal;
|
@badge-font-weight: bold;
|
||||||
@badge-line-height: 1;
|
@badge-line-height: 1;
|
||||||
@badge-border-radius: 10px;
|
@badge-border-radius: 10px;
|
||||||
|
|
||||||
@@ -820,9 +820,9 @@
|
|||||||
//
|
//
|
||||||
//##
|
//##
|
||||||
|
|
||||||
@close-font-weight: normal;
|
@close-font-weight: bold;
|
||||||
@close-color: #000;
|
@close-color: #000;
|
||||||
@close-text-shadow: none;
|
@close-text-shadow: 0 1px 0 #fff;
|
||||||
|
|
||||||
|
|
||||||
//== Code
|
//== Code
|
||||||
@@ -863,5 +863,7 @@
|
|||||||
@page-header-border-color: @gray-lighter;
|
@page-header-border-color: @gray-lighter;
|
||||||
//** Width of horizontal description list titles
|
//** Width of horizontal description list titles
|
||||||
@dl-horizontal-offset: @component-offset-horizontal;
|
@dl-horizontal-offset: @component-offset-horizontal;
|
||||||
|
//** Point at which .dl-horizontal becomes horizontal
|
||||||
|
@dl-horizontal-breakpoint: @grid-float-breakpoint;
|
||||||
//** Horizontal line color.
|
//** Horizontal line color.
|
||||||
@hr-border: @gray-lighter;
|
@hr-border: @gray-lighter;
|
||||||
|
|||||||
Reference in New Issue
Block a user