coreui-rails 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/Gemfile +6 -0
  4. data/Gemfile.lock +27 -0
  5. data/LICENSE +21 -0
  6. data/README.md +40 -0
  7. data/Rakefile +2 -0
  8. data/app/assets/stylesheets/_bootstrap-variables.scss +119 -0
  9. data/app/assets/stylesheets/_coreui-variables.scss +1 -0
  10. data/app/assets/stylesheets/_custom.scss +1 -0
  11. data/app/assets/stylesheets/bootstrap/_alert.scss +51 -0
  12. data/app/assets/stylesheets/bootstrap/_badge.scss +47 -0
  13. data/app/assets/stylesheets/bootstrap/_breadcrumb.scss +38 -0
  14. data/app/assets/stylesheets/bootstrap/_button-group.scss +166 -0
  15. data/app/assets/stylesheets/bootstrap/_buttons.scss +143 -0
  16. data/app/assets/stylesheets/bootstrap/_card.scss +270 -0
  17. data/app/assets/stylesheets/bootstrap/_carousel.scss +191 -0
  18. data/app/assets/stylesheets/bootstrap/_close.scss +34 -0
  19. data/app/assets/stylesheets/bootstrap/_code.scss +56 -0
  20. data/app/assets/stylesheets/bootstrap/_custom-forms.scss +297 -0
  21. data/app/assets/stylesheets/bootstrap/_dropdown.scss +131 -0
  22. data/app/assets/stylesheets/bootstrap/_forms.scss +333 -0
  23. data/app/assets/stylesheets/bootstrap/_functions.scss +86 -0
  24. data/app/assets/stylesheets/bootstrap/_grid.scss +52 -0
  25. data/app/assets/stylesheets/bootstrap/_images.scss +42 -0
  26. data/app/assets/stylesheets/bootstrap/_input-group.scss +159 -0
  27. data/app/assets/stylesheets/bootstrap/_jumbotron.scss +16 -0
  28. data/app/assets/stylesheets/bootstrap/_list-group.scss +115 -0
  29. data/app/assets/stylesheets/bootstrap/_media.scss +8 -0
  30. data/app/assets/stylesheets/bootstrap/_mixins.scss +42 -0
  31. data/app/assets/stylesheets/bootstrap/_modal.scss +168 -0
  32. data/app/assets/stylesheets/bootstrap/_nav.scss +118 -0
  33. data/app/assets/stylesheets/bootstrap/_navbar.scss +311 -0
  34. data/app/assets/stylesheets/bootstrap/_pagination.scss +77 -0
  35. data/app/assets/stylesheets/bootstrap/_popover.scss +183 -0
  36. data/app/assets/stylesheets/bootstrap/_print.scss +124 -0
  37. data/app/assets/stylesheets/bootstrap/_progress.scss +33 -0
  38. data/app/assets/stylesheets/bootstrap/_reboot.scss +482 -0
  39. data/app/assets/stylesheets/bootstrap/_root.scss +19 -0
  40. data/app/assets/stylesheets/bootstrap/_tables.scss +180 -0
  41. data/app/assets/stylesheets/bootstrap/_tooltip.scss +115 -0
  42. data/app/assets/stylesheets/bootstrap/_transitions.scss +36 -0
  43. data/app/assets/stylesheets/bootstrap/_type.scss +125 -0
  44. data/app/assets/stylesheets/bootstrap/_utilities.scss +14 -0
  45. data/app/assets/stylesheets/bootstrap/_variables.scss +894 -0
  46. data/app/assets/stylesheets/bootstrap/bootstrap-grid.scss +32 -0
  47. data/app/assets/stylesheets/bootstrap/bootstrap-reboot.scss +12 -0
  48. data/app/assets/stylesheets/bootstrap/bootstrap.scss +42 -0
  49. data/app/assets/stylesheets/bootstrap/mixins/_alert.scss +13 -0
  50. data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +21 -0
  51. data/app/assets/stylesheets/bootstrap/mixins/_badge.scss +12 -0
  52. data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +35 -0
  53. data/app/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +5 -0
  54. data/app/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +123 -0
  55. data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +109 -0
  56. data/app/assets/stylesheets/bootstrap/mixins/_caret.scss +65 -0
  57. data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +7 -0
  58. data/app/assets/stylesheets/bootstrap/mixins/_float.scss +11 -0
  59. data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +137 -0
  60. data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +45 -0
  61. data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +67 -0
  62. data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +52 -0
  63. data/app/assets/stylesheets/bootstrap/mixins/_hover.scss +39 -0
  64. data/app/assets/stylesheets/bootstrap/mixins/_image.scss +36 -0
  65. data/app/assets/stylesheets/bootstrap/mixins/_list-group.scss +21 -0
  66. data/app/assets/stylesheets/bootstrap/mixins/_lists.scss +7 -0
  67. data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  68. data/app/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +10 -0
  69. data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +22 -0
  70. data/app/assets/stylesheets/bootstrap/mixins/_reset-text.scss +17 -0
  71. data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  72. data/app/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +35 -0
  73. data/app/assets/stylesheets/bootstrap/mixins/_size.scss +6 -0
  74. data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +30 -0
  75. data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +14 -0
  76. data/app/assets/stylesheets/bootstrap/mixins/_text-hide.scss +9 -0
  77. data/app/assets/stylesheets/bootstrap/mixins/_text-truncate.scss +8 -0
  78. data/app/assets/stylesheets/bootstrap/mixins/_transition.scss +9 -0
  79. data/app/assets/stylesheets/bootstrap/mixins/_visibility.scss +7 -0
  80. data/app/assets/stylesheets/bootstrap/utilities/_align.scss +8 -0
  81. data/app/assets/stylesheets/bootstrap/utilities/_background.scss +19 -0
  82. data/app/assets/stylesheets/bootstrap/utilities/_borders.scss +59 -0
  83. data/app/assets/stylesheets/bootstrap/utilities/_clearfix.scss +3 -0
  84. data/app/assets/stylesheets/bootstrap/utilities/_display.scss +38 -0
  85. data/app/assets/stylesheets/bootstrap/utilities/_embed.scss +52 -0
  86. data/app/assets/stylesheets/bootstrap/utilities/_flex.scss +46 -0
  87. data/app/assets/stylesheets/bootstrap/utilities/_float.scss +9 -0
  88. data/app/assets/stylesheets/bootstrap/utilities/_position.scss +36 -0
  89. data/app/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +11 -0
  90. data/app/assets/stylesheets/bootstrap/utilities/_sizing.scss +12 -0
  91. data/app/assets/stylesheets/bootstrap/utilities/_spacing.scss +51 -0
  92. data/app/assets/stylesheets/bootstrap/utilities/_text.scss +52 -0
  93. data/app/assets/stylesheets/bootstrap/utilities/_visibility.scss +11 -0
  94. data/app/assets/stylesheets/coreui-free.scss +18 -0
  95. data/app/assets/stylesheets/coreui/_animate.scss +27 -0
  96. data/app/assets/stylesheets/coreui/_aside.scss +64 -0
  97. data/app/assets/stylesheets/coreui/_avatars.scss +51 -0
  98. data/app/assets/stylesheets/coreui/_badge.scss +3 -0
  99. data/app/assets/stylesheets/coreui/_brand-card.scss +51 -0
  100. data/app/assets/stylesheets/coreui/_brands-buttons.scss +47 -0
  101. data/app/assets/stylesheets/coreui/_breadcrumb-menu.scss +36 -0
  102. data/app/assets/stylesheets/coreui/_breadcrumb.scss +4 -0
  103. data/app/assets/stylesheets/coreui/_buttons.scss +18 -0
  104. data/app/assets/stylesheets/coreui/_callout.scss +55 -0
  105. data/app/assets/stylesheets/coreui/_card.scss +107 -0
  106. data/app/assets/stylesheets/coreui/_charts.scss +7 -0
  107. data/app/assets/stylesheets/coreui/_deprecated.scss +175 -0
  108. data/app/assets/stylesheets/coreui/_dropdown-menu-right.scss +8 -0
  109. data/app/assets/stylesheets/coreui/_dropdown.scss +69 -0
  110. data/app/assets/stylesheets/coreui/_footer.scss +9 -0
  111. data/app/assets/stylesheets/coreui/_grid.scss +15 -0
  112. data/app/assets/stylesheets/coreui/_input-group.scss +6 -0
  113. data/app/assets/stylesheets/coreui/_layout.scss +399 -0
  114. data/app/assets/stylesheets/coreui/_loading.scss +128 -0
  115. data/app/assets/stylesheets/coreui/_mixins.scss +116 -0
  116. data/app/assets/stylesheets/coreui/_modal.scss +13 -0
  117. data/app/assets/stylesheets/coreui/_nav.scss +35 -0
  118. data/app/assets/stylesheets/coreui/_navbar.scss +135 -0
  119. data/app/assets/stylesheets/coreui/_others.scss +4 -0
  120. data/app/assets/stylesheets/coreui/_progress-group.scss +40 -0
  121. data/app/assets/stylesheets/coreui/_progress.scss +15 -0
  122. data/app/assets/stylesheets/coreui/_rtl.scss +281 -0
  123. data/app/assets/stylesheets/coreui/_sidebar.scss +454 -0
  124. data/app/assets/stylesheets/coreui/_switches.scss +301 -0
  125. data/app/assets/stylesheets/coreui/_tables.scss +20 -0
  126. data/app/assets/stylesheets/coreui/_temp.scss +39 -0
  127. data/app/assets/stylesheets/coreui/_utilities.scss +4 -0
  128. data/app/assets/stylesheets/coreui/_variables.scss +243 -0
  129. data/app/assets/stylesheets/coreui/_widgets.scss +79 -0
  130. data/app/assets/stylesheets/coreui/coreui.scss +47 -0
  131. data/app/assets/stylesheets/coreui/utilities/_background.scss +20 -0
  132. data/app/assets/stylesheets/coreui/utilities/_borders.scss +18 -0
  133. data/app/assets/stylesheets/coreui/utilities/_display.scss +18 -0
  134. data/app/assets/stylesheets/coreui/utilities/_typography.scss +46 -0
  135. data/coreui-rails.gemspec +19 -0
  136. data/lib/coreui_rails.rb +4 -0
  137. data/lib/coreui_rails/version.rb +3 -0
  138. metadata +195 -0
