bootflat-rails 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Gemfile +11 -0
- data/README.md +34 -0
- data/bootflat-rails.gemspec +21 -0
- data/lib/bootflat-rails.rb +58 -4
- data/lib/bootflat-rails/engine.rb +9 -0
- data/lib/bootflat-rails/version.rb +3 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/images/check_flat/default.png +0 -0
- data/vendor/assets/images/check_flat/default.psd +0 -0
- data/vendor/assets/javascripts/bootstrap.min.js +6 -0
- data/vendor/assets/javascripts/icheck.min.js +11 -0
- data/vendor/assets/stylesheets/bootflat.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_accordion.scss +76 -0
- data/vendor/assets/stylesheets/bootflat/_alert.scss +75 -0
- data/vendor/assets/stylesheets/bootflat/_breadcrumb.scss +121 -0
- data/vendor/assets/stylesheets/bootflat/_button.scss +205 -0
- data/vendor/assets/stylesheets/bootflat/_button_group.scss +133 -0
- data/vendor/assets/stylesheets/bootflat/_checkbox_radio.scss +62 -0
- data/vendor/assets/stylesheets/bootflat/_dropdown.scss +122 -0
- data/vendor/assets/stylesheets/bootflat/_footer.scss +82 -0
- data/vendor/assets/stylesheets/bootflat/_form.scss +212 -0
- data/vendor/assets/stylesheets/bootflat/_global.scss +239 -0
- data/vendor/assets/stylesheets/bootflat/_jumbotron.scss +80 -0
- data/vendor/assets/stylesheets/bootflat/_label_badge.scss +65 -0
- data/vendor/assets/stylesheets/bootflat/_list.scss +188 -0
- data/vendor/assets/stylesheets/bootflat/_media_list.scss +26 -0
- data/vendor/assets/stylesheets/bootflat/_modal.scss +39 -0
- data/vendor/assets/stylesheets/bootflat/_navbar.scss +213 -0
- data/vendor/assets/stylesheets/bootflat/_pager.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_pagination.scss +59 -0
- data/vendor/assets/stylesheets/bootflat/_panel.scss +169 -0
- data/vendor/assets/stylesheets/bootflat/_pill.scss +45 -0
- data/vendor/assets/stylesheets/bootflat/_popover.scss +50 -0
- data/vendor/assets/stylesheets/bootflat/_progress.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_tab.scss +179 -0
- data/vendor/assets/stylesheets/bootflat/_thumbnail.scss +39 -0
- data/vendor/assets/stylesheets/bootflat/_tooltip.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_typography.scss +127 -0
- data/vendor/assets/stylesheets/bootflat/_well.scss +43 -0
- metadata +74 -5
@@ -0,0 +1,133 @@
|
|
1
|
+
// Exports
|
2
|
+
//------------------------------------------------------
|
3
|
+
|
4
|
+
@include exports("button-group") {
|
5
|
+
|
6
|
+
/**
|
7
|
+
* button-group
|
8
|
+
* --------------------------------------------------
|
9
|
+
*/
|
10
|
+
.btn-group {
|
11
|
+
@at-root &.open .dropdown-toggle {
|
12
|
+
@include box-shadow($value: inset 0 1px 2px rgba(0, 0, 0, .125));
|
13
|
+
}
|
14
|
+
|
15
|
+
& .btn {
|
16
|
+
border-left-color: darken($button-normal, 7%);
|
17
|
+
}
|
18
|
+
|
19
|
+
@at-root &.open .btn-default.dropdown-toggle,
|
20
|
+
& .btn-default:focus,
|
21
|
+
& .btn-default:active,
|
22
|
+
& .btn-default.active {
|
23
|
+
color: $button-default;
|
24
|
+
}
|
25
|
+
|
26
|
+
& .btn-primary,
|
27
|
+
& .btn-primary:focus,
|
28
|
+
& .btn-primary:active,
|
29
|
+
& .btn-primary.active {
|
30
|
+
border-left-color: darken($button-primary, 7%);
|
31
|
+
}
|
32
|
+
|
33
|
+
& .btn-success,
|
34
|
+
& .btn-success:focus,
|
35
|
+
& .btn-success:active,
|
36
|
+
& .btn-success.active {
|
37
|
+
border-left-color: darken($button-success, 7%);
|
38
|
+
}
|
39
|
+
|
40
|
+
& .btn-warning,
|
41
|
+
& .btn-warning:focus,
|
42
|
+
& .btn-warning:active,
|
43
|
+
& .btn-warning.active {
|
44
|
+
border-left-color: darken($button-warning, 12%);
|
45
|
+
}
|
46
|
+
|
47
|
+
& .btn-danger,
|
48
|
+
& .btn-danger:focus,
|
49
|
+
& .btn-danger:active,
|
50
|
+
& .btn-danger.active {
|
51
|
+
border-left-color: darken($button-danger, 7%);
|
52
|
+
}
|
53
|
+
|
54
|
+
& .btn-info,
|
55
|
+
& .btn-info:focus,
|
56
|
+
& .btn-info:active,
|
57
|
+
& .btn-info.active {
|
58
|
+
border-left-color: darken($button-info, 7%);
|
59
|
+
}
|
60
|
+
|
61
|
+
& .btn:first-child,
|
62
|
+
& .btn-primary:first-child,
|
63
|
+
& .btn-success:first-child,
|
64
|
+
& .btn-warning:first-child,
|
65
|
+
& .btn-danger:first-child,
|
66
|
+
& .btn-info:first-child {
|
67
|
+
border-left-color: transparent;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.btn-group-vertical {
|
72
|
+
& .btn,
|
73
|
+
& .btn-group .btn-primary {
|
74
|
+
border-top-color: darken($button-normal, 7%) !important;
|
75
|
+
}
|
76
|
+
|
77
|
+
& .btn-primary,
|
78
|
+
& .btn-primary:focus,
|
79
|
+
& .btn-primary:active,
|
80
|
+
& .btn-primary.active,
|
81
|
+
& .btn-group .btn-primary {
|
82
|
+
border-top-color: darken($button-primary, 7%) !important;
|
83
|
+
}
|
84
|
+
|
85
|
+
& .btn-success,
|
86
|
+
& .btn-success:focus,
|
87
|
+
& .btn-success:active,
|
88
|
+
& .btn-success.active,
|
89
|
+
& .btn-group .btn-success {
|
90
|
+
border-top-color: darken($button-success, 7%) !important;
|
91
|
+
}
|
92
|
+
|
93
|
+
& .btn-warning,
|
94
|
+
& .btn-warning:focus,
|
95
|
+
& .btn-warning:active,
|
96
|
+
& .btn-warning.active,
|
97
|
+
& .btn-group .btn-warning {
|
98
|
+
border-top-color: darken($button-warning, 12%) !important;
|
99
|
+
}
|
100
|
+
|
101
|
+
& .btn-danger,
|
102
|
+
& .btn-danger:focus,
|
103
|
+
& .btn-danger:active,
|
104
|
+
& .btn-danger.active,
|
105
|
+
& .btn-group .btn-danger {
|
106
|
+
border-top-color: darken($button-danger, 7%) !important;
|
107
|
+
}
|
108
|
+
|
109
|
+
& .btn-info,
|
110
|
+
& .btn-info:focus,
|
111
|
+
& .btn-info:active,
|
112
|
+
& .btn-info.active,
|
113
|
+
& .btn-group .btn-info {
|
114
|
+
border-top-color: darken($button-info, 7%) !important;
|
115
|
+
}
|
116
|
+
|
117
|
+
& .btn:not(.btn-default):first-child,
|
118
|
+
& .btn-primary:first-child,
|
119
|
+
& .btn-success:first-child,
|
120
|
+
& .btn-warning:first-child,
|
121
|
+
& .btn-danger:first-child,
|
122
|
+
& .btn-info:first-child {
|
123
|
+
border-top: none;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
@@ -0,0 +1,62 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$img-src: "../bootflat/img/check_flat/default.png" !default;
|
4
|
+
|
5
|
+
// Exports
|
6
|
+
//------------------------------------------------------
|
7
|
+
|
8
|
+
@include exports("checkbox-radio") {
|
9
|
+
|
10
|
+
/**
|
11
|
+
* checkbox and radio
|
12
|
+
* --------------------------------------------------
|
13
|
+
*/
|
14
|
+
.checkbox, .radio {
|
15
|
+
margin-top: 0;
|
16
|
+
padding-left: 0;
|
17
|
+
}
|
18
|
+
.icheckbox_flat,
|
19
|
+
.iradio_flat {
|
20
|
+
display: inline-block;
|
21
|
+
*display: inline;
|
22
|
+
vertical-align: middle;
|
23
|
+
margin: 0;
|
24
|
+
padding: 0 !important;
|
25
|
+
width: 20px;
|
26
|
+
height: 20px;
|
27
|
+
background: url($img-src) no-repeat;
|
28
|
+
border: none;
|
29
|
+
cursor: pointer;
|
30
|
+
}
|
31
|
+
|
32
|
+
.icheckbox_flat {
|
33
|
+
background-position: 0 0;
|
34
|
+
|
35
|
+
&.checked {
|
36
|
+
background-position: -22px 0;
|
37
|
+
}
|
38
|
+
&.disabled {
|
39
|
+
background-position: -44px 0;
|
40
|
+
cursor: default;
|
41
|
+
}
|
42
|
+
&.checked.disabled {
|
43
|
+
background-position: -66px 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.iradio_flat {
|
48
|
+
background-position: -88px 0;
|
49
|
+
|
50
|
+
&.checked {
|
51
|
+
background-position: -110px 0;
|
52
|
+
}
|
53
|
+
&.disabled {
|
54
|
+
background-position: -132px 0;
|
55
|
+
cursor: default;
|
56
|
+
}
|
57
|
+
&.checked.disabled {
|
58
|
+
background-position: -154px 0;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
}
|
@@ -0,0 +1,122 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$dropdown-background-color: $darkgray-dark !default;
|
4
|
+
$dropdown-background-color-hover: $darkgray-light !default;
|
5
|
+
|
6
|
+
$dropdown-normal: $mediumgray-dark !default;
|
7
|
+
$dropdown-default: $white !default;
|
8
|
+
|
9
|
+
$dropdown-padding: 5px 20px !default;
|
10
|
+
|
11
|
+
$dropdown-radius: 4px !default;
|
12
|
+
|
13
|
+
$dropdown-font-size: 14px !default;
|
14
|
+
$dropdown-font-color-dark: $darkgray-dark !default;
|
15
|
+
$dropdown-font-color-light: $white !default;
|
16
|
+
$dropdown-font-weight: 700 !default;
|
17
|
+
|
18
|
+
// Exports
|
19
|
+
//------------------------------------------------------
|
20
|
+
|
21
|
+
@include exports("dropdown") {
|
22
|
+
|
23
|
+
/**
|
24
|
+
* dropdown-menu
|
25
|
+
* --------------------------------------------------
|
26
|
+
*/
|
27
|
+
.dropdown-menu {
|
28
|
+
border: none;
|
29
|
+
background-color: $dropdown-background-color;
|
30
|
+
|
31
|
+
& .dropdown-header {
|
32
|
+
padding: $dropdown-padding;
|
33
|
+
font-size: $dropdown-font-size;
|
34
|
+
font-weight: $dropdown-font-weight;
|
35
|
+
color: $dropdown-normal;
|
36
|
+
}
|
37
|
+
|
38
|
+
& li a {
|
39
|
+
padding: $dropdown-padding;
|
40
|
+
color: $dropdown-font-color-light;
|
41
|
+
}
|
42
|
+
& li a:hover,
|
43
|
+
& li a:focus,
|
44
|
+
& .active a,
|
45
|
+
& .active a:hover,
|
46
|
+
& .active a:focus{
|
47
|
+
color: $dropdown-font-color-light;
|
48
|
+
background-color: $dropdown-background-color-hover;
|
49
|
+
outline: none;
|
50
|
+
}
|
51
|
+
& .disabled a,
|
52
|
+
& .disabled a:hover,
|
53
|
+
& .disabled a:focus {
|
54
|
+
color: $dropdown-background-color-hover;
|
55
|
+
cursor: default;
|
56
|
+
}
|
57
|
+
& .divider {
|
58
|
+
background-color: $dropdown-background-color-hover;
|
59
|
+
border-bottom: none;
|
60
|
+
}
|
61
|
+
|
62
|
+
@at-root .dropup & {
|
63
|
+
margin-bottom: 0;
|
64
|
+
@include radius($type: border-radius, $value: $dropdown-radius $dropdown-radius 0 0);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* dropdown-submenu
|
69
|
+
* --------------------------------------------------
|
70
|
+
*/
|
71
|
+
.dropdown-submenu {
|
72
|
+
position: relative;
|
73
|
+
|
74
|
+
& .dropdown-menu {
|
75
|
+
top: 0;
|
76
|
+
left: 100%;
|
77
|
+
margin-top: -6px;
|
78
|
+
margin-left: -1px;
|
79
|
+
@include radius($type: border-radius, $value: 0 4px 4px 4px);
|
80
|
+
}
|
81
|
+
&:hover .dropdown-menu {
|
82
|
+
display: block;
|
83
|
+
}
|
84
|
+
.dropup & .dropdown-menu {
|
85
|
+
top: auto;
|
86
|
+
bottom: 0;
|
87
|
+
margin-top: 0;
|
88
|
+
margin-bottom: -2px;
|
89
|
+
@include radius($type: border-radius, $value: 4px 4px 4px 0);
|
90
|
+
}
|
91
|
+
& > a:after {
|
92
|
+
display: block;
|
93
|
+
content: " ";
|
94
|
+
float: right;
|
95
|
+
width: 0;
|
96
|
+
height: 0;
|
97
|
+
border-color: transparent;
|
98
|
+
border-style: solid;
|
99
|
+
border-width: 5px 0 5px 5px;
|
100
|
+
border-left-color: $dropdown-default;
|
101
|
+
margin-top: 5px;
|
102
|
+
margin-right: -10px;
|
103
|
+
}
|
104
|
+
@at-root .dropdown-default & > a:after {
|
105
|
+
border-left-color: $dropdown-font-color-dark;
|
106
|
+
}
|
107
|
+
&:hover a:after {
|
108
|
+
border-left-color: $dropdown-default;
|
109
|
+
}
|
110
|
+
&.pull-left {
|
111
|
+
float: none;
|
112
|
+
}
|
113
|
+
&.pull-left .dropdown-menu {
|
114
|
+
left: -100%;
|
115
|
+
margin-left: 10px;
|
116
|
+
@include radius($type: border-radius, $value: 4px 0 4px 4px);
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
}
|
121
|
+
|
122
|
+
|
@@ -0,0 +1,82 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$footer-background-color: $darkgray-dark !default;
|
4
|
+
$footer-menu-title-color: $lightgray-dark !default;
|
5
|
+
$footer-menu-item-color: $mediumgray-dark !default;
|
6
|
+
$footer-menu-item-color-hover: $mediumgray-light !default;
|
7
|
+
$footer-logo-color: $white !default;
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
// Exports
|
12
|
+
//------------------------------------------------------
|
13
|
+
|
14
|
+
@include exports("footer") {
|
15
|
+
|
16
|
+
/**
|
17
|
+
* footer
|
18
|
+
* --------------------------------------------------
|
19
|
+
*/
|
20
|
+
|
21
|
+
.footer {
|
22
|
+
padding: 40px 0;
|
23
|
+
background-color: $footer-background-color;
|
24
|
+
|
25
|
+
&-logo,
|
26
|
+
&-nav {
|
27
|
+
float: left;
|
28
|
+
padding: 0 20px;
|
29
|
+
width: 20%;
|
30
|
+
}
|
31
|
+
@media (max-width: 768px) {
|
32
|
+
&-logo {
|
33
|
+
margin-bottom: 20px;
|
34
|
+
}
|
35
|
+
&-logo,
|
36
|
+
&-nav {
|
37
|
+
float: none;
|
38
|
+
display: block;
|
39
|
+
width: 100%;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
&-logo {
|
43
|
+
margin-top: -5px;
|
44
|
+
height: 32px;
|
45
|
+
line-height: 32px;
|
46
|
+
|
47
|
+
& img {
|
48
|
+
margin-right: 10px;
|
49
|
+
}
|
50
|
+
& a {
|
51
|
+
font-size: 20px;
|
52
|
+
font-weight: bold;
|
53
|
+
color: $footer-logo-color;
|
54
|
+
}
|
55
|
+
& a:hover,
|
56
|
+
& a:active {
|
57
|
+
text-decoration: none;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
&-nav .nav-title {
|
61
|
+
margin-bottom: 15px;
|
62
|
+
color: $footer-menu-title-color;
|
63
|
+
}
|
64
|
+
&-nav .nav-item {
|
65
|
+
line-height: 28px;
|
66
|
+
& > a {
|
67
|
+
color: $footer-menu-item-color;
|
68
|
+
}
|
69
|
+
& > a:hover,
|
70
|
+
& > a:active {
|
71
|
+
color: $footer-menu-item-color-hover;
|
72
|
+
text-decoration: none;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
&-copyright {
|
76
|
+
color: $footer-menu-item-color;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
}
|
81
|
+
|
82
|
+
|
@@ -0,0 +1,212 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$form-normal: $mediumgray-dark !default;
|
4
|
+
$form-default: $white !default;
|
5
|
+
$form-primary: $aqua-dark !default;
|
6
|
+
$form-success: $grass-dark !default;
|
7
|
+
$form-danger: $grapefruit-dark !default;
|
8
|
+
$form-warning: $sunflower-dark !default;
|
9
|
+
$form-info: $mint-dark !default;
|
10
|
+
|
11
|
+
$message-success: $grass-dark !default;
|
12
|
+
$message-danger: $grapefruit-dark !default;
|
13
|
+
$message-warning: $sunflower-dark !default;
|
14
|
+
|
15
|
+
$form-font-color: $darkgray-dark !default;
|
16
|
+
$form-placeholder-font-color: $lightgray-dark !default;
|
17
|
+
|
18
|
+
$form-disabled-color: $lightgray-dark !default;
|
19
|
+
|
20
|
+
$search-query-value: 17px !default;
|
21
|
+
|
22
|
+
$search-icon-width: 30px !default;
|
23
|
+
$search-icon-line-height: 30px !default;
|
24
|
+
|
25
|
+
// Exports
|
26
|
+
//------------------------------------------------------
|
27
|
+
|
28
|
+
@include exports("form") {
|
29
|
+
|
30
|
+
/**
|
31
|
+
* form
|
32
|
+
* --------------------------------------------------
|
33
|
+
*/
|
34
|
+
.form-control {
|
35
|
+
color: $form-font-color;
|
36
|
+
border-color: $form-normal;
|
37
|
+
|
38
|
+
&,
|
39
|
+
&:focus {
|
40
|
+
@include box-shadow($value: none);
|
41
|
+
}
|
42
|
+
&:focus {
|
43
|
+
border-color: $form-primary;
|
44
|
+
}
|
45
|
+
&::-moz-placeholder,
|
46
|
+
&:-ms-input-placeholder,
|
47
|
+
&::-webkit-input-placeholder {
|
48
|
+
color: $form-placeholder-font-color;
|
49
|
+
}
|
50
|
+
|
51
|
+
&.disabled,
|
52
|
+
&[disabled] {
|
53
|
+
border-color: $form-disabled-color;
|
54
|
+
background-color: $form-disabled-color;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.input-group-btn {
|
59
|
+
& .btn + .btn {
|
60
|
+
border-width: 1px;
|
61
|
+
border-style: solid;
|
62
|
+
border-color: darken($form-normal, 7%);
|
63
|
+
}
|
64
|
+
& .btn + .btn.btn-default {
|
65
|
+
border-color: darken($form-default, 7%);
|
66
|
+
}
|
67
|
+
& .btn + .btn.btn-primary {
|
68
|
+
border-color: darken($form-primary, 7%);
|
69
|
+
}
|
70
|
+
& .btn + .btn.btn-info {
|
71
|
+
border-color: darken($form-info, 7%);
|
72
|
+
}
|
73
|
+
& .btn + .btn.btn-success {
|
74
|
+
border-color: darken($form-success, 7%);
|
75
|
+
}
|
76
|
+
& .btn + .btn.btn-warning {
|
77
|
+
border-color: darken($form-warning, 7%);
|
78
|
+
}
|
79
|
+
& .btn + .btn.btn-danger {
|
80
|
+
border-color: darken($form-danger, 7%);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.input-group-addon {
|
85
|
+
background-color: $form-normal;
|
86
|
+
border-color: darken($form-normal, 7%);
|
87
|
+
color: $form-default;
|
88
|
+
|
89
|
+
& .radio,
|
90
|
+
& .checkbox {
|
91
|
+
margin: -3px 0 -4px !important;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.form-search {
|
96
|
+
& .search-query,
|
97
|
+
& .search-query:first-child,
|
98
|
+
& .search-query:last-child {
|
99
|
+
padding: 0 $search-query-value;
|
100
|
+
@include radius($type: border-radius, $value: $search-query-value);
|
101
|
+
}
|
102
|
+
@at-root .input-group .form-control:last-child {
|
103
|
+
// padding: 0 $search-query-value 0 10px;
|
104
|
+
@include radius($type: border-top-left-radius, $value: 0);
|
105
|
+
@include radius($type: border-bottom-left-radius, $value: 0);
|
106
|
+
}
|
107
|
+
@at-root .input-group .form-control:first-child {
|
108
|
+
@include radius($type: border-top-right-radius, $value: 0);
|
109
|
+
@include radius($type: border-bottom-right-radius, $value: 0);
|
110
|
+
}
|
111
|
+
& .btn {
|
112
|
+
@include radius($type: border-radius, $value: $search-query-value);
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.search-only {
|
117
|
+
position: relative;
|
118
|
+
& .search-icon {
|
119
|
+
position: absolute;
|
120
|
+
top: 2px;
|
121
|
+
left: $search-query-value / 2;
|
122
|
+
width: $search-icon-width;
|
123
|
+
line-height: $search-icon-line-height;
|
124
|
+
text-align: center;
|
125
|
+
font-size: $search-query-value;
|
126
|
+
color: $form-placeholder-font-color;
|
127
|
+
z-index: 20;
|
128
|
+
}
|
129
|
+
& .form-control:last-child {
|
130
|
+
padding-left: $search-icon-width + 10;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
.has-success {
|
135
|
+
& .help-block,
|
136
|
+
& .control-label,
|
137
|
+
& .radio,
|
138
|
+
& .checkbox,
|
139
|
+
& .radio-inline,
|
140
|
+
& .checkbox-inline {
|
141
|
+
color: $message-success;
|
142
|
+
}
|
143
|
+
& .form-control {
|
144
|
+
border-color: $message-success;
|
145
|
+
@include box-shadow($value: none);
|
146
|
+
}
|
147
|
+
& .form-control:focus {
|
148
|
+
border-color: $message-success;
|
149
|
+
@include box-shadow($value: none);
|
150
|
+
}
|
151
|
+
& .input-group-addon {
|
152
|
+
background-color: $message-success;
|
153
|
+
border-color: $message-success;
|
154
|
+
}
|
155
|
+
& .form-control-feedback {
|
156
|
+
color: $message-success;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
.has-warning {
|
160
|
+
& .help-block,
|
161
|
+
& .control-label,
|
162
|
+
& .radio,
|
163
|
+
& .checkbox,
|
164
|
+
& .radio-inline,
|
165
|
+
& .checkbox-inline {
|
166
|
+
color: $message-warning;
|
167
|
+
}
|
168
|
+
& .form-control {
|
169
|
+
border-color: $message-warning;
|
170
|
+
@include box-shadow($value: none);
|
171
|
+
}
|
172
|
+
& .form-control:focus {
|
173
|
+
border-color: $message-warning;
|
174
|
+
@include box-shadow($value: none);
|
175
|
+
}
|
176
|
+
& .input-group-addon {
|
177
|
+
background-color: $message-warning;
|
178
|
+
border-color: $message-warning;
|
179
|
+
}
|
180
|
+
& .form-control-feedback {
|
181
|
+
color: $message-warning;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
.has-error {
|
185
|
+
& .help-block,
|
186
|
+
& .control-label,
|
187
|
+
& .radio,
|
188
|
+
& .checkbox,
|
189
|
+
& .radio-inline,
|
190
|
+
& .checkbox-inline {
|
191
|
+
color: $message-danger;
|
192
|
+
}
|
193
|
+
& .form-control {
|
194
|
+
border-color: $message-danger;
|
195
|
+
@include box-shadow($value: none);
|
196
|
+
}
|
197
|
+
& .form-control:focus {
|
198
|
+
border-color: $message-danger;
|
199
|
+
@include box-shadow($value: none);
|
200
|
+
}
|
201
|
+
& .input-group-addon {
|
202
|
+
background-color: $message-danger;
|
203
|
+
border-color: $message-danger;
|
204
|
+
}
|
205
|
+
& .form-control-feedback {
|
206
|
+
color: $message-danger;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
}
|
211
|
+
|
212
|
+
|