2015-01-17 21:15:26 +03:00
|
|
|
//
|
|
|
|
// Load core variables and mixins
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
@import "bootstrap/variables.less";
|
|
|
|
@import "bootstrap/mixins.less";
|
|
|
|
|
2015-02-06 08:55:47 +03:00
|
|
|
h2 {
|
|
|
|
font-size: 18px;
|
|
|
|
color: @gray-normal;
|
|
|
|
}
|
|
|
|
|
2015-01-27 03:58:28 +03:00
|
|
|
h3 {
|
|
|
|
font-size: 14px;
|
|
|
|
color: @gray-darkest;
|
|
|
|
}
|
2015-01-17 21:15:26 +03:00
|
|
|
|
2015-01-23 22:41:59 +03:00
|
|
|
h4 {
|
|
|
|
font-size: 13px;
|
2015-01-30 23:11:41 +03:00
|
|
|
color: @gray-darker;
|
2015-01-31 04:42:50 +03:00
|
|
|
font-weight: 500;
|
2015-01-23 22:41:59 +03:00
|
|
|
}
|
|
|
|
|
2015-02-17 20:33:11 +03:00
|
|
|
a {
|
2015-02-20 02:34:47 +03:00
|
|
|
transition: color 0.25s;
|
2015-02-17 20:33:11 +03:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-26 09:28:49 +03:00
|
|
|
input[type="text"] {
|
|
|
|
&.line {
|
|
|
|
border: 0;
|
2015-01-27 03:58:28 +03:00
|
|
|
border-bottom: 1px solid @gray-lightest;
|
2015-01-26 09:28:49 +03:00
|
|
|
color: @gray-normal;
|
|
|
|
font-weight: 300;
|
2015-01-27 03:58:28 +03:00
|
|
|
padding: 5px;
|
2015-01-30 23:11:41 +03:00
|
|
|
transition: all 0.25s;
|
2015-01-26 09:28:49 +03:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
2015-01-27 03:58:28 +03:00
|
|
|
border-bottom: 1px solid @brand-action;
|
2015-01-26 09:28:49 +03:00
|
|
|
}
|
|
|
|
&::-webkit-input-placeholder {
|
2015-02-20 03:19:37 +03:00
|
|
|
color: #DDD;
|
2015-01-26 09:28:49 +03:00
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-17 21:15:26 +03:00
|
|
|
//
|
|
|
|
// Buttons
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// Common styles
|
|
|
|
.btn-default,
|
|
|
|
.btn-primary,
|
|
|
|
.btn-success,
|
|
|
|
.btn-info,
|
|
|
|
.btn-warning,
|
|
|
|
.btn-danger {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mixin for generating new styles
|
2015-01-23 05:18:54 +03:00
|
|
|
.btn-styles(@btn-color: @gray-normal) {
|
2015-01-17 21:15:26 +03:00
|
|
|
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
|
2015-06-04 23:44:58 +03:00
|
|
|
transition: all 100ms;
|
|
|
|
background: transparent;
|
|
|
|
border-color: @btn-color;
|
|
|
|
color: @btn-color;
|
2015-01-17 21:15:26 +03:00
|
|
|
|
2015-06-04 23:44:58 +03:00
|
|
|
&:hover {
|
|
|
|
background-color: fade(@btn-color, 3%);
|
|
|
|
border-color: darken(@btn-color, 5%);
|
|
|
|
color: darken(@btn-color, 5%);
|
2015-01-25 21:29:51 +03:00
|
|
|
cursor: default;
|
|
|
|
box-shadow: none;
|
2015-01-23 05:18:54 +03:00
|
|
|
}
|
|
|
|
|
2015-06-04 23:44:58 +03:00
|
|
|
&:focus,
|
|
|
|
&.focus {
|
|
|
|
color: @btn-color;
|
|
|
|
outline: none;
|
|
|
|
}
|
2015-01-23 05:18:54 +03:00
|
|
|
|
2015-06-04 23:44:58 +03:00
|
|
|
&:active {
|
|
|
|
background-color: fade(@btn-color, 5%);
|
|
|
|
border-color: darken(@btn-color, 5%);
|
|
|
|
box-shadow: 0 0 0 3px fade(@btn-color, 25%);
|
|
|
|
}
|
2015-01-17 21:15:26 +03:00
|
|
|
|
|
|
|
&:disabled,
|
|
|
|
&[disabled] {
|
2015-01-23 05:18:54 +03:00
|
|
|
opacity: 0.5;
|
2015-02-04 01:45:16 +03:00
|
|
|
background: none;
|
|
|
|
&.active {
|
|
|
|
background: none;
|
|
|
|
color: white;
|
|
|
|
box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2015-01-23 05:18:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-07 09:06:08 +03:00
|
|
|
.btn-filled-styles(@btn-color: @gray-normal) {
|
|
|
|
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
|
|
|
|
transition: all 100ms;
|
|
|
|
background: @btn-color;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken(@btn-color, 4%);
|
|
|
|
color: white;
|
|
|
|
cursor: default;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&.focus {
|
|
|
|
color: white;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: darken(@btn-color, 5%);
|
|
|
|
box-shadow: 0 0 0 3px fade(@btn-color, 25%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled,
|
|
|
|
&[disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
background: @btn-color;
|
|
|
|
&.active {
|
|
|
|
background: @btn-color;
|
|
|
|
color: white;
|
|
|
|
box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-23 05:18:54 +03:00
|
|
|
.btn-group {
|
2015-01-26 04:03:09 +03:00
|
|
|
&.tabs {
|
|
|
|
.btn {
|
|
|
|
padding: 6px 14px 6px 14px;
|
|
|
|
}
|
|
|
|
}
|
2015-01-23 05:18:54 +03:00
|
|
|
.btn {
|
|
|
|
.icon-dropdown {
|
|
|
|
&.icon:before {
|
2015-01-26 03:57:27 +03:00
|
|
|
position: relative;
|
|
|
|
font-size: 10px;
|
|
|
|
top: -2px;
|
2015-01-23 05:18:54 +03:00
|
|
|
margin-left: 0px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
2015-01-17 21:15:26 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Common styles
|
|
|
|
.btn {
|
2015-01-30 23:11:41 +03:00
|
|
|
font-size: 13px;
|
2015-01-23 05:18:54 +03:00
|
|
|
background-color: transparent;
|
|
|
|
color: @gray-normal;
|
|
|
|
border: 1px solid @gray-normal;
|
2015-06-04 23:44:58 +03:00
|
|
|
border-radius: @border-radius;
|
2015-01-19 20:19:40 +03:00
|
|
|
box-shadow: none;
|
|
|
|
font-weight: 400;
|
|
|
|
text-shadow: none;
|
2015-02-13 21:44:00 +03:00
|
|
|
padding: 5px 14px 5px 14px;
|
2015-01-25 21:29:51 +03:00
|
|
|
cursor: default;
|
2015-06-08 19:06:06 +03:00
|
|
|
|
|
|
|
&.circular {
|
|
|
|
border-radius: 100%;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 4px;
|
|
|
|
.icon {
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
}
|
2015-01-25 21:29:51 +03:00
|
|
|
|
2015-01-27 03:58:28 +03:00
|
|
|
&.small {
|
2015-02-13 21:44:00 +03:00
|
|
|
font-size: 11px;
|
|
|
|
padding: 3px 8px 3px 8px;
|
2015-01-27 03:58:28 +03:00
|
|
|
height: 22px;
|
|
|
|
.icon {
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-25 21:29:51 +03:00
|
|
|
.content {
|
2015-01-23 05:18:54 +03:00
|
|
|
position: relative;
|
2015-01-25 21:29:51 +03:00
|
|
|
top: -4px;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
2015-01-24 00:48:46 +03:00
|
|
|
}
|
2015-01-25 21:29:51 +03:00
|
|
|
|
2015-01-26 03:57:27 +03:00
|
|
|
.icon-dropdown {
|
|
|
|
&.icon:before {
|
|
|
|
font-size: 10px;
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-25 21:29:51 +03:00
|
|
|
.icon {
|
|
|
|
position: relative;
|
|
|
|
font-size: 16px;
|
2015-01-23 05:18:54 +03:00
|
|
|
}
|
2015-01-25 21:29:51 +03:00
|
|
|
|
2015-01-17 21:15:26 +03:00
|
|
|
// Remove the gradient for the pressed/active state
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
background-image: none;
|
|
|
|
}
|
2015-01-19 20:19:40 +03:00
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&.focus {
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none !important;
|
|
|
|
}
|
2015-01-26 03:57:27 +03:00
|
|
|
|
|
|
|
&.only-icon {
|
|
|
|
padding: 6px 7px 6px 7px;
|
2015-01-27 03:58:28 +03:00
|
|
|
&.small {
|
2015-02-05 04:45:26 +03:00
|
|
|
width: 22px;
|
2015-02-13 21:44:00 +03:00
|
|
|
padding: 4px 5px 4px 5px;
|
2015-01-27 03:58:28 +03:00
|
|
|
}
|
2015-01-26 03:57:27 +03:00
|
|
|
}
|
2015-01-17 21:15:26 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// Apply the mixin to the buttons
|
2015-01-23 05:18:54 +03:00
|
|
|
.btn-action {
|
|
|
|
.btn-styles(@brand-action);
|
2015-06-07 09:06:08 +03:00
|
|
|
&.btn-filled {
|
|
|
|
.btn-filled-styles(@brand-action);
|
|
|
|
}
|
2015-01-23 05:18:54 +03:00
|
|
|
}
|
2015-01-27 03:58:28 +03:00
|
|
|
.btn-positive {
|
|
|
|
.btn-styles(@brand-positive);
|
|
|
|
}
|
2015-01-19 20:19:40 +03:00
|
|
|
.btn-default { .btn-styles(@btn-default-bg); }
|
2015-01-17 21:15:26 +03:00
|
|
|
.btn-primary { .btn-styles(@btn-primary-bg); }
|
|
|
|
.btn-success { .btn-styles(@btn-success-bg); }
|
|
|
|
.btn-info { .btn-styles(@btn-info-bg); }
|
|
|
|
.btn-warning { .btn-styles(@btn-warning-bg); }
|
|
|
|
.btn-danger { .btn-styles(@btn-danger-bg); }
|
2015-02-20 22:21:29 +03:00
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
.tooltip-inner {
|
|
|
|
font-size: 10px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|