@@ -0,0 +1,11 @@
1
+ //
2
+ // Screenreaders
3
+ //
4
+
5
+ .sr-only {
6
+ @include sr-only();
7
+ }
8
+
9
+ .sr-only-focusable {
10
+ @include sr-only-focusable();
11
+ }
@@ -0,0 +1,12 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ // Width and height
4
+
5
+ @each $prop, $abbrev in (width: w, height: h) {
6
+ @each $size, $length in $sizes {
7
+ .#{$abbrev}-#{$size} { #{$prop}: $length !important; }
8
+ }
9
+ }
10
+
11
+ .mw-100 { max-width: 100% !important; }
12
+ .mh-100 { max-height: 100% !important; }
@@ -0,0 +1,51 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ // Margin and Padding
4
+
5
+ @each $breakpoint in map-keys($grid-breakpoints) {
6
+ @include media-breakpoint-up($breakpoint) {
7
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
8
+
9
+ @each $prop, $abbrev in (margin: m, padding: p) {
10
+ @each $size, $length in $spacers {
11
+
12
+ .#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; }
13
+ .#{$abbrev}t#{$infix}-#{$size},
14
+ .#{$abbrev}y#{$infix}-#{$size} {
15
+ #{$prop}-top: $length !important;
16
+ }
17
+ .#{$abbrev}r#{$infix}-#{$size},
18
+ .#{$abbrev}x#{$infix}-#{$size} {
19
+ #{$prop}-right: $length !important;
20
+ }
21
+ .#{$abbrev}b#{$infix}-#{$size},
22
+ .#{$abbrev}y#{$infix}-#{$size} {
23
+ #{$prop}-bottom: $length !important;
24
+ }
25
+ .#{$abbrev}l#{$infix}-#{$size},
26
+ .#{$abbrev}x#{$infix}-#{$size} {
27
+ #{$prop}-left: $length !important;
28
+ }
29
+ }
30
+ }
31
+
32
+ // Some special margin utils
33
+ .m#{$infix}-auto { margin: auto !important; }
34
+ .mt#{$infix}-auto,
35
+ .my#{$infix}-auto {
36
+ margin-top: auto !important;
37
+ }
38
+ .mr#{$infix}-auto,
39
+ .mx#{$infix}-auto {
40
+ margin-right: auto !important;
41
+ }
42
+ .mb#{$infix}-auto,
43
+ .my#{$infix}-auto {
44
+ margin-bottom: auto !important;
45
+ }
46
+ .ml#{$infix}-auto,
47
+ .mx#{$infix}-auto {
48
+ margin-left: auto !important;
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,52 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ //
4
+ // Text
5
+ //
6
+
7
+ // Alignment
8
+
9
+ .text-justify { text-align: justify !important; }
10
+ .text-nowrap { white-space: nowrap !important; }
11
+ .text-truncate { @include text-truncate; }
12
+
13
+ // Responsive alignment
14
+
15
+ @each $breakpoint in map-keys($grid-breakpoints) {
16
+ @include media-breakpoint-up($breakpoint) {
17
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
18
+
19
+ .text#{$infix}-left { text-align: left !important; }
20
+ .text#{$infix}-right { text-align: right !important; }
21
+ .text#{$infix}-center { text-align: center !important; }
22
+ }
23
+ }
24
+
25
+ // Transformation
26
+
27
+ .text-lowercase { text-transform: lowercase !important; }
28
+ .text-uppercase { text-transform: uppercase !important; }
29
+ .text-capitalize { text-transform: capitalize !important; }
30
+
31
+ // Weight and italics
32
+
33
+ .font-weight-light { font-weight: $font-weight-light !important; }
34
+ .font-weight-normal { font-weight: $font-weight-normal !important; }
35
+ .font-weight-bold { font-weight: $font-weight-bold !important; }
36
+ .font-italic { font-style: italic !important; }
37
+
38
+ // Contextual colors
39
+
40
+ .text-white { color: #fff !important; }
41
+
42
+ @each $color, $value in $theme-colors {
43
+ @include text-emphasis-variant(".text-#{$color}", $value);
44
+ }
45
+
46
+ .text-muted { color: $text-muted !important; }
47
+
48
+ // Misc
49
+
50
+ .text-hide {
51
+ @include text-hide();
52
+ }
@@ -0,0 +1,11 @@
1
+ //
2
+ // Visibility utilities
3
+ //
4
+
5
+ .visible {
6
+ @include invisible(visible);
7
+ }
8
+
9
+ .invisible {
10
+ @include invisible(hidden);
11
+ }
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * CoreUI - Open Source Bootstrap Admin Template
3
+ * @version v1.0.0-alpha.6
4
+ * @link http://coreui.io
5
+ * Copyright (c) 2018 creativeLabs Łukasz Holeczek
6
+ * @license MIT
7
+ */
8
+
9
+ // Override Boostrap variables
10
+ @import "bootstrap-variables";
11
+ // Import Bootstrap source files
12
+ @import "bootstrap/bootstrap";
13
+ // Override core variables
14
+ @import "coreui-variables";
15
+ // Import core styles
16
+ @import "coreui/coreui";
17
+ // Custom styles
18
+ @import "custom";
@@ -0,0 +1,27 @@
1
+ // scss-lint:disable all
2
+ .animated {
3
+ animation-duration: 1s;
4
+ // animation-fill-mode: both;
5
+ }
6
+
7
+ .animated.infinite {
8
+ animation-iteration-count: infinite;
9
+ }
10
+
11
+ .animated.hinge {
12
+ animation-duration: 2s;
13
+ }
14
+
15
+ @keyframes fadeIn {
16
+ from {
17
+ opacity: 0;
18
+ }
19
+
20
+ to {
21
+ opacity: 1;
22
+ }
23
+ }
24
+
25
+ .fadeIn {
26
+ animation-name: fadeIn;
27
+ }
@@ -0,0 +1,64 @@
1
+ .aside-menu {
2
+ z-index: $zindex-sticky - 1;
3
+ width: $aside-menu-width;
4
+ color: $aside-menu-color;
5
+ background: $aside-menu-bg;
6
+ @include borders($aside-menu-borders);
7
+
8
+ .nav-tabs {
9
+ border-color: $border-color;
10
+ .nav-link {
11
+ padding: $aside-menu-nav-padding-y $aside-menu-nav-padding-x;
12
+ color: $body-color;
13
+ border-top: 0;
14
+ &.active {
15
+ color: theme-color("primary");
16
+ border-right-color: $border-color;
17
+ border-left-color: $border-color;
18
+ }
19
+ }
20
+ .nav-item:first-child {
21
+ .nav-link {
22
+ border-left: 0;
23
+ }
24
+ }
25
+ }
26
+
27
+ .tab-content {
28
+ position: relative;
29
+ overflow-x: hidden;
30
+ overflow-y: auto;
31
+ border: 0;
32
+ border-top: 1px solid $border-color;
33
+ -ms-overflow-style: -ms-autohiding-scrollbar;
34
+
35
+ &::-webkit-scrollbar {
36
+ width: 10px;
37
+ margin-left: -10px;
38
+ appearance: none;
39
+ }
40
+
41
+ // &::-webkit-scrollbar-button { }
42
+
43
+ &::-webkit-scrollbar-track {
44
+ background-color: lighten($aside-menu-bg, 5%);
45
+ border-right: 1px solid darken($aside-menu-bg, 5%);
46
+ border-left: 1px solid darken($aside-menu-bg, 5%);
47
+ }
48
+
49
+ // &::-webkit-scrollbar-track-piece { }
50
+
51
+ &::-webkit-scrollbar-thumb {
52
+ height: 50px;
53
+ background-color: darken($aside-menu-bg, 10%);
54
+ background-clip: content-box;
55
+ border-color: transparent;
56
+ border-style: solid;
57
+ border-width: 1px 2px;
58
+ }
59
+
60
+ .tab-pane {
61
+ padding: 0;
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,51 @@
1
+ .img-avatar {
2
+ border-radius: 50em;
3
+ }
4
+
5
+ .avatar {
6
+ $width: 36px;
7
+ $status-width: 10px;
8
+ @include avatar($width,$status-width);
9
+ }
10
+
11
+ .avatar.avatar-xs {
12
+ $width: 20px;
13
+ $status-width: 8px;
14
+ @include avatar($width,$status-width);
15
+ }
16
+
17
+ .avatar.avatar-sm {
18
+ $width: 24px;
19
+ $status-width: 8px;
20
+ @include avatar($width,$status-width);
21
+ }
22
+
23
+ .avatar.avatar-lg {
24
+ $width: 72px;
25
+ $status-width: 12px;
26
+ @include avatar($width,$status-width);
27
+ }
28
+
29
+ .avatars-stack {
30
+ .avatar.avatar-xs {
31
+ margin-right: -10px;
32
+ }
33
+
34
+ // .avatar.avatar-sm {
35
+ //
36
+ // }
37
+
38
+ .avatar {
39
+ margin-right: -15px;
40
+ transition: margin-left $layout-transition-speed, margin-right $layout-transition-speed;
41
+
42
+ &:hover {
43
+ margin-right: 0;
44
+ }
45
+ }
46
+
47
+ // .avatar.avatar-lg {
48
+ //
49
+ // }
50
+
51
+ }
@@ -0,0 +1,3 @@
1
+ .badge-pill {
2
+ border-radius: $badge-pill-border-radius;
3
+ }
@@ -0,0 +1,51 @@
1
+ //
2
+ // Base styles
3
+ //
4
+
5
+ .brand-card {
6
+ position: relative;
7
+ display: flex;
8
+ min-width: 0;
9
+ flex-direction: column;
10
+ margin-bottom: ($spacer * 1.5);
11
+ word-wrap: break-word;
12
+ background-color: $card-bg;
13
+ background-clip: border-box;
14
+ border: $card-border-width solid $card-border-color;
15
+ @include border-radius($card-border-radius);
16
+ }
17
+
18
+ .brand-card-header {
19
+ position: relative;
20
+ display: flex;
21
+ height: 6rem;
22
+ justify-content: center;
23
+ align-items: center;
24
+
25
+ i {
26
+ font-size: 2rem;
27
+ color: #fff;
28
+ }
29
+
30
+ .chart-wrapper {
31
+ position: absolute;
32
+ width: 100%;
33
+ height: 100%;
34
+ }
35
+ }
36
+
37
+ .brand-card-body {
38
+ display: flex;
39
+ flex-direction: row;
40
+ padding: $card-spacer-y 0;
41
+ text-align: center;
42
+
43
+ > * {
44
+ flex: 1;
45
+ padding: ($card-spacer-y * .25) 0;
46
+ }
47
+
48
+ > *:not(:last-child) {
49
+ border-right: 1px solid $border-color;
50
+ }
51
+ }
@@ -0,0 +1,47 @@
1
+ // Brands Buttons
2
+
3
+ .btn-brand {
4
+ border: 0;
5
+ i {
6
+ display: inline-block;
7
+ width: (($btn-padding-y * 2) + ($font-size-base * $btn-line-height));
8
+ margin: (- $btn-padding-y) (- $btn-padding-x);
9
+ line-height: (($btn-padding-y * 2) + ($font-size-base * $btn-line-height));
10
+ text-align: center;
11
+ background-color: rgba(0, 0, 0, .2);
12
+ }
13
+
14
+ i + span {
15
+ margin-left: ($btn-padding-x * 2);
16
+ }
17
+
18
+ &.btn-lg {
19
+ i {
20
+ width: (($btn-padding-y-lg * 2) + ($font-size-lg * $btn-line-height-lg));
21
+ margin: (- $btn-padding-y-lg) (- $btn-padding-x-lg);
22
+ line-height: (($btn-padding-y-lg * 2) + ($font-size-lg * $btn-line-height-lg));
23
+ }
24
+
25
+ i + span {
26
+ margin-left: ($btn-padding-x-lg * 2);
27
+ }
28
+ }
29
+
30
+ &.btn-sm {
31
+ i {
32
+ width: (($btn-padding-y-sm * 2) + ($font-size-sm * $btn-line-height-sm));
33
+ margin: (- $btn-padding-y-sm) (- $btn-padding-x-sm);
34
+ line-height: (($btn-padding-y-sm * 2) + ($font-size-sm * $btn-line-height-sm));
35
+ }
36
+
37
+ i + span {
38
+ margin-left: ($btn-padding-x-sm * 2);
39
+ }
40
+ }
41
+ }
42
+
43
+ @each $color, $value in $brands-colors {
44
+ .btn-#{$color} {
45
+ @include button-variant($value, $value);
46
+ }
47
+ }
@@ -0,0 +1,36 @@
1
+ .breadcrumb-menu {
2
+ margin-left: auto;
3
+
4
+ &::before {
5
+ display: none;
6
+ }
7
+
8
+ .btn-group {
9
+ vertical-align: top;
10
+ }
11
+
12
+ .btn {
13
+ padding: 0 $input-btn-padding-x;
14
+ color: $text-muted;
15
+ vertical-align: top;
16
+ border: 0;
17
+
18
+ &:hover,
19
+ &.active {
20
+ color: $body-color;
21
+ background: transparent;
22
+ }
23
+ }
24
+
25
+ .open {
26
+ .btn {
27
+ color: $body-color;
28
+ background: transparent;
29
+ }
30
+ }
31
+
32
+ .dropdown-menu {
33
+ min-width: 180px;
34
+ line-height: $line-height-base;
35
+ }
36
+ }