coreui-rails 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +27 -0
- data/LICENSE +21 -0
- data/README.md +40 -0
- data/Rakefile +2 -0
- data/app/assets/stylesheets/_bootstrap-variables.scss +119 -0
- data/app/assets/stylesheets/_coreui-variables.scss +1 -0
- data/app/assets/stylesheets/_custom.scss +1 -0
- data/app/assets/stylesheets/bootstrap/_alert.scss +51 -0
- data/app/assets/stylesheets/bootstrap/_badge.scss +47 -0
- data/app/assets/stylesheets/bootstrap/_breadcrumb.scss +38 -0
- data/app/assets/stylesheets/bootstrap/_button-group.scss +166 -0
- data/app/assets/stylesheets/bootstrap/_buttons.scss +143 -0
- data/app/assets/stylesheets/bootstrap/_card.scss +270 -0
- data/app/assets/stylesheets/bootstrap/_carousel.scss +191 -0
- data/app/assets/stylesheets/bootstrap/_close.scss +34 -0
- data/app/assets/stylesheets/bootstrap/_code.scss +56 -0
- data/app/assets/stylesheets/bootstrap/_custom-forms.scss +297 -0
- data/app/assets/stylesheets/bootstrap/_dropdown.scss +131 -0
- data/app/assets/stylesheets/bootstrap/_forms.scss +333 -0
- data/app/assets/stylesheets/bootstrap/_functions.scss +86 -0
- data/app/assets/stylesheets/bootstrap/_grid.scss +52 -0
- data/app/assets/stylesheets/bootstrap/_images.scss +42 -0
- data/app/assets/stylesheets/bootstrap/_input-group.scss +159 -0
- data/app/assets/stylesheets/bootstrap/_jumbotron.scss +16 -0
- data/app/assets/stylesheets/bootstrap/_list-group.scss +115 -0
- data/app/assets/stylesheets/bootstrap/_media.scss +8 -0
- data/app/assets/stylesheets/bootstrap/_mixins.scss +42 -0
- data/app/assets/stylesheets/bootstrap/_modal.scss +168 -0
- data/app/assets/stylesheets/bootstrap/_nav.scss +118 -0
- data/app/assets/stylesheets/bootstrap/_navbar.scss +311 -0
- data/app/assets/stylesheets/bootstrap/_pagination.scss +77 -0
- data/app/assets/stylesheets/bootstrap/_popover.scss +183 -0
- data/app/assets/stylesheets/bootstrap/_print.scss +124 -0
- data/app/assets/stylesheets/bootstrap/_progress.scss +33 -0
- data/app/assets/stylesheets/bootstrap/_reboot.scss +482 -0
- data/app/assets/stylesheets/bootstrap/_root.scss +19 -0
- data/app/assets/stylesheets/bootstrap/_tables.scss +180 -0
- data/app/assets/stylesheets/bootstrap/_tooltip.scss +115 -0
- data/app/assets/stylesheets/bootstrap/_transitions.scss +36 -0
- data/app/assets/stylesheets/bootstrap/_type.scss +125 -0
- data/app/assets/stylesheets/bootstrap/_utilities.scss +14 -0
- data/app/assets/stylesheets/bootstrap/_variables.scss +894 -0
- data/app/assets/stylesheets/bootstrap/bootstrap-grid.scss +32 -0
- data/app/assets/stylesheets/bootstrap/bootstrap-reboot.scss +12 -0
- data/app/assets/stylesheets/bootstrap/bootstrap.scss +42 -0
- data/app/assets/stylesheets/bootstrap/mixins/_alert.scss +13 -0
- data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +21 -0
- data/app/assets/stylesheets/bootstrap/mixins/_badge.scss +12 -0
- data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +35 -0
- data/app/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +5 -0
- data/app/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +123 -0
- data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +109 -0
- data/app/assets/stylesheets/bootstrap/mixins/_caret.scss +65 -0
- data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +7 -0
- data/app/assets/stylesheets/bootstrap/mixins/_float.scss +11 -0
- data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +137 -0
- data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +45 -0
- data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +67 -0
- data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +52 -0
- data/app/assets/stylesheets/bootstrap/mixins/_hover.scss +39 -0
- data/app/assets/stylesheets/bootstrap/mixins/_image.scss +36 -0
- data/app/assets/stylesheets/bootstrap/mixins/_list-group.scss +21 -0
- data/app/assets/stylesheets/bootstrap/mixins/_lists.scss +7 -0
- data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/app/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +10 -0
- data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +22 -0
- data/app/assets/stylesheets/bootstrap/mixins/_reset-text.scss +17 -0
- data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/app/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +35 -0
- data/app/assets/stylesheets/bootstrap/mixins/_size.scss +6 -0
- data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +30 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +14 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-hide.scss +9 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-truncate.scss +8 -0
- data/app/assets/stylesheets/bootstrap/mixins/_transition.scss +9 -0
- data/app/assets/stylesheets/bootstrap/mixins/_visibility.scss +7 -0
- data/app/assets/stylesheets/bootstrap/utilities/_align.scss +8 -0
- data/app/assets/stylesheets/bootstrap/utilities/_background.scss +19 -0
- data/app/assets/stylesheets/bootstrap/utilities/_borders.scss +59 -0
- data/app/assets/stylesheets/bootstrap/utilities/_clearfix.scss +3 -0
- data/app/assets/stylesheets/bootstrap/utilities/_display.scss +38 -0
- data/app/assets/stylesheets/bootstrap/utilities/_embed.scss +52 -0
- data/app/assets/stylesheets/bootstrap/utilities/_flex.scss +46 -0
- data/app/assets/stylesheets/bootstrap/utilities/_float.scss +9 -0
- data/app/assets/stylesheets/bootstrap/utilities/_position.scss +36 -0
- data/app/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +11 -0
- data/app/assets/stylesheets/bootstrap/utilities/_sizing.scss +12 -0
- data/app/assets/stylesheets/bootstrap/utilities/_spacing.scss +51 -0
- data/app/assets/stylesheets/bootstrap/utilities/_text.scss +52 -0
- data/app/assets/stylesheets/bootstrap/utilities/_visibility.scss +11 -0
- data/app/assets/stylesheets/coreui-free.scss +18 -0
- data/app/assets/stylesheets/coreui/_animate.scss +27 -0
- data/app/assets/stylesheets/coreui/_aside.scss +64 -0
- data/app/assets/stylesheets/coreui/_avatars.scss +51 -0
- data/app/assets/stylesheets/coreui/_badge.scss +3 -0
- data/app/assets/stylesheets/coreui/_brand-card.scss +51 -0
- data/app/assets/stylesheets/coreui/_brands-buttons.scss +47 -0
- data/app/assets/stylesheets/coreui/_breadcrumb-menu.scss +36 -0
- data/app/assets/stylesheets/coreui/_breadcrumb.scss +4 -0
- data/app/assets/stylesheets/coreui/_buttons.scss +18 -0
- data/app/assets/stylesheets/coreui/_callout.scss +55 -0
- data/app/assets/stylesheets/coreui/_card.scss +107 -0
- data/app/assets/stylesheets/coreui/_charts.scss +7 -0
- data/app/assets/stylesheets/coreui/_deprecated.scss +175 -0
- data/app/assets/stylesheets/coreui/_dropdown-menu-right.scss +8 -0
- data/app/assets/stylesheets/coreui/_dropdown.scss +69 -0
- data/app/assets/stylesheets/coreui/_footer.scss +9 -0
- data/app/assets/stylesheets/coreui/_grid.scss +15 -0
- data/app/assets/stylesheets/coreui/_input-group.scss +6 -0
- data/app/assets/stylesheets/coreui/_layout.scss +399 -0
- data/app/assets/stylesheets/coreui/_loading.scss +128 -0
- data/app/assets/stylesheets/coreui/_mixins.scss +116 -0
- data/app/assets/stylesheets/coreui/_modal.scss +13 -0
- data/app/assets/stylesheets/coreui/_nav.scss +35 -0
- data/app/assets/stylesheets/coreui/_navbar.scss +135 -0
- data/app/assets/stylesheets/coreui/_others.scss +4 -0
- data/app/assets/stylesheets/coreui/_progress-group.scss +40 -0
- data/app/assets/stylesheets/coreui/_progress.scss +15 -0
- data/app/assets/stylesheets/coreui/_rtl.scss +281 -0
- data/app/assets/stylesheets/coreui/_sidebar.scss +454 -0
- data/app/assets/stylesheets/coreui/_switches.scss +301 -0
- data/app/assets/stylesheets/coreui/_tables.scss +20 -0
- data/app/assets/stylesheets/coreui/_temp.scss +39 -0
- data/app/assets/stylesheets/coreui/_utilities.scss +4 -0
- data/app/assets/stylesheets/coreui/_variables.scss +243 -0
- data/app/assets/stylesheets/coreui/_widgets.scss +79 -0
- data/app/assets/stylesheets/coreui/coreui.scss +47 -0
- data/app/assets/stylesheets/coreui/utilities/_background.scss +20 -0
- data/app/assets/stylesheets/coreui/utilities/_borders.scss +18 -0
- data/app/assets/stylesheets/coreui/utilities/_display.scss +18 -0
- data/app/assets/stylesheets/coreui/utilities/_typography.scss +46 -0
- data/coreui-rails.gemspec +19 -0
- data/lib/coreui_rails.rb +4 -0
- data/lib/coreui_rails/version.rb +3 -0
- metadata +195 -0
@@ -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,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,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
|
+
}
|