viniBaxter-desk_front 22.0.0 → 30.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/lib/viniBaxter/desk_front/version.rb +6 -1
  3. data/lib/viniBaxter/sass/desk_front.scss +5 -0
  4. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_index.scss +1 -1
  5. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_mixins.scss +19 -15
  6. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_new_nav.scss +9 -0
  7. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_variables.scss +923 -911
  8. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_white-content.scss +319 -291
  9. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup-normal.scss +139 -0
  10. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup-ntf.scss +146 -0
  11. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_nav-setup.scss +8 -0
  12. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/caret-color.scss +10 -0
  13. data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_dropdown.scss +372 -0
  14. data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_fixed-plugin.scss +335 -0
  15. data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_misc.scss +226 -0
  16. data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_navbar.scss +496 -0
  17. data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_sidebar-and-main-panel.scss +885 -0
  18. data/lib/viniBaxter/sass/desk_front/beckyBaxter/new_nav/_white-content.scss +69 -0
  19. data/lib/viniBaxter/sass/desk_front/bootstrap/_alert.scss +51 -0
  20. data/lib/viniBaxter/sass/desk_front/bootstrap/_badge.scss +54 -0
  21. data/lib/viniBaxter/sass/desk_front/bootstrap/_breadcrumb.scss +44 -0
  22. data/lib/viniBaxter/sass/desk_front/bootstrap/_button-group.scss +163 -0
  23. data/lib/viniBaxter/sass/desk_front/bootstrap/_buttons.scss +184 -0
  24. data/lib/viniBaxter/sass/desk_front/bootstrap/_card.scss +287 -0
  25. data/lib/viniBaxter/sass/desk_front/bootstrap/_carousel.scss +197 -0
  26. data/lib/viniBaxter/sass/desk_front/bootstrap/_close.scss +40 -0
  27. data/lib/viniBaxter/sass/desk_front/bootstrap/_code.scss +48 -0
  28. data/lib/viniBaxter/sass/desk_front/bootstrap/_custom-forms.scss +556 -0
  29. data/lib/viniBaxter/sass/desk_front/bootstrap/_dropdown.scss +192 -0
  30. data/lib/viniBaxter/sass/desk_front/bootstrap/_forms.scss +364 -0
  31. data/lib/viniBaxter/sass/desk_front/bootstrap/_grid.scss +72 -0
  32. data/lib/viniBaxter/sass/desk_front/bootstrap/_images.scss +42 -0
  33. data/lib/viniBaxter/sass/desk_front/bootstrap/_input-group.scss +192 -0
  34. data/lib/viniBaxter/sass/desk_front/bootstrap/_jumbotron.scss +17 -0
  35. data/lib/viniBaxter/sass/desk_front/bootstrap/_list-group.scss +153 -0
  36. data/lib/viniBaxter/sass/desk_front/bootstrap/_media.scss +8 -0
  37. data/lib/viniBaxter/sass/desk_front/bootstrap/_mixins.scss +47 -0
  38. data/lib/viniBaxter/sass/desk_front/bootstrap/_modal.scss +248 -0
  39. data/lib/viniBaxter/sass/desk_front/bootstrap/_nav.scss +123 -0
  40. data/lib/viniBaxter/sass/desk_front/bootstrap/_navbar.scss +318 -0
  41. data/lib/viniBaxter/sass/desk_front/bootstrap/_pagination.scss +74 -0
  42. data/lib/viniBaxter/sass/desk_front/bootstrap/_popover.scss +170 -0
  43. data/lib/viniBaxter/sass/desk_front/bootstrap/_print.scss +141 -0
  44. data/lib/viniBaxter/sass/desk_front/bootstrap/_progress.scss +47 -0
  45. data/lib/viniBaxter/sass/desk_front/bootstrap/_reboot.scss +497 -0
  46. data/lib/viniBaxter/sass/desk_front/bootstrap/_root.scss +20 -0
  47. data/lib/viniBaxter/sass/desk_front/bootstrap/_spinners.scss +56 -0
  48. data/lib/viniBaxter/sass/desk_front/bootstrap/_tables.scss +183 -0
  49. data/lib/viniBaxter/sass/desk_front/bootstrap/_toasts.scss +46 -0
  50. data/lib/viniBaxter/sass/desk_front/bootstrap/_tooltip.scss +115 -0
  51. data/lib/viniBaxter/sass/desk_front/bootstrap/_transitions.scss +20 -0
  52. data/lib/viniBaxter/sass/desk_front/bootstrap/_type.scss +149 -0
  53. data/lib/viniBaxter/sass/desk_front/bootstrap/_utilities.scss +18 -0
  54. data/lib/viniBaxter/sass/desk_front/bootstrap/bootstrap-grid.scss +29 -0
  55. data/lib/viniBaxter/sass/desk_front/bootstrap/bootstrap-reboot.scss +12 -0
  56. data/lib/viniBaxter/sass/desk_front/bootstrap/bootstrap.scss +43 -0
  57. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_alert.scss +13 -0
  58. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss +23 -0
  59. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_badge.scss +17 -0
  60. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_border-radius.scss +76 -0
  61. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_box-shadow.scss +20 -0
  62. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_breakpoints.scss +123 -0
  63. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_buttons.scss +153 -0
  64. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_caret.scss +62 -0
  65. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_clearfix.scss +7 -0
  66. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_deprecate.scss +10 -0
  67. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_float.scss +14 -0
  68. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_forms.scss +178 -0
  69. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_gradients.scss +45 -0
  70. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_grid-framework.scss +80 -0
  71. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_grid.scss +72 -0
  72. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_hover.scss +37 -0
  73. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_image.scss +36 -0
  74. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_list-group.scss +21 -0
  75. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_lists.scss +7 -0
  76. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_nav-divider.scss +11 -0
  77. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_pagination.scss +22 -0
  78. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_reset-text.scss +17 -0
  79. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_resize.scss +6 -0
  80. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_screen-reader.scss +34 -0
  81. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_size.scss +7 -0
  82. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_table-row.scss +39 -0
  83. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_text-emphasis.scss +17 -0
  84. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_text-hide.scss +11 -0
  85. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_text-truncate.scss +8 -0
  86. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_transition.scss +26 -0
  87. data/lib/viniBaxter/sass/desk_front/bootstrap/mixins/_visibility.scss +8 -0
  88. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_align.scss +8 -0
  89. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_background.scss +19 -0
  90. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_borders.scss +75 -0
  91. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_clearfix.scss +3 -0
  92. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_display.scss +26 -0
  93. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_embed.scss +39 -0
  94. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_flex.scss +51 -0
  95. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_float.scss +11 -0
  96. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_interactions.scss +5 -0
  97. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_overflow.scss +5 -0
  98. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_position.scss +34 -0
  99. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_screenreaders.scss +11 -0
  100. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_shadows.scss +6 -0
  101. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_sizing.scss +20 -0
  102. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_spacing.scss +73 -0
  103. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_stretched-link.scss +19 -0
  104. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_text.scss +72 -0
  105. data/lib/viniBaxter/sass/desk_front/bootstrap/utilities/_visibility.scss +13 -0
  106. data/lib/viniBaxter/sass/desk_front/bootstrap/vendor/_rfs.scss +204 -0
  107. data/lib/viniBaxter/sass/desk_front/dashkit/_dashkit.scss +2 -2
  108. data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +3 -7
  109. data/lib/viniBaxter/sass/desk_front/dashkit/_nav.scss +16 -15
  110. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_theme.scss +0 -52
  111. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_sizing.scss +2 -11
  112. data/lib/viniBaxter/sass/desk_front/theme-dark.scss +1 -1
  113. data/lib/viniBaxter/sass/desk_front/theme.scss +1 -11
  114. metadata +101 -44
  115. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_alert.scss +0 -18
  116. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_aos.scss +0 -32
  117. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_avatar.scss +0 -192
  118. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_button-group.scss +0 -0
  119. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_buttons.scss +0 -115
  120. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_carousel.scss +0 -0
  121. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_close.scss +0 -11
  122. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_code.scss +0 -0
  123. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_collapse.scss +0 -15
  124. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_custom-forms.scss +0 -65
  125. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_device.scss +0 -110
  126. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_dropdown.scss +0 -106
  127. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_fancybox.scss +0 -14
  128. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_feather.scss +0 -1093
  129. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_flickity.scss +0 -112
  130. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_footer.scss +0 -10
  131. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_forms.scss +0 -92
  132. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_grid.scss +0 -9
  133. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_highlight.scss +0 -8
  134. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_icon.scss +0 -56
  135. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_images.scss +0 -32
  136. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_input-group.scss +0 -0
  137. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_jumbotron.scss +0 -0
  138. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list-group.scss +0 -22
  139. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list.scss +0 -27
  140. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_media.scss +0 -0
  141. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_modal.scss +0 -21
  142. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_nav.scss +0 -0
  143. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_navbar.scss +0 -377
  144. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_pagination.scss +0 -34
  145. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_popover.scss +0 -15
  146. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_print.scss +0 -0
  147. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_progress.scss +0 -0
  148. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_reboot.scss +0 -17
  149. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_root.scss +0 -0
  150. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_screenshot.scss +0 -9
  151. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_section.scss +0 -19
  152. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_sidenav.scss +0 -28
  153. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tables.scss +0 -23
  154. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tooltip.scss +0 -0
  155. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_transitions.scss +0 -0
  156. data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_type.scss +0 -169
