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,18 @@
|
|
1
|
+
button {
|
2
|
+
cursor: pointer;
|
3
|
+
}
|
4
|
+
|
5
|
+
.btn-transparent {
|
6
|
+
color: #fff;
|
7
|
+
background-color: transparent;
|
8
|
+
border-color: transparent;
|
9
|
+
}
|
10
|
+
|
11
|
+
.btn {
|
12
|
+
[class^="icon-"],
|
13
|
+
[class*=" icon-"] {
|
14
|
+
display: inline-block;
|
15
|
+
margin-top: -2px;
|
16
|
+
vertical-align: middle;
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.callout {
|
2
|
+
position: relative;
|
3
|
+
padding: 0 $spacer;
|
4
|
+
margin: $spacer 0;
|
5
|
+
border: 0 solid $border-color;
|
6
|
+
border-left-width: .25rem;
|
7
|
+
|
8
|
+
@if $enable-rounded {
|
9
|
+
border-radius: .25rem;
|
10
|
+
}
|
11
|
+
|
12
|
+
.chart-wrapper {
|
13
|
+
position: absolute;
|
14
|
+
top: 10px;
|
15
|
+
left: 50%;
|
16
|
+
float: right;
|
17
|
+
width: 50%;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.callout-bordered {
|
22
|
+
border: 1px solid $border-color;
|
23
|
+
border-left-width: .25rem;
|
24
|
+
}
|
25
|
+
.callout code {
|
26
|
+
border-radius: .25rem;
|
27
|
+
}
|
28
|
+
.callout h4 {
|
29
|
+
margin-top: 0;
|
30
|
+
margin-bottom: .25rem;
|
31
|
+
}
|
32
|
+
.callout p:last-child {
|
33
|
+
margin-bottom: 0;
|
34
|
+
}
|
35
|
+
.callout + .callout {
|
36
|
+
margin-top: - .25rem;
|
37
|
+
}
|
38
|
+
|
39
|
+
.callout-default {
|
40
|
+
border-left-color: $text-muted;
|
41
|
+
|
42
|
+
h4 {
|
43
|
+
color: $text-muted;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
@each $color, $value in $theme-colors {
|
48
|
+
.callout-#{$color} {
|
49
|
+
border-left-color: $value;
|
50
|
+
|
51
|
+
h4 {
|
52
|
+
color: $value;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
.card {
|
2
|
+
margin-bottom: ($spacer * 1.5);
|
3
|
+
|
4
|
+
// Cards with color accent
|
5
|
+
@each $color, $value in $theme-colors {
|
6
|
+
&.bg-#{$color} {
|
7
|
+
border-color: darken($value, 12.5%);
|
8
|
+
.card-header {
|
9
|
+
background-color: darken($value, 3%);
|
10
|
+
border-color: darken($value, 12.5%);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
&.drag,
|
16
|
+
.drag {
|
17
|
+
cursor: move;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.card-placeholder {
|
22
|
+
background: rgba(0, 0, 0, .025);
|
23
|
+
border: 1px dashed $gray-300;
|
24
|
+
}
|
25
|
+
|
26
|
+
.card-header {
|
27
|
+
> i {
|
28
|
+
margin-right: $spacer / 2;
|
29
|
+
}
|
30
|
+
|
31
|
+
.nav-tabs {
|
32
|
+
margin-top: -$card-spacer-y;
|
33
|
+
margin-bottom: -$card-spacer-y;
|
34
|
+
border-bottom: 0;
|
35
|
+
|
36
|
+
.nav-item {
|
37
|
+
border-top: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
.nav-link {
|
41
|
+
padding: $card-spacer-y ($card-spacer-x / 2);
|
42
|
+
color: $text-muted;
|
43
|
+
border-top: 0;
|
44
|
+
|
45
|
+
&.active {
|
46
|
+
color: $body-color;
|
47
|
+
background: #fff;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.card-header-icon-bg {
|
54
|
+
display: inline-block;
|
55
|
+
width: ($card-spacer-y * 2) + ($font-size-base * $line-height-base);
|
56
|
+
padding: $card-spacer-y 0;
|
57
|
+
margin: (- $card-spacer-y) $card-spacer-x (- $card-spacer-y) (- $card-spacer-x);
|
58
|
+
line-height: inherit;
|
59
|
+
color: $card-icon-color;
|
60
|
+
text-align: center;
|
61
|
+
background: $card-icon-bg;
|
62
|
+
border-right: $card-border-width solid $card-border-color;
|
63
|
+
}
|
64
|
+
|
65
|
+
.card-header-actions {
|
66
|
+
position: absolute;
|
67
|
+
top: 0;
|
68
|
+
right: 0;
|
69
|
+
display: inline-flex;
|
70
|
+
}
|
71
|
+
|
72
|
+
.card-header-action {
|
73
|
+
width: ($card-spacer-y * 2) + ($font-size-base * $line-height-base);
|
74
|
+
padding: $card-spacer-y 0;
|
75
|
+
color: $body-color;
|
76
|
+
text-align: center;
|
77
|
+
border-left: 1px solid $border-color;
|
78
|
+
|
79
|
+
&:hover {
|
80
|
+
text-decoration: none;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
|
85
|
+
// Cards with color accent
|
86
|
+
@each $color, $value in $theme-colors {
|
87
|
+
.card-accent-#{$color} {
|
88
|
+
@include card-accent-variant($value);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.card-full {
|
93
|
+
margin-top: - $spacer;
|
94
|
+
margin-right: - $grid-gutter-width / 2;
|
95
|
+
margin-left: - $grid-gutter-width / 2;
|
96
|
+
border: 0;
|
97
|
+
border-bottom: $card-border-width solid $border-color;
|
98
|
+
}
|
99
|
+
|
100
|
+
@include media-breakpoint-up(sm) {
|
101
|
+
.card-columns {
|
102
|
+
|
103
|
+
&.cols-2 {
|
104
|
+
column-count: 2;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
// stylelint-disable
|
2
|
+
.horizontal-bars {
|
3
|
+
padding: 0;
|
4
|
+
margin: 0;
|
5
|
+
list-style: none;
|
6
|
+
|
7
|
+
li {
|
8
|
+
position: relative;
|
9
|
+
height: 40px;
|
10
|
+
line-height: 40px;
|
11
|
+
vertical-align: middle;
|
12
|
+
|
13
|
+
.title {
|
14
|
+
width: 100px;
|
15
|
+
font-size: 12px;
|
16
|
+
font-weight: 600;
|
17
|
+
color: $text-muted;
|
18
|
+
vertical-align: middle;
|
19
|
+
}
|
20
|
+
|
21
|
+
.bars {
|
22
|
+
position: absolute;
|
23
|
+
top: 15px;
|
24
|
+
width: 100%;
|
25
|
+
padding-left: 100px;
|
26
|
+
|
27
|
+
.progress:first-child {
|
28
|
+
margin-bottom: 2px;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&.legend {
|
33
|
+
text-align: center;
|
34
|
+
|
35
|
+
.badge {
|
36
|
+
display: inline-block;
|
37
|
+
width: 8px;
|
38
|
+
height: 8px;
|
39
|
+
padding: 0;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
&.divider {
|
44
|
+
height: 40px;
|
45
|
+
|
46
|
+
i {
|
47
|
+
margin: 0 !important;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
&.type-2 {
|
53
|
+
|
54
|
+
li {
|
55
|
+
overflow: hidden;
|
56
|
+
|
57
|
+
i {
|
58
|
+
display: inline-block;
|
59
|
+
margin-right: $spacer;
|
60
|
+
margin-left: 5px;
|
61
|
+
font-size: 18px;
|
62
|
+
line-height: 40px;
|
63
|
+
}
|
64
|
+
|
65
|
+
.title {
|
66
|
+
display: inline-block;
|
67
|
+
width: auto;
|
68
|
+
margin-top: -9px;
|
69
|
+
font-size: $font-size-base;
|
70
|
+
font-weight: normal;
|
71
|
+
line-height: 40px;
|
72
|
+
color: $body-color;
|
73
|
+
}
|
74
|
+
|
75
|
+
.value {
|
76
|
+
float: right;
|
77
|
+
font-weight: 600;
|
78
|
+
}
|
79
|
+
|
80
|
+
.bars {
|
81
|
+
position: absolute;
|
82
|
+
top: auto;
|
83
|
+
bottom: 0;
|
84
|
+
padding: 0;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
// .social-box
|
92
|
+
.social-box {
|
93
|
+
min-height: 160px;
|
94
|
+
margin-bottom: 2 * $card-spacer-y;
|
95
|
+
text-align: center;
|
96
|
+
background: #fff;
|
97
|
+
border: $card-border-width solid $card-border-color;
|
98
|
+
@include border-radius($card-border-radius);
|
99
|
+
|
100
|
+
i {
|
101
|
+
display: block;
|
102
|
+
margin: -1px -1px 0;
|
103
|
+
font-size: 40px;
|
104
|
+
line-height: 90px;
|
105
|
+
background: $gray-200;
|
106
|
+
|
107
|
+
@include border-radius($card-border-radius $card-border-radius 0 0);
|
108
|
+
}
|
109
|
+
|
110
|
+
.chart-wrapper {
|
111
|
+
height: 90px;
|
112
|
+
margin: -90px 0 0;
|
113
|
+
|
114
|
+
canvas {
|
115
|
+
width: 100%;
|
116
|
+
height: 90px;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
ul {
|
121
|
+
padding: 10px 0;
|
122
|
+
list-style: none;
|
123
|
+
|
124
|
+
|
125
|
+
li {
|
126
|
+
display: block;
|
127
|
+
float: left;
|
128
|
+
width: 50%;
|
129
|
+
|
130
|
+
&:first-child {
|
131
|
+
border-right: 1px solid $border-color;
|
132
|
+
}
|
133
|
+
|
134
|
+
strong {
|
135
|
+
display: block;
|
136
|
+
font-size: 20px;
|
137
|
+
}
|
138
|
+
|
139
|
+
span {
|
140
|
+
font-size: 10px;
|
141
|
+
font-weight: 500;
|
142
|
+
color: $border-color;
|
143
|
+
text-transform: uppercase;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
&.facebook {
|
149
|
+
i {
|
150
|
+
color: #fff;
|
151
|
+
background: $facebook;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
&.twitter {
|
156
|
+
i {
|
157
|
+
color: #fff;
|
158
|
+
background: $twitter;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
&.linkedin {
|
163
|
+
i {
|
164
|
+
color: #fff;
|
165
|
+
background: $linkedin;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
&.google-plus {
|
170
|
+
i {
|
171
|
+
color: #fff;
|
172
|
+
background: $google-plus;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
// Links, buttons, and more within the dropdown menu
|
2
|
+
.dropdown-item {
|
3
|
+
position: relative;
|
4
|
+
padding: 10px 20px;
|
5
|
+
border-bottom: 1px solid $dropdown-border-color;
|
6
|
+
|
7
|
+
&:last-child {
|
8
|
+
border-bottom: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
i {
|
12
|
+
display: inline-block;
|
13
|
+
width: 20px;
|
14
|
+
margin-right: 10px;
|
15
|
+
margin-left: -10px;
|
16
|
+
color: $dropdown-border-color;
|
17
|
+
text-align: center;
|
18
|
+
}
|
19
|
+
|
20
|
+
.badge {
|
21
|
+
position: absolute;
|
22
|
+
right: 10px;
|
23
|
+
margin-top: 2px;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
// Dropdown section headers
|
28
|
+
.dropdown-header {
|
29
|
+
padding: 8px 20px;
|
30
|
+
background: $dropdown-divider-bg;
|
31
|
+
border-bottom: 1px solid $dropdown-border-color;
|
32
|
+
|
33
|
+
.btn {
|
34
|
+
margin-top: -7px;
|
35
|
+
color: $dropdown-header-color;
|
36
|
+
|
37
|
+
&:hover {
|
38
|
+
color: $body-color;
|
39
|
+
}
|
40
|
+
|
41
|
+
&.pull-right {
|
42
|
+
margin-right: -20px;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.dropdown-menu-lg {
|
48
|
+
width: 250px;
|
49
|
+
}
|
50
|
+
.app-header {
|
51
|
+
.navbar-nav {
|
52
|
+
.dropdown-menu {
|
53
|
+
position: absolute;
|
54
|
+
}
|
55
|
+
// Menu positioning
|
56
|
+
//
|
57
|
+
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
|
58
|
+
// menu with the parent.
|
59
|
+
.dropdown-menu-right {
|
60
|
+
right: 0;
|
61
|
+
left: auto; // Reset the default from `.dropdown-menu`
|
62
|
+
}
|
63
|
+
|
64
|
+
.dropdown-menu-left {
|
65
|
+
right: auto;
|
66
|
+
left: 0;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|