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 {
|
2015-06-11 03:53:09 +03:00
|
|
|
font-size: 16px;
|
2015-02-06 08:55:47 +03:00
|
|
|
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-06-11 01:49:01 +03:00
|
|
|
color: @brand-action;
|
|
|
|
transition: color 150ms;
|
|
|
|
//cursor: pointer;
|
2015-02-17 20:33:11 +03:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2015-06-11 01:49:01 +03:00
|
|
|
color: darken(@brand-action, 10%);
|
2015-02-17 20:33:11 +03:00
|
|
|
}
|
2015-06-12 01:07:04 +03:00
|
|
|
outline: 0 !important;
|
2015-02-17 20:33:11 +03:00
|
|
|
}
|
|
|
|
|
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-06-11 21:01:53 +03:00
|
|
|
color: @gray-lighter;
|
|
|
|
font-weight: 400;
|
2015-01-26 09:28:49 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-06-11 03:42:14 +03:00
|
|
|
.btn-hollow-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;
|
2015-06-11 03:42:14 +03:00
|
|
|
border: 1px solid @btn-color;
|
2015-06-04 23:44:58 +03:00
|
|
|
color: @btn-color;
|
2015-06-11 03:42:14 +03:00
|
|
|
font-weight: 500;
|
2015-01-17 21:15:26 +03:00
|
|
|
|
2015-06-04 23:44:58 +03:00
|
|
|
&:hover {
|
2015-06-11 03:53:09 +03:00
|
|
|
background-color: fade(@btn-color, 2%);
|
2015-06-04 23:44:58 +03:00
|
|
|
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 {
|
2015-06-11 03:53:09 +03:00
|
|
|
background-color: fade(@btn-color, 3%);
|
2015-06-04 23:44:58 +03:00
|
|
|
border-color: darken(@btn-color, 5%);
|
2015-06-11 03:53:09 +03:00
|
|
|
box-shadow: 0 0 15px fade(@btn-color, 25%);
|
2015-06-04 23:44:58 +03:00
|
|
|
}
|
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;
|
2015-06-11 03:42:14 +03:00
|
|
|
border: none;
|
2015-06-07 09:06:08 +03:00
|
|
|
color: white;
|
2015-06-11 03:42:14 +03:00
|
|
|
font-weight: 500;
|
|
|
|
|
2015-06-07 09:06:08 +03:00
|
|
|
&: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%);
|
2015-06-11 03:53:09 +03:00
|
|
|
box-shadow: 0 0 15px fade(@btn-color, 25%);
|
2015-06-07 09:06:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&: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-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;
|
|
|
|
text-shadow: none;
|
2015-01-25 21:29:51 +03:00
|
|
|
cursor: default;
|
2015-06-11 03:42:14 +03:00
|
|
|
font-size: 12px;
|
2015-06-11 03:53:09 +03:00
|
|
|
padding: 0.5rem 1rem;
|
2015-06-11 03:42:14 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
&.has-icon {
|
|
|
|
.icon {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
margin-right: 0.4rem;
|
|
|
|
&::before {
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-06-10 21:27:05 +03:00
|
|
|
&::before {
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
}
|
2015-06-08 19:06:06 +03:00
|
|
|
}
|
|
|
|
}
|
2015-01-25 21:29:51 +03:00
|
|
|
|
2015-01-27 03:58:28 +03:00
|
|
|
&.small {
|
2015-06-12 21:36:49 +03:00
|
|
|
font-size: 10px;
|
|
|
|
padding: 0.3rem 0.7rem;
|
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-06-08 21:24:09 +03:00
|
|
|
box-shadow: none;
|
2015-01-17 21:15:26 +03:00
|
|
|
}
|
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-06-11 21:32:31 +03:00
|
|
|
border-radius: 100%;
|
2015-01-27 03:58:28 +03:00
|
|
|
&.small {
|
2015-02-05 04:45:26 +03:00
|
|
|
width: 22px;
|
2015-06-15 23:13:51 +03:00
|
|
|
height: 22px;
|
|
|
|
padding: 0.4rem 0.55rem;
|
2015-06-11 21:32:31 +03:00
|
|
|
.icon {
|
|
|
|
&::before {
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
}
|
|
|
|
}
|
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 {
|
2015-06-11 03:42:14 +03:00
|
|
|
.btn-hollow-styles(@brand-action);
|
|
|
|
&.btn-hollow {
|
|
|
|
.btn-hollow-styles(@brand-action);
|
2015-06-07 09:06:08 +03:00
|
|
|
}
|
2015-01-23 05:18:54 +03:00
|
|
|
}
|
2015-01-27 03:58:28 +03:00
|
|
|
.btn-positive {
|
2015-06-11 21:32:31 +03:00
|
|
|
.btn-hollow-styles(@brand-positive);
|
2015-01-27 03:58:28 +03:00
|
|
|
}
|
2015-06-11 03:42:14 +03:00
|
|
|
.btn-default { .btn-filled-styles(@btn-default-bg); }
|
|
|
|
.btn-primary { .btn-filled-styles(@btn-primary-bg); }
|
|
|
|
.btn-success { .btn-filled-styles(@btn-success-bg); }
|
|
|
|
.btn-info { .btn-filled-styles(@btn-info-bg); }
|
|
|
|
.btn-warning { .btn-filled-styles(@btn-warning-bg); }
|
|
|
|
.btn-danger { .btn-filled-styles(@btn-danger-bg); }
|
2015-02-20 22:21:29 +03:00
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
.tooltip-inner {
|
|
|
|
font-size: 10px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|