@@ -0,0 +1,139 @@
1
+ @mixin nav-setup-normal($color) {
2
+ .nav {
3
+ // margin-top: 20px;
4
+ display: block;
5
+
6
+ .caret {
7
+ top: 14px;
8
+ position: absolute;
9
+ right: 10px;
10
+ }
11
+
12
+ li {
13
+ > a + div .nav {
14
+ margin-top: 5px;
15
+ li > a {
16
+ margin-top: 0px;
17
+ padding: 2px 8px;
18
+ }
19
+ }
20
+
21
+ > a {
22
+ // change 🤍
23
+ margin: 2px 15px 0;
24
+ border-radius: $btn-round-radius;
25
+ color: $color;
26
+ display: block;
27
+ text-decoration: none;
28
+ position: relative;
29
+ text-transform: uppercase;
30
+ cursor: pointer;
31
+ font-size: $font-size-sm !important;
32
+ padding: 3px 8px;
33
+ line-height: $line-height-lg;
34
+ }
35
+ // change 🤍
36
+ &:first-child > a {
37
+ margin: 0 15px;
38
+ }
39
+
40
+ &:last-child > a {
41
+ margin: 0 15px;
42
+ }
43
+
44
+ &:hover:not(.active) > a,
45
+ &:focus:not(.active) > a {
46
+ p,
47
+ i {
48
+ color: $color;
49
+ }
50
+ }
51
+
52
+ &:hover:not(.active) > a i,
53
+ &:focus:not(.active) > a i {
54
+ color: $color;
55
+ }
56
+
57
+ &.active > a:not([data-toggle='collapse']) {
58
+ background: transparent;
59
+
60
+ i,
61
+ p {
62
+ color: white;
63
+ }
64
+ // change 🤍
65
+ &:before {
66
+ content: ' ';
67
+ position: absolute;
68
+ height: 6px;
69
+ width: 6px;
70
+ top: 11px;
71
+ left: -4px;
72
+ background: $color;
73
+ border-radius: 50%;
74
+ }
75
+ }
76
+
77
+ &.active > a[data-toggle='collapse'] {
78
+ background: transparent;
79
+ box-shadow: none;
80
+ color: $color;
81
+
82
+ i {
83
+ color: $color;
84
+ }
85
+
86
+ & + div .nav .active a {
87
+ box-shadow: none;
88
+ .sidebar-mini-icon,
89
+ .sidebar-normal {
90
+ color: $color;
91
+ font-weight: $font-weight-normal;
92
+ }
93
+ // change 🤍
94
+ &:before {
95
+ content: ' ';
96
+ position: absolute;
97
+ height: 6px;
98
+ width: 6px;
99
+ top: 17px;
100
+ left: -4px;
101
+ background: $color;
102
+ border-radius: 50%;
103
+ }
104
+ }
105
+ &:before {
106
+ content: ' ';
107
+ position: absolute;
108
+ height: 6px;
109
+ width: 6px;
110
+ top: 22px;
111
+ left: -4px;
112
+ background: rgba($color, 0.6);
113
+ border-radius: 50%;
114
+ }
115
+ }
116
+ }
117
+
118
+ p {
119
+ margin: 0;
120
+ line-height: 30px;
121
+ position: relative;
122
+ display: block;
123
+ height: auto;
124
+ white-space: nowrap;
125
+ @extend .animation-transition-general;
126
+ }
127
+
128
+ i {
129
+ font-size: 20px;
130
+ float: left;
131
+ margin-right: 12px;
132
+ line-height: 30px;
133
+ width: 34px;
134
+ text-align: center;
135
+ color: $opacity-8;
136
+ position: relative;
137
+ }
138
+ }
139
+ }
@@ -0,0 +1,146 @@
1
+ @mixin nav-setup-ntf($color) {
2
+ .nav {
3
+ // margin-top: 20px;
4
+ display: block;
5
+
6
+ .caret {
7
+ top: 14px;
8
+ position: absolute;
9
+ right: 10px;
10
+ }
11
+
12
+ li {
13
+ > a + div .nav {
14
+ margin-top: 5px;
15
+ li > a {
16
+ margin-top: 0px;
17
+ padding: 2px 8px;
18
+ }
19
+ }
20
+
21
+ > a {
22
+ // change 🤍
23
+ margin: 0px 5px;
24
+ padding: 7px 5px;
25
+ border-radius: $btn-round-radius;
26
+ color: $color;
27
+ display: block;
28
+ text-decoration: none;
29
+ position: relative;
30
+ text-transform: uppercase;
31
+ cursor: pointer;
32
+ font-size: $font-size-sm !important;
33
+ line-height: $line-height-lg;
34
+ }
35
+ // change 🤍
36
+ &:first-child > a {
37
+ margin: 0px 5px;
38
+ padding: 7px 5px;
39
+ }
40
+
41
+ &:last-child > a {
42
+ margin: 0px 5px;
43
+ padding: 7px 5px;
44
+ }
45
+
46
+ &:hover:not(.active) > a,
47
+ &:focus:not(.active) > a {
48
+ p,
49
+ i {
50
+ color: $color;
51
+ }
52
+ }
53
+
54
+ &:hover:not(.active) > a i,
55
+ &:focus:not(.active) > a i {
56
+ color: $color;
57
+ }
58
+
59
+ &.active > a:not([data-toggle='collapse']) {
60
+ background: transparent;
61
+
62
+ i {
63
+ color: $color;
64
+ }
65
+
66
+ p {
67
+ color: $color;
68
+ }
69
+ // change 🤍
70
+ // this is simple link 🤍
71
+ &:before {
72
+ content: ' ';
73
+ position: absolute;
74
+ height: 100%;
75
+ width: 12px;
76
+ top: 0px;
77
+ left: -12px;
78
+ background: $color;
79
+ border-radius: 10px;
80
+ }
81
+ }
82
+
83
+ &.active > a[data-toggle='collapse'] {
84
+ background: transparent;
85
+ box-shadow: none;
86
+ color: $color;
87
+
88
+ i {
89
+ color: $color;
90
+ }
91
+
92
+ & + div .nav .active a {
93
+ box-shadow: none;
94
+ .sidebar-mini-icon,
95
+ .sidebar-normal {
96
+ color: $color;
97
+ font-weight: $font-weight-normal;
98
+ }
99
+
100
+ &:before {
101
+ content: ' ';
102
+ position: absolute;
103
+ height: 6px;
104
+ width: 6px;
105
+ top: 17px;
106
+ left: -4px;
107
+ background: $color;
108
+ border-radius: 50%;
109
+ }
110
+ }
111
+ // this is sub menu toggle 🤍
112
+ &:before {
113
+ content: ' ';
114
+ position: absolute;
115
+ height: 100%;
116
+ width: 12px;
117
+ top: 0px;
118
+ left: -12px;
119
+ background: $color;
120
+ border-radius: 10px;
121
+ }
122
+ }
123
+ }
124
+
125
+ p {
126
+ margin: 0;
127
+ line-height: 30px;
128
+ position: relative;
129
+ display: block;
130
+ height: auto;
131
+ white-space: nowrap;
132
+ @extend .animation-transition-general;
133
+ }
134
+
135
+ i {
136
+ font-size: 20px;
137
+ float: left;
138
+ margin-right: 12px;
139
+ line-height: 30px;
140
+ width: 34px;
141
+ text-align: center;
142
+ color: $opacity-8;
143
+ position: relative;
144
+ }
145
+ }
146
+ }
@@ -0,0 +1,8 @@
1
+ @mixin nav-setup($color, $nav-style) {
2
+ @if ($nav-style == 'normal') {
3
+ @include nav-setup-normal($color);
4
+ }
5
+ @if ($nav-style == 'ntf') {
6
+ @include nav-setup-ntf($color);
7
+ }
8
+ }
@@ -0,0 +1,10 @@
1
+ @mixin caret-color($color) {
2
+ content: '';
3
+ position: absolute;
4
+ border-left: 5px solid transparent;
5
+ border-right: 5px solid transparent;
6
+ border-bottom: 5px solid $color;
7
+ top: -5px;
8
+ left: 40px;
9
+ transform: translate(-50%);
10
+ }
@@ -0,0 +1,372 @@
1
+ .dropdown-menu {
2
+ border: 0;
3
+ box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.2);
4
+ border-radius: $border-radius-xs;
5
+ @include transitions($fast-transition-time, $transition-linear);
6
+
7
+ &.dropdown-menu-right {
8
+ &:before,
9
+ &:after {
10
+ left: auto;
11
+ right: 10px;
12
+ }
13
+ }
14
+
15
+ &.dropdown-black {
16
+ background: linear-gradient(to bottom, $black 0%, $black-states 100%);
17
+ border: 1px solid $default;
18
+ .dropdown-item {
19
+ color: rgba(255, 255, 255, 0.7);
20
+ }
21
+
22
+ .dropdown-divider {
23
+ border-color: $default;
24
+ }
25
+
26
+ &:before {
27
+ color: $black;
28
+ z-index: 2;
29
+ }
30
+
31
+ &:after {
32
+ display: inline-block;
33
+ position: absolute;
34
+ width: 0;
35
+ height: 0;
36
+ z-index: 1;
37
+ vertical-align: middle;
38
+ content: '';
39
+ top: -6px;
40
+ left: 10px;
41
+ right: auto;
42
+ color: $default;
43
+ border-bottom: 0.4em solid;
44
+ border-right: 0.4em solid transparent;
45
+ border-left: 0.4em solid transparent;
46
+ }
47
+
48
+ &.dropdown-menu-right {
49
+ &:after {
50
+ left: auto;
51
+ right: 10px;
52
+ }
53
+ }
54
+
55
+ .dropup & {
56
+ &:after {
57
+ color: $black-states;
58
+ z-index: 2;
59
+ }
60
+
61
+ &:before {
62
+ display: inline-block;
63
+ position: absolute;
64
+ width: 0;
65
+ height: 0;
66
+ vertical-align: middle;
67
+ content: '';
68
+ top: auto;
69
+ bottom: -6px;
70
+ right: auto;
71
+ left: 10px;
72
+ color: $dark-background;
73
+ border-top: 0.4em solid;
74
+ border-right: 0.4em solid transparent;
75
+ border-left: 0.4em solid transparent;
76
+ border-bottom: none;
77
+ z-index: 1;
78
+ }
79
+ }
80
+ }
81
+
82
+ i {
83
+ margin-right: 5px;
84
+ position: relative;
85
+ top: 1px;
86
+ }
87
+
88
+ .tim-icons {
89
+ margin-right: 10px;
90
+ position: relative;
91
+ top: 4px;
92
+ font-size: 18px;
93
+ margin-top: -5px;
94
+ opacity: 0.5;
95
+ }
96
+
97
+ .dropdown-item {
98
+ &.active,
99
+ &:active {
100
+ color: inherit;
101
+ }
102
+ }
103
+
104
+ .dropup & {
105
+ &:before {
106
+ display: none;
107
+ }
108
+
109
+ &:after {
110
+ display: inline-block;
111
+ position: absolute;
112
+ width: 0;
113
+ height: 0;
114
+ vertical-align: middle;
115
+ content: '';
116
+ top: auto;
117
+ bottom: -5px;
118
+ right: auto;
119
+ left: 10px;
120
+ color: $white;
121
+ border-top: 0.4em solid;
122
+ border-right: 0.4em solid transparent;
123
+ border-left: 0.4em solid transparent;
124
+ border-bottom: none;
125
+ }
126
+
127
+ &.dropdown-menu-right {
128
+ &:after,
129
+ &:before {
130
+ right: 10px;
131
+ left: auto;
132
+ }
133
+ }
134
+ }
135
+
136
+ &:before {
137
+ display: inline-block;
138
+ position: absolute;
139
+ width: 0;
140
+ height: 0;
141
+ vertical-align: middle;
142
+ content: '';
143
+ top: -5px;
144
+ left: 10px;
145
+ right: auto;
146
+ color: $white;
147
+ border-bottom: 0.4em solid;
148
+ border-right: 0.4em solid transparent;
149
+ border-left: 0.4em solid transparent;
150
+ }
151
+
152
+ &.dropdown-menu-right {
153
+ right: 0 !important;
154
+ left: auto !important;
155
+ }
156
+
157
+ .dropdown-item,
158
+ .bootstrap-select &.inner li a {
159
+ font-size: $font-size-sm;
160
+ padding-top: 0.3rem;
161
+ padding-bottom: 0.3rem;
162
+ margin-top: 5px;
163
+ @include transitions($fast-transition-time, $transition-linear);
164
+
165
+ &:hover,
166
+ &:focus {
167
+ background-color: $opacity-gray-3;
168
+ }
169
+
170
+ &.disabled,
171
+ &:disabled {
172
+ color: $default-opacity;
173
+
174
+ &:hover,
175
+ &:focus {
176
+ background-color: transparent;
177
+ box-shadow: none;
178
+ }
179
+ }
180
+ }
181
+
182
+ .dropdown-divider {
183
+ background-color: $opacity-gray-5;
184
+ }
185
+
186
+ .dropdown-header:not([href]):not([tabindex]) {
187
+ color: $default-opacity;
188
+ font-size: $font-size-xs;
189
+ text-transform: uppercase;
190
+ font-weight: $font-weight-bold;
191
+ }
192
+
193
+ &.dropdown-primary {
194
+ @include dropdown-colors(
195
+ darken($primary, 3%),
196
+ $opacity-8,
197
+ $white,
198
+ $opacity-2
199
+ );
200
+ }
201
+
202
+ &.dropdown-info {
203
+ @include dropdown-colors(darken($info, 3%), $opacity-8, $white, $opacity-2);
204
+ }
205
+
206
+ &.dropdown-danger {
207
+ @include dropdown-colors(
208
+ darken($danger, 3%),
209
+ $opacity-8,
210
+ $white,
211
+ $opacity-2
212
+ );
213
+ }
214
+
215
+ &.dropdown-success {
216
+ @include dropdown-colors(
217
+ darken($success, 3%),
218
+ $opacity-8,
219
+ $white,
220
+ $opacity-2
221
+ );
222
+ }
223
+
224
+ &.dropdown-warning {
225
+ @include dropdown-colors(
226
+ darken($warning, 3%),
227
+ $opacity-8,
228
+ $white,
229
+ $opacity-2
230
+ );
231
+ }
232
+
233
+ .dropdown &,
234
+ .dropup:not(.bootstrap-select) &,
235
+ .bootstrap-select &:not(.inner),
236
+ &.bootstrap-datetimepicker-widget.bottom {
237
+ @include transform-translate-y-dropdown(-20px);
238
+ visibility: hidden;
239
+ display: block;
240
+ @include opacity(0);
241
+ top: 100% !important;
242
+ }
243
+
244
+ &.bootstrap-datetimepicker-widget.top {
245
+ @include transform-translate-y-dropdown(-20px);
246
+ visibility: hidden;
247
+ display: block;
248
+ @include opacity(0);
249
+ }
250
+
251
+ &.bootstrap-datetimepicker-widget.top,
252
+ &.bootstrap-datetimepicker-widget.bottom {
253
+ @include transform-translate-y-dropdown(-20px);
254
+ }
255
+
256
+ .bootstrap-select.dropup &:not(.inner) {
257
+ @include transform-translate-y-dropdown(25px);
258
+ }
259
+
260
+ .dropup:not(.bootstrap-select) & {
261
+ @include transform-translate-y-dropdown(20px);
262
+ top: auto !important;
263
+ bottom: 100%;
264
+ }
265
+
266
+ .dropdown.show &,
267
+ .bootstrap-select.show &:not(.inner),
268
+ &.bootstrap-datetimepicker-widget.top.open,
269
+ &.bootstrap-datetimepicker-widget.bottom.open,
270
+ .dropup.show:not(.bootstrap-select) &,
271
+ .navbar .dropdown.show & {
272
+ @include opacity(1);
273
+ visibility: visible;
274
+ @include transform-translate-y-dropdown(1px);
275
+ }
276
+
277
+ &.bootstrap-datetimepicker-widget.top.open,
278
+ &.bootstrap-datetimepicker-widget.bottom.open {
279
+ @include transform-translate-y-dropdown(0px);
280
+ }
281
+
282
+ .dropup.show:not(.bootstrap-select) & {
283
+ @include transform-translate-y-dropdown(-2px);
284
+ }
285
+
286
+ &.dropdown-navbar {
287
+ left: -80px;
288
+ &:before,
289
+ &:after {
290
+ left: auto;
291
+ right: 17px;
292
+ }
293
+ }
294
+ }
295
+
296
+ .btn {
297
+ cursor: pointer;
298
+
299
+ &.dropdown-toggle[data-toggle='dropdown'] {
300
+ padding: 10px;
301
+ margin: 0;
302
+ margin-bottom: 5px;
303
+
304
+ &:after {
305
+ content: '';
306
+ margin-left: 5px;
307
+ }
308
+ }
309
+
310
+ span.bs-caret {
311
+ display: none;
312
+ }
313
+
314
+ &.btn-link {
315
+ &.dropdown-toggle {
316
+ height: 22px;
317
+ padding: 0;
318
+ margin-right: 5px;
319
+ }
320
+ }
321
+ }
322
+
323
+ .dropdown-toggle:after {
324
+ content: unset;
325
+ }
326
+
327
+ .btn:not(:disabled):not(.disabled).active:focus,
328
+ .btn:not(:disabled):not(.disabled):active:focus,
329
+ .show > .btn.dropdown-toggle:focus {
330
+ box-shadow: none;
331
+ }
332
+
333
+ // Dropown: Sizes
334
+
335
+ .dropdown-menu-sm {
336
+ min-width: 100px;
337
+ border: $border-radius-lg;
338
+ }
339
+
340
+ .dropdown-menu-lg {
341
+ min-width: 260px;
342
+ border-radius: $border-radius-lg;
343
+ }
344
+
345
+ .dropdown-menu-xl {
346
+ min-width: 450px;
347
+ border-radius: $border-radius-lg;
348
+ }
349
+
350
+ @include media-breakpoint-down(md) {
351
+ .button-dropdown {
352
+ display: none;
353
+ }
354
+ .dropdown-toggle:after {
355
+ display: inline-block;
356
+ width: 0;
357
+ height: 0;
358
+ margin-left: 0.255em;
359
+ vertical-align: 0.255em;
360
+ content: '';
361
+ border-top: 0.3em solid;
362
+ border-right: 0.3em solid transparent;
363
+ border-bottom: 0;
364
+ border-left: 0.3em solid transparent;
365
+ }
366
+ }
367
+
368
+ @include media-breakpoint-up(lg) {
369
+ .dropdown-menu .dropdown-item {
370
+ color: $dark-gray;
371
+ }
372
+ }