viniBaxter-desk_front 25 → 32.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/viniBaxter/desk_front/version.rb +6 -1
- data/lib/viniBaxter/sass/desk_front.scss +6 -7
- data/lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss +28 -126
- data/lib/viniBaxter/sass/desk_front/administrate/base/_layout.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss +0 -7
- data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +6 -27
- data/lib/viniBaxter/sass/desk_front/administrate/base/_typography.scss +5 -50
- data/lib/viniBaxter/sass/desk_front/administrate/components/_attributes.scss +1 -3
- data/lib/viniBaxter/sass/desk_front/administrate/components/_cells.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/administrate/components/_flashes.scss +4 -4
- data/lib/viniBaxter/sass/desk_front/administrate/components/_main-content.scss +1 -10
- data/lib/viniBaxter/sass/desk_front/administrate/components/_navigation.scss +1 -22
- data/lib/viniBaxter/sass/desk_front/administrate/components/_pagination.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/administrate/index.scss +6 -18
- data/lib/viniBaxter/sass/desk_front/administrate/library/_clearfix.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/administrate/library/_customSelectize.scss +27 -26
- data/lib/viniBaxter/sass/desk_front/administrate/reset/_normalize.scss +79 -40
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_functions.scss +6 -6
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_index.scss +2 -80
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_mixins.scss +19 -15
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_new_nav.scss +1 -9
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/_dropdown.scss +0 -16
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom-components/_index.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/_misc.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom-components/_navbar.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/_pagination.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom-components/_white-content.scss +519 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-animation-on-hover.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-chart.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-collapse.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-contributions.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-lock.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-map.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-plain.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-pricing.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-profile.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-register.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom-components/cards/_card-stats.scss +82 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-subcategories.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-task.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-testimonials.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-user.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{cards → custom-components/cards}/_card-wizard.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom-components/cards/_index.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom-components/vendor/_index.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-animate-bootstrap-notify.scss +25 -48
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-bootstrap-select.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-bootstrap-switch.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-card-wizard.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom-components/vendor/_plugin-datatables-net.scss +1119 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-datetimepicker.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-jasny-fileupload.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom/vendor/_plugin-jquery.jvectormap.scss → custom-components/vendor/_plugin-jquery-jvectormap.scss} +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-new-bootstrap-select.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-nouislider.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-perfect-scrollbar.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/{custom → custom-components}/vendor/_plugin-tagsinput.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_buttons.scss +358 -300
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_caret-color.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup-normal.scss +139 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup-ntf.scss +146 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_dropdown.scss +16 -18
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_index.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_misc.scss +12 -5
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_navbar.scss +255 -199
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_sidebar-and-main-panel.scss +195 -200
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_white-content.scss +41 -8
- data/lib/viniBaxter/sass/desk_front/bootstrap/_buttons.scss +65 -27
- data/lib/viniBaxter/sass/desk_front/bootstrap/_card.scss +9 -8
- data/lib/viniBaxter/sass/desk_front/bootstrap/_custom-forms.scss +84 -51
- data/lib/viniBaxter/sass/desk_front/bootstrap/_grid.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap/_list-group.scss +8 -7
- data/lib/viniBaxter/sass/desk_front/bootstrap/_modal.scss +7 -15
- data/lib/viniBaxter/sass/desk_front/bootstrap/_reboot.scss +2 -1
- data/lib/viniBaxter/sass/desk_front/bootstrap/bootstrap.scss +1 -2
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_badge.scss +4 -3
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_mixins.scss +0 -5
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_background.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/theme.scss +1 -1
- metadata +44 -118
- data/lib/viniBaxter/sass/desk_front/administrate/components/_buttons.scss +0 -51
- data/lib/viniBaxter/sass/desk_front/administrate/components/_field-unit.scss +0 -45
- data/lib/viniBaxter/sass/desk_front/administrate/components/_form-actions.scss +0 -3
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-stats-mini.scss +0 -53
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-stats.scss +0 -80
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_alerts.scss +0 -89
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_avatars.scss +0 -53
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_badge.scss +0 -25
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_buttons.scss +0 -314
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_card.scss +0 -228
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_checkboxes-radio.scss +0 -154
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_close.scss +0 -29
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_custom-forms.scss +0 -186
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_example-pages.scss +0 -319
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_fixed-plugin.scss +0 -335
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_footer.scss +0 -109
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_forms.scss +0 -146
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_functions.scss +0 -23
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_global.scss +0 -172
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_grid.scss +0 -5
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_icons.scss +0 -92
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_images.scss +0 -7
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_info-areas.scss +0 -170
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_input-group.scss +0 -342
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_mixins.scss +0 -15
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_modal.scss +0 -257
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_nav.scss +0 -85
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_navbar.scss +0 -479
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_pills.scss +0 -169
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_popover.scss +0 -14
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_progress.scss +0 -103
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_reboot.scss +0 -18
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_rtl.scss +0 -268
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_sidebar-and-main-panel.scss +0 -914
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_tables.scss +0 -248
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_tabs.scss +0 -110
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_timeline.scss +0 -251
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_type.scss +0 -166
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_utilities.scss +0 -9
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_variables.scss +0 -1009
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_white-content.scss +0 -491
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-animation-on-hover.scss +0 -7
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-chart.scss +0 -84
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-collapse.scss +0 -51
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-contributions.scss +0 -55
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-lock.scss +0 -18
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-map.scss +0 -3
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-plain.scss +0 -16
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-pricing.scss +0 -190
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-profile.scss +0 -49
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-register.scss +0 -79
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-stats-mini.scss +0 -53
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-stats.scss +0 -80
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-subcategories.scss +0 -3
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-task.scss +0 -31
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-testimonials.scss +0 -46
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-user.scss +0 -77
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-wizard.scss +0 -21
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_alert.scss +0 -14
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_background-variant.scss +0 -18
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_badges.scss +0 -15
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_buttons.scss +0 -357
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_dropdown.scss +0 -26
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_forms.scss +0 -127
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_icon.scss +0 -4
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_inputs.scss +0 -234
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_modals.scss +0 -15
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_page-header.scss +0 -7
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_popovers.scss +0 -41
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_vendor-prefixes.scss +0 -200
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_wizard.scss +0 -26
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/opacity.scss +0 -8
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_backgrounds.scss +0 -42
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_floating.scss +0 -54
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_helper.scss +0 -62
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_position.scss +0 -19
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_shadows.scss +0 -10
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_sizing.scss +0 -5
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_spacing.scss +0 -105
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_text.scss +0 -40
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_transform.scss +0 -8
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-datatables.net.scss +0 -135
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-fullcalendar.scss +0 -1528
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-sweetalert2.scss +0 -711
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_fixed-plugin.scss +0 -335
- data/lib/viniBaxter/sass/desk_front/theme-dark.scss +0 -30
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,357 +1,415 @@
|
|
1
1
|
@mixin btn-styles($btn-color, $btn-states-color) {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
box-shadow: none;
|
6
|
-
|
7
|
-
&.animation-on-hover:hover {
|
8
|
-
background-position: bottom left;
|
9
|
-
transition: 0.3s ease-in-out;
|
10
|
-
}
|
11
|
-
|
12
|
-
&:hover,
|
13
|
-
&:focus,
|
14
|
-
&:active,
|
15
|
-
&.active,
|
16
|
-
&:active:focus,
|
17
|
-
&:active:hover,
|
18
|
-
&.active:focus,
|
19
|
-
&.active:hover {
|
20
|
-
background-color: $btn-states-color !important;
|
21
|
-
background-image: linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
22
|
-
background-image: -webkit-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
23
|
-
background-image: -o-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
24
|
-
background-image: -moz-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
25
|
-
color: $white;
|
2
|
+
@include diagonal-gradient($btn-color, $btn-states-color);
|
3
|
+
background-color: $btn-color;
|
4
|
+
transition: all 0.15s ease;
|
26
5
|
box-shadow: none;
|
27
|
-
}
|
28
|
-
|
29
|
-
&:active {
|
30
|
-
box-shadow: none !important;
|
31
|
-
transform: translateY(1px) !important;
|
32
|
-
transition: all .15s ease;
|
33
|
-
}
|
34
|
-
|
35
|
-
&:not([data-action]):hover {
|
36
6
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
&.disabled,
|
43
|
-
&:disabled,
|
44
|
-
&[disabled],
|
45
|
-
fieldset[disabled] & {
|
7
|
+
&.animation-on-hover:hover {
|
8
|
+
background-position: bottom left;
|
9
|
+
transition: 0.3s ease-in-out;
|
10
|
+
}
|
46
11
|
|
47
|
-
&,
|
48
12
|
&:hover,
|
49
13
|
&:focus,
|
50
|
-
&.focus,
|
51
14
|
&:active,
|
52
|
-
&.active {
|
53
|
-
background-color: $btn-color;
|
54
|
-
border-color: $btn-color;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
// btn-neutral style
|
59
|
-
@if $btn-color==$white {
|
60
|
-
color: $primary;
|
61
|
-
|
62
|
-
&.btn-danger {
|
63
|
-
color: $danger;
|
64
|
-
|
65
|
-
&:hover,
|
66
|
-
&:focus,
|
67
|
-
&:active,
|
68
|
-
&:active:focus {
|
69
|
-
color: $danger-states;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
&.btn-info {
|
74
|
-
color: $info;
|
75
|
-
|
76
|
-
&:hover,
|
77
|
-
&:focus,
|
78
|
-
&:active,
|
79
|
-
&:active:focus {
|
80
|
-
color: $info-states;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
&.btn-warning {
|
85
|
-
color: $warning;
|
86
|
-
|
87
|
-
&:hover,
|
88
|
-
&:focus,
|
89
|
-
&:active,
|
90
|
-
&:active:focus {
|
91
|
-
color: $warning-states;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
&.btn-success {
|
96
|
-
color: $success;
|
97
|
-
|
98
|
-
&:hover,
|
99
|
-
&:focus,
|
100
|
-
&:active,
|
101
|
-
&:active:focus {
|
102
|
-
color: $success-states;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
&.btn-default {
|
107
|
-
color: $default;
|
108
|
-
|
109
|
-
&:hover,
|
110
|
-
&:focus,
|
111
|
-
&:active,
|
112
|
-
&:active:focus {
|
113
|
-
color: $default-states;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
|
117
15
|
&.active,
|
118
|
-
&:active,
|
119
16
|
&:active:focus,
|
120
17
|
&:active:hover,
|
121
18
|
&.active:focus,
|
122
|
-
&.active:hover
|
123
|
-
.show>&.dropdown-toggle,
|
124
|
-
.show>&.dropdown-toggle:focus,
|
125
|
-
.show>&.dropdown-toggle:hover {
|
126
|
-
background-color: $white;
|
127
|
-
color: $primary-states;
|
128
|
-
box-shadow: none;
|
129
|
-
}
|
130
|
-
|
131
|
-
&:hover,
|
132
|
-
&:focus {
|
133
|
-
color: $primary-states;
|
134
|
-
|
135
|
-
&:not(.nav-link) {
|
136
|
-
box-shadow: none;
|
137
|
-
}
|
138
|
-
|
139
|
-
}
|
140
|
-
|
141
|
-
}
|
142
|
-
|
143
|
-
@else {
|
144
|
-
color: $white;
|
145
|
-
}
|
146
|
-
|
147
|
-
&.btn-simple {
|
148
|
-
color: $btn-color;
|
149
|
-
border-color: $btn-color;
|
150
|
-
background: $transparent-bg;
|
151
|
-
|
152
|
-
&:hover,
|
153
|
-
&:focus,
|
154
|
-
&:active,
|
155
|
-
&:not(:disabled):not(.disabled):active {
|
156
|
-
color: $btn-color;
|
157
|
-
border-color: $btn-color;
|
158
|
-
background-color: $transparent-bg !important;
|
159
|
-
background-image: none !important;
|
160
|
-
box-shadow: none;
|
161
|
-
}
|
162
|
-
|
163
|
-
&.active {
|
164
|
-
border-color: $btn-color !important;
|
165
|
-
|
166
|
-
&:hover,
|
167
|
-
&:focus,
|
168
|
-
&:active,
|
169
|
-
&:not(:disabled):not(.disabled):active {
|
170
|
-
color: $white;
|
171
|
-
border-color: $btn-color;
|
172
|
-
background-image: linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
173
|
-
background-image: -webkit-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
174
|
-
background-image: -o-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
175
|
-
background-image: -moz-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
19
|
+
&.active:hover {
|
176
20
|
background-color: $btn-states-color !important;
|
21
|
+
background-image: linear-gradient(
|
22
|
+
to bottom left,
|
23
|
+
$btn-color,
|
24
|
+
$btn-states-color,
|
25
|
+
$btn-color
|
26
|
+
) !important;
|
27
|
+
background-image: -webkit-linear-gradient(
|
28
|
+
to bottom left,
|
29
|
+
$btn-color,
|
30
|
+
$btn-states-color,
|
31
|
+
$btn-color
|
32
|
+
) !important;
|
33
|
+
background-image: -o-linear-gradient(
|
34
|
+
to bottom left,
|
35
|
+
$btn-color,
|
36
|
+
$btn-states-color,
|
37
|
+
$btn-color
|
38
|
+
) !important;
|
39
|
+
background-image: -moz-linear-gradient(
|
40
|
+
to bottom left,
|
41
|
+
$btn-color,
|
42
|
+
$btn-states-color,
|
43
|
+
$btn-color
|
44
|
+
) !important;
|
45
|
+
color: $white;
|
177
46
|
box-shadow: none;
|
178
|
-
}
|
179
47
|
}
|
180
|
-
}
|
181
48
|
|
182
|
-
&.btn-link {
|
183
|
-
color: $btn-color;
|
184
|
-
|
185
|
-
&:hover,
|
186
|
-
&:focus,
|
187
49
|
&:active {
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
text-decoration: none;
|
192
|
-
box-shadow: none;
|
50
|
+
box-shadow: none !important;
|
51
|
+
transform: translateY(1px) !important;
|
52
|
+
transition: all 0.15s ease;
|
193
53
|
}
|
194
|
-
}
|
195
|
-
}
|
196
54
|
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
55
|
+
&:not([data-action]):hover {
|
56
|
+
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
|
57
|
+
transform: translateY(-1px);
|
58
|
+
-webkit-transform: translateY(-1px);
|
59
|
+
}
|
202
60
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
61
|
+
&.disabled,
|
62
|
+
&:disabled,
|
63
|
+
&[disabled],
|
64
|
+
fieldset[disabled] & {
|
65
|
+
&,
|
66
|
+
&:hover,
|
67
|
+
&:focus,
|
68
|
+
&.focus,
|
69
|
+
&:active,
|
70
|
+
&.active {
|
71
|
+
background-color: $btn-color;
|
72
|
+
border-color: $btn-color;
|
73
|
+
}
|
74
|
+
}
|
208
75
|
|
209
|
-
|
210
|
-
|
76
|
+
// btn-neutral style
|
77
|
+
@if $btn-color==$white {
|
78
|
+
color: $primary;
|
79
|
+
|
80
|
+
&.btn-danger {
|
81
|
+
color: $danger;
|
82
|
+
|
83
|
+
&:hover,
|
84
|
+
&:focus,
|
85
|
+
&:active,
|
86
|
+
&:active:focus {
|
87
|
+
color: $danger-states;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
&.btn-info {
|
92
|
+
color: $info;
|
93
|
+
|
94
|
+
&:hover,
|
95
|
+
&:focus,
|
96
|
+
&:active,
|
97
|
+
&:active:focus {
|
98
|
+
color: $info-states;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
&.btn-warning {
|
103
|
+
color: $warning;
|
104
|
+
|
105
|
+
&:hover,
|
106
|
+
&:focus,
|
107
|
+
&:active,
|
108
|
+
&:active:focus {
|
109
|
+
color: $warning-states;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
&.btn-success {
|
114
|
+
color: $success;
|
115
|
+
|
116
|
+
&:hover,
|
117
|
+
&:focus,
|
118
|
+
&:active,
|
119
|
+
&:active:focus {
|
120
|
+
color: $success-states;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
&.btn-default {
|
125
|
+
color: $default;
|
126
|
+
|
127
|
+
&:hover,
|
128
|
+
&:focus,
|
129
|
+
&:active,
|
130
|
+
&:active:focus {
|
131
|
+
color: $default-states;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
&.active,
|
136
|
+
&:active,
|
137
|
+
&:active:focus,
|
138
|
+
&:active:hover,
|
139
|
+
&.active:focus,
|
140
|
+
&.active:hover,
|
141
|
+
.show > &.dropdown-toggle,
|
142
|
+
.show > &.dropdown-toggle:focus,
|
143
|
+
.show > &.dropdown-toggle:hover {
|
144
|
+
background-color: $white;
|
145
|
+
color: $primary-states;
|
146
|
+
box-shadow: none;
|
147
|
+
}
|
148
|
+
|
149
|
+
&:hover,
|
150
|
+
&:focus {
|
151
|
+
color: $primary-states;
|
152
|
+
|
153
|
+
&:not(.nav-link) {
|
154
|
+
box-shadow: none;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
} @else {
|
158
|
+
color: $white;
|
159
|
+
}
|
211
160
|
|
212
|
-
|
213
|
-
|
214
|
-
|
161
|
+
&.btn-simple {
|
162
|
+
color: $btn-color;
|
163
|
+
border-color: $btn-color;
|
164
|
+
background: $transparent-bg;
|
165
|
+
|
166
|
+
&:hover,
|
167
|
+
&:focus,
|
168
|
+
&:active,
|
169
|
+
&:not(:disabled):not(.disabled):active {
|
170
|
+
color: $btn-color;
|
171
|
+
border-color: $btn-color;
|
172
|
+
background-color: $transparent-bg !important;
|
173
|
+
background-image: none !important;
|
174
|
+
box-shadow: none;
|
175
|
+
}
|
176
|
+
|
177
|
+
&.active {
|
178
|
+
border-color: $btn-color !important;
|
179
|
+
|
180
|
+
&:hover,
|
181
|
+
&:focus,
|
182
|
+
&:active,
|
183
|
+
&:not(:disabled):not(.disabled):active {
|
184
|
+
color: $white;
|
185
|
+
border-color: $btn-color;
|
186
|
+
background-image: linear-gradient(
|
187
|
+
to bottom left,
|
188
|
+
$btn-color,
|
189
|
+
$btn-states-color,
|
190
|
+
$btn-color
|
191
|
+
) !important;
|
192
|
+
background-image: -webkit-linear-gradient(
|
193
|
+
to bottom left,
|
194
|
+
$btn-color,
|
195
|
+
$btn-states-color,
|
196
|
+
$btn-color
|
197
|
+
) !important;
|
198
|
+
background-image: -o-linear-gradient(
|
199
|
+
to bottom left,
|
200
|
+
$btn-color,
|
201
|
+
$btn-states-color,
|
202
|
+
$btn-color
|
203
|
+
) !important;
|
204
|
+
background-image: -moz-linear-gradient(
|
205
|
+
to bottom left,
|
206
|
+
$btn-color,
|
207
|
+
$btn-states-color,
|
208
|
+
$btn-color
|
209
|
+
) !important;
|
210
|
+
background-color: $btn-states-color !important;
|
211
|
+
box-shadow: none;
|
212
|
+
}
|
213
|
+
}
|
215
214
|
}
|
216
215
|
|
217
|
-
|
218
|
-
|
216
|
+
&.btn-link {
|
217
|
+
color: $btn-color;
|
218
|
+
|
219
|
+
&:hover,
|
220
|
+
&:focus,
|
221
|
+
&:active {
|
222
|
+
background-color: $transparent-bg !important;
|
223
|
+
background-image: none !important;
|
224
|
+
color: $white !important;
|
225
|
+
text-decoration: none;
|
226
|
+
box-shadow: none;
|
227
|
+
}
|
219
228
|
}
|
220
|
-
|
229
|
+
}
|
221
230
|
|
222
|
-
|
223
|
-
|
224
|
-
|
231
|
+
@mixin button-variant(
|
232
|
+
$background,
|
233
|
+
$border,
|
234
|
+
$hover-background: darken($background, 0%),
|
235
|
+
$hover-border: darken($border, 0%),
|
236
|
+
$active-background: darken($background, 10%),
|
237
|
+
$active-border: darken($border, 0%)
|
238
|
+
) {
|
225
239
|
color: color-yiq($background);
|
226
|
-
|
240
|
+
@include gradient-bg($background);
|
227
241
|
border-color: $border;
|
228
|
-
|
242
|
+
@include box-shadow($btn-box-shadow);
|
229
243
|
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
background-color: $active-background;
|
235
|
-
|
236
|
-
@if $enable-gradients {
|
237
|
-
background-image: none; // Remove the gradient for the pressed/active state
|
244
|
+
@include hover {
|
245
|
+
color: color-yiq($hover-background);
|
246
|
+
@include gradient-bg($hover-background);
|
247
|
+
border-color: $hover-border;
|
238
248
|
}
|
239
249
|
|
240
|
-
|
241
|
-
|
242
|
-
|
250
|
+
&:focus,
|
251
|
+
&.focus {
|
252
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
253
|
+
@if $enable-shadows {
|
254
|
+
box-shadow: $btn-box-shadow, 0 0 0 $btn-focus-width rgba($border, 0.5);
|
255
|
+
} @else {
|
256
|
+
box-shadow: 0 0 0 $btn-focus-width rgba($border, 0.5);
|
257
|
+
}
|
258
|
+
}
|
243
259
|
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
260
|
+
// Disabled comes first so active can properly restyle
|
261
|
+
&.disabled,
|
262
|
+
&:disabled {
|
263
|
+
color: color-yiq($background);
|
264
|
+
background-color: $background;
|
265
|
+
border-color: $border;
|
266
|
+
}
|
248
267
|
|
249
|
-
|
250
|
-
|
251
|
-
|
268
|
+
&:not(:disabled):not(.disabled):active,
|
269
|
+
&:not(:disabled):not(.disabled).active,
|
270
|
+
.show > &.dropdown-toggle {
|
271
|
+
color: color-yiq($active-background);
|
272
|
+
background-color: $active-background;
|
273
|
+
|
274
|
+
@if $enable-gradients {
|
275
|
+
background-image: none; // Remove the gradient for the pressed/active state
|
276
|
+
}
|
277
|
+
|
278
|
+
border-color: $active-border;
|
279
|
+
|
280
|
+
&:focus {
|
281
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
282
|
+
@if $enable-shadows {
|
283
|
+
box-shadow: $btn-active-box-shadow,
|
284
|
+
0 0 0 $btn-focus-width rgba($border, 0.5);
|
285
|
+
} @else {
|
286
|
+
box-shadow: 0 0 0 $btn-focus-width rgba($border, 0.5);
|
287
|
+
}
|
288
|
+
}
|
252
289
|
}
|
253
|
-
}
|
254
290
|
}
|
255
291
|
|
256
|
-
@mixin button-outline-variant(
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
&:hover {
|
263
|
-
color: $color-hover;
|
264
|
-
background-color: $active-background;
|
265
|
-
border-color: $active-border;
|
266
|
-
}
|
267
|
-
|
268
|
-
&:focus,
|
269
|
-
&.focus {
|
270
|
-
box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
|
271
|
-
}
|
272
|
-
|
273
|
-
&.disabled,
|
274
|
-
&:disabled {
|
292
|
+
@mixin button-outline-variant(
|
293
|
+
$color,
|
294
|
+
$color-hover: color-yiq($color),
|
295
|
+
$active-background: $color,
|
296
|
+
$active-border: $color
|
297
|
+
) {
|
275
298
|
color: $color;
|
276
299
|
background-color: transparent;
|
277
|
-
|
300
|
+
background-image: none;
|
301
|
+
border-color: $color;
|
278
302
|
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
border-color: $active-border;
|
303
|
+
&:hover {
|
304
|
+
color: $color-hover;
|
305
|
+
background-color: $active-background;
|
306
|
+
border-color: $active-border;
|
307
|
+
}
|
285
308
|
|
286
|
-
&:focus
|
309
|
+
&:focus,
|
310
|
+
&.focus {
|
311
|
+
box-shadow: 0 0 0 $btn-focus-width rgba($color, 0.5);
|
312
|
+
}
|
287
313
|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
314
|
+
&.disabled,
|
315
|
+
&:disabled {
|
316
|
+
color: $color;
|
317
|
+
background-color: transparent;
|
318
|
+
}
|
292
319
|
|
293
|
-
|
294
|
-
|
295
|
-
|
320
|
+
&:not(:disabled):not(.disabled):active,
|
321
|
+
&:not(:disabled):not(.disabled).active,
|
322
|
+
.show > &.dropdown-toggle {
|
323
|
+
color: color-yiq($active-background);
|
324
|
+
background-color: $active-background;
|
325
|
+
border-color: $active-border;
|
326
|
+
|
327
|
+
&:focus {
|
328
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
329
|
+
@if $enable-shadows and $btn-active-box-shadow !=none {
|
330
|
+
box-shadow: $btn-active-box-shadow,
|
331
|
+
0 0 0 $btn-focus-width rgba($color, 0.5);
|
332
|
+
} @else {
|
333
|
+
box-shadow: 0 0 0 $btn-focus-width rgba($color, 0.5);
|
334
|
+
}
|
335
|
+
}
|
296
336
|
}
|
297
|
-
}
|
298
337
|
}
|
299
338
|
|
300
339
|
// Button sizes
|
301
340
|
@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border) {
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
&.btn-simple {
|
307
|
-
padding: $padding-vertical - 1 $padding-horizontal - 1;
|
308
|
-
}
|
341
|
+
font-size: $font-size;
|
342
|
+
border-radius: $border;
|
343
|
+
padding: $padding-vertical $padding-horizontal;
|
309
344
|
|
345
|
+
&.btn-simple {
|
346
|
+
padding: $padding-vertical - 1 $padding-horizontal - 1;
|
347
|
+
}
|
310
348
|
}
|
311
349
|
|
312
350
|
// for social buttons
|
313
|
-
@mixin social-buttons-color
|
314
|
-
|
315
|
-
|
316
|
-
color: $white;
|
317
|
-
background-size: 210% 210%;
|
318
|
-
background-position: top right;
|
319
|
-
background-repeat: space;
|
320
|
-
|
321
|
-
&:focus,
|
322
|
-
&:active,
|
323
|
-
&:hover {
|
324
|
-
background-color: $state-color;
|
325
|
-
background-image: linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
326
|
-
background-image: -webkit-linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
327
|
-
background-image: -o-linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
328
|
-
background-image: -moz-linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
351
|
+
@mixin social-buttons-color($color, $state-color) {
|
352
|
+
@include diagonal-gradient($color, darken($color, 20%));
|
353
|
+
//background-color: $color;
|
329
354
|
color: $white;
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
color: $state-color;
|
334
|
-
background-color: $transparent-bg;
|
335
|
-
background-image: none !important;
|
336
|
-
box-shadow: none;
|
337
|
-
border-color: $state-color;
|
355
|
+
background-size: 210% 210%;
|
356
|
+
background-position: top right;
|
357
|
+
background-repeat: space;
|
338
358
|
|
339
|
-
&:hover,
|
340
359
|
&:focus,
|
341
|
-
&:active
|
342
|
-
|
343
|
-
|
360
|
+
&:active,
|
361
|
+
&:hover {
|
362
|
+
background-color: $state-color;
|
363
|
+
background-image: linear-gradient(
|
364
|
+
to bottom left,
|
365
|
+
$color,
|
366
|
+
darken($color, 20%),
|
367
|
+
$color
|
368
|
+
) !important;
|
369
|
+
background-image: -webkit-linear-gradient(
|
370
|
+
to bottom left,
|
371
|
+
$color,
|
372
|
+
darken($color, 20%),
|
373
|
+
$color
|
374
|
+
) !important;
|
375
|
+
background-image: -o-linear-gradient(
|
376
|
+
to bottom left,
|
377
|
+
$color,
|
378
|
+
darken($color, 20%),
|
379
|
+
$color
|
380
|
+
) !important;
|
381
|
+
background-image: -moz-linear-gradient(
|
382
|
+
to bottom left,
|
383
|
+
$color,
|
384
|
+
darken($color, 20%),
|
385
|
+
$color
|
386
|
+
) !important;
|
387
|
+
color: $white;
|
344
388
|
}
|
345
|
-
}
|
346
389
|
|
347
|
-
|
348
|
-
|
349
|
-
|
390
|
+
&.btn-simple {
|
391
|
+
color: $state-color;
|
392
|
+
background-color: $transparent-bg;
|
393
|
+
background-image: none !important;
|
394
|
+
box-shadow: none;
|
395
|
+
border-color: $state-color;
|
396
|
+
|
397
|
+
&:hover,
|
398
|
+
&:focus,
|
399
|
+
&:active {
|
400
|
+
color: $state-color;
|
401
|
+
border-color: $state-color;
|
402
|
+
}
|
403
|
+
}
|
350
404
|
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
405
|
+
&.btn-neutral {
|
406
|
+
color: $color;
|
407
|
+
background-color: $white;
|
408
|
+
|
409
|
+
&:hover,
|
410
|
+
&:focus,
|
411
|
+
&:active {
|
412
|
+
color: $state-color;
|
413
|
+
}
|
355
414
|
}
|
356
|
-
|
357
|
-
}
|
415
|
+
}
|