viniBaxter-desk_front 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/desk_front/icon-status.svg +9 -0
  3. data/app/assets/images/desk_front/sidebar-cover.jpg +0 -0
  4. data/lib/viniBaxter/desk_front/version.rb +1 -1
  5. data/lib/viniBaxter/sass/.DS_Store +0 -0
  6. data/lib/viniBaxter/sass/desk_front.scss +10 -4
  7. data/lib/viniBaxter/sass/desk_front/.DS_Store +0 -0
  8. data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +3 -1
  9. data/lib/viniBaxter/sass/desk_front/administrate/index.scss +6 -6
  10. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_functions.scss +23 -0
  11. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_index.scss +85 -0
  12. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_mixins.scss +15 -0
  13. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-animation-on-hover.scss +7 -0
  14. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-chart.scss +84 -0
  15. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-collapse.scss +51 -0
  16. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-contributions.scss +55 -0
  17. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-lock.scss +18 -0
  18. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-map.scss +3 -0
  19. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-plain.scss +16 -0
  20. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-pricing.scss +190 -0
  21. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-profile.scss +49 -0
  22. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-register.scss +79 -0
  23. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-stats-mini.scss +53 -0
  24. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-stats.scss +80 -0
  25. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-subcategories.scss +3 -0
  26. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-task.scss +31 -0
  27. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-testimonials.scss +46 -0
  28. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-user.scss +77 -0
  29. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-wizard.scss +21 -0
  30. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_alerts.scss +89 -0
  31. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_avatars.scss +53 -0
  32. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_badge.scss +25 -0
  33. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_buttons.scss +281 -0
  34. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_card.scss +228 -0
  35. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_checkboxes-radio.scss +154 -0
  36. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_close.scss +29 -0
  37. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_custom-forms.scss +186 -0
  38. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_dropdown.scss +361 -0
  39. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_example-pages.scss +319 -0
  40. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_fixed-plugin.scss +335 -0
  41. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_footer.scss +109 -0
  42. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_forms.scss +146 -0
  43. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_functions.scss +23 -0
  44. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_global.scss +172 -0
  45. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_grid.scss +5 -0
  46. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_icons.scss +92 -0
  47. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_images.scss +7 -0
  48. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_info-areas.scss +170 -0
  49. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_input-group.scss +342 -0
  50. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_misc.scss +215 -0
  51. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_mixins.scss +15 -0
  52. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_modal.scss +257 -0
  53. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_nav.scss +85 -0
  54. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_navbar.scss +480 -0
  55. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_pagination.scss +141 -0
  56. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_pills.scss +169 -0
  57. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_popover.scss +14 -0
  58. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_progress.scss +103 -0
  59. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_reboot.scss +18 -0
  60. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_rtl.scss +268 -0
  61. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_sidebar-and-main-panel.scss +912 -0
  62. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_tables.scss +248 -0
  63. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_tabs.scss +110 -0
  64. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_timeline.scss +251 -0
  65. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_type.scss +166 -0
  66. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_utilities.scss +9 -0
  67. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_variables.scss +997 -0
  68. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_white-content.scss +491 -0
  69. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-animation-on-hover.scss +7 -0
  70. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-chart.scss +84 -0
  71. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-collapse.scss +51 -0
  72. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-contributions.scss +55 -0
  73. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-lock.scss +18 -0
  74. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-map.scss +3 -0
  75. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-plain.scss +16 -0
  76. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-pricing.scss +190 -0
  77. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-profile.scss +49 -0
  78. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-register.scss +79 -0
  79. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-stats-mini.scss +53 -0
  80. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-stats.scss +80 -0
  81. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-subcategories.scss +3 -0
  82. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-task.scss +31 -0
  83. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-testimonials.scss +46 -0
  84. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-user.scss +77 -0
  85. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-wizard.scss +21 -0
  86. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_alert.scss +14 -0
  87. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_background-variant.scss +18 -0
  88. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_badges.scss +15 -0
  89. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_buttons.scss +343 -0
  90. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_dropdown.scss +26 -0
  91. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_forms.scss +127 -0
  92. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_icon.scss +4 -0
  93. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_inputs.scss +234 -0
  94. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_modals.scss +15 -0
  95. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_page-header.scss +7 -0
  96. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_popovers.scss +41 -0
  97. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_vendor-prefixes.scss +202 -0
  98. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_wizard.scss +26 -0
  99. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/opacity.scss +8 -0
  100. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_backgrounds.scss +42 -0
  101. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_floating.scss +54 -0
  102. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_helper.scss +62 -0
  103. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_position.scss +19 -0
  104. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_shadows.scss +10 -0
  105. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_sizing.scss +5 -0
  106. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_spacing.scss +105 -0
  107. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_text.scss +40 -0
  108. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_transform.scss +8 -0
  109. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-animate-bootstrap-notify.scss +227 -0
  110. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-bootstrap-select.scss +358 -0
  111. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-bootstrap-switch.scss +316 -0
  112. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-card-wizard.scss +315 -0
  113. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-datatables.net.scss +135 -0
  114. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-datetimepicker.scss +527 -0
  115. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-fullcalendar.scss +1528 -0
  116. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-jasny-fileupload.scss +116 -0
  117. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-jquery.jvectormap.scss +136 -0
  118. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-nouislider.scss +373 -0
  119. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-perfect-scrollbar.scss +116 -0
  120. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-sweetalert2.scss +711 -0
  121. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-tagsinput.scss +79 -0
  122. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_alert.scss +14 -0
  123. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_background-variant.scss +18 -0
  124. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_badges.scss +15 -0
  125. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_buttons.scss +343 -0
  126. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_dropdown.scss +26 -0
  127. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_forms.scss +127 -0
  128. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_icon.scss +4 -0
  129. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_inputs.scss +234 -0
  130. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_modals.scss +15 -0
  131. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_page-header.scss +7 -0
  132. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_popovers.scss +41 -0
  133. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_vendor-prefixes.scss +202 -0
  134. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_wizard.scss +26 -0
  135. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/opacity.scss +8 -0
  136. data/lib/viniBaxter/sass/desk_front/dashkit/_avatar.scss +1 -1
  137. data/lib/viniBaxter/sass/desk_front/dashkit/_card.scss +2 -2
  138. data/lib/viniBaxter/sass/desk_front/dashkit/_icon.scss +2 -2
  139. data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +4 -3
  140. data/lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss +4 -4
  141. data/viniBaxter-desk_front.gemspec +1 -1
  142. metadata +132 -18
  143. data/Gemfile.lock +0 -35
@@ -0,0 +1,26 @@
1
+ @mixin dropdown-colors($brand-color, $dropdown-header-color, $dropdown-color, $background-color ) {
2
+ background-color: $brand-color;
3
+
4
+ &:before{
5
+ color: $brand-color;
6
+ }
7
+
8
+ .dropdown-header:not([href]):not([tabindex]){
9
+ color: $dropdown-header-color;
10
+ }
11
+
12
+ .dropdown-item{
13
+ color: $dropdown-color;
14
+
15
+ &:hover,
16
+ &:focus{
17
+ background-color: $background-color;
18
+ }
19
+ }
20
+
21
+ .dropdown-divider{
22
+ background-color: $background-color;
23
+ }
24
+
25
+
26
+ }
@@ -0,0 +1,127 @@
1
+ // @mixin form-control-focus() {
2
+ // &:focus {
3
+ // color: $input-focus-color;
4
+ // background-color: $input-focus-bg;
5
+ // border-color: $input-focus-border-color;
6
+ // outline: 0;
7
+ // // Avoid using mixin so we can pass custom focus shadow properly
8
+ // @if $enable-shadows {
9
+ // box-shadow: $input-box-shadow, $input-focus-box-shadow;
10
+ // } @else {
11
+ // box-shadow: $input-focus-box-shadow;
12
+ // }
13
+ // }
14
+ // }
15
+
16
+
17
+ @mixin form-validation-state($state, $color) {
18
+ .#{$state}-feedback {
19
+ display: none;
20
+ width: 100%;
21
+ margin-top: $form-feedback-margin-top;
22
+ font-size: $form-feedback-font-size;
23
+ color: $color;
24
+ }
25
+
26
+ .#{$state}-tooltip {
27
+ position: absolute;
28
+ top: 100%;
29
+ z-index: 5;
30
+ display: none;
31
+ max-width: 100%; // Contain to parent when possible
32
+ padding: .5rem;
33
+ margin-top: .1rem;
34
+ font-size: .875rem;
35
+ line-height: 1;
36
+ color: $white;
37
+ background-color: rgba($color, .8);
38
+ border-radius: .2rem;
39
+ }
40
+
41
+ .form-control,
42
+ .custom-select {
43
+ .was-validated &:#{$state},
44
+ &.is-#{$state} {
45
+ border-color: $color;
46
+
47
+ &:focus {
48
+ border-color: $color;
49
+ //box-shadow: 0 1px $input-focus-width 0 rgba($color, .75);
50
+ }
51
+
52
+ ~ .#{$state}-feedback,
53
+ ~ .#{$state}-tooltip {
54
+ display: block;
55
+ }
56
+ }
57
+ }
58
+
59
+ .form-check-input {
60
+ .was-validated &:#{$state},
61
+ &.is-#{$state} {
62
+ ~ .form-check-label {
63
+ color: $color;
64
+ }
65
+
66
+ ~ .#{$state}-feedback,
67
+ ~ .#{$state}-tooltip {
68
+ display: block;
69
+ }
70
+ }
71
+ }
72
+
73
+ .custom-control-input {
74
+ .was-validated &:#{$state},
75
+ &.is-#{$state} {
76
+ ~ .custom-control-label {
77
+ color: $color;
78
+
79
+ &::before {
80
+ background-color: lighten($color, 25%);
81
+ border-color: lighten($color, 25%);
82
+ }
83
+ }
84
+
85
+ ~ .#{$state}-feedback,
86
+ ~ .#{$state}-tooltip {
87
+ display: block;
88
+ }
89
+
90
+ &:checked {
91
+ ~ .custom-control-label::before {
92
+ @include gradient-bg(lighten($color, 10%));
93
+ border-color: lighten($color, 25%);
94
+ }
95
+ }
96
+
97
+ &:focus {
98
+ ~ .custom-control-label::before {
99
+ box-shadow: 0 0 0 1px $body-bg, 0 0 0 $input-focus-width rgba($color, .25);
100
+ }
101
+ }
102
+ }
103
+ }
104
+
105
+ // custom file
106
+ .custom-file-input {
107
+ .was-validated &:#{$state},
108
+ &.is-#{$state} {
109
+ ~ .custom-file-label {
110
+ border-color: $color;
111
+
112
+ &::before { border-color: inherit; }
113
+ }
114
+
115
+ ~ .#{$state}-feedback,
116
+ ~ .#{$state}-tooltip {
117
+ display: block;
118
+ }
119
+
120
+ &:focus {
121
+ ~ .custom-file-label {
122
+ box-shadow: 0 0 0 $input-focus-width rgba($color, .25);
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
@@ -0,0 +1,4 @@
1
+ @mixin icon-shape-variant($color) {
2
+ color: saturate(darken($color, 10%), 10);
3
+ background-color: transparentize(lighten($color, 10%), .5);
4
+ }
@@ -0,0 +1,234 @@
1
+ @mixin input-size($padding-vertical, $padding-horizontal){
2
+ padding: $padding-vertical $padding-horizontal;
3
+ }
4
+
5
+ @mixin form-control-placeholder($color, $opacity){
6
+ .form-control::-moz-placeholder{
7
+ color: $color;
8
+ @include opacity(1);
9
+ }
10
+ .form-control:-moz-placeholder{
11
+ color: $color;
12
+ @include opacity(1);
13
+ }
14
+ .form-control::-webkit-input-placeholder{
15
+ color: $color;
16
+ @include opacity(1);
17
+ }
18
+ .form-control:-ms-input-placeholder{
19
+ color: $color;
20
+ @include opacity(1);
21
+ }
22
+ }
23
+
24
+ @mixin placeholder() {
25
+ &::-moz-placeholder {@content; } // Firefox
26
+ &:-ms-input-placeholder {@content; } // Internet Explorer 10+
27
+ &::-webkit-input-placeholder {@content; } // Safari and Chrome
28
+ }
29
+
30
+ @mixin light-form(){
31
+ border-radius: 0;
32
+ border:0;
33
+ padding: 0;
34
+ background-color: transparent;
35
+
36
+ }
37
+
38
+
39
+ @mixin form-control-lg-padding($padding-vertical, $padding-horizontal) {
40
+ .form-group.no-border.form-control-lg,
41
+ .input-group.no-border.form-control-lg{
42
+ .input-group-append .input-group-text{
43
+ padding: $padding-vertical 0 $padding-vertical $padding-horizontal;
44
+ }
45
+
46
+ .form-control{
47
+ padding: $padding-vertical $padding-horizontal;
48
+
49
+ & + .input-group-prepend .input-group-text,
50
+ & + .input-group-append .input-group-text{
51
+ padding: $padding-vertical $padding-horizontal $padding-vertical 0;
52
+ }
53
+
54
+
55
+ }
56
+ }
57
+
58
+ .form-group.form-control-lg,
59
+ .input-group.form-control-lg{
60
+ .form-control{
61
+ padding: $padding-vertical - 1 $padding-horizontal - 1;
62
+ height: 100%;
63
+
64
+ & + .input-group-prepend .input-group-text,
65
+ & + .input-group-append .input-group-text{
66
+ padding: $padding-vertical - 1 $padding-horizontal - 1 $padding-vertical - 1 0;
67
+ }
68
+ }
69
+
70
+ .input-group-prepend .input-group-text,
71
+ .input-group-append .input-group-text{
72
+ padding: $padding-vertical - 1 0 $padding-vertical $padding-horizontal - 1;
73
+
74
+ & + .form-control{
75
+ padding: $padding-vertical $padding-horizontal - 1 $padding-vertical $padding-horizontal - 3;
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+
82
+
83
+ @mixin input-base-padding($padding-vertical, $padding-horizontal) {
84
+ .form-group.no-border,
85
+ .input-group.no-border{
86
+ .form-control{
87
+ padding: $padding-vertical $padding-horizontal;
88
+
89
+ & + .input-group-prepend .input-group-text,
90
+ & + .input-group-append .input-group-text{
91
+ padding: $padding-vertical $padding-horizontal $padding-vertical 0;
92
+ }
93
+ }
94
+
95
+ .input-group-prepend .input-group-text,
96
+ .input-group-append .input-group-text{
97
+ padding: $padding-vertical 0 $padding-vertical $padding-horizontal;
98
+ }
99
+ }
100
+
101
+ .form-group,
102
+ .input-group{
103
+ .form-control{
104
+ padding: $padding-vertical - 1 $padding-horizontal - 1 $padding-vertical - 1 $padding-horizontal - 1;
105
+
106
+ & + .input-group-prepend .input-group-text,
107
+ & + .input-group-append .input-group-text{
108
+ padding: $padding-vertical - 1 $padding-horizontal - 1 $padding-vertical - 1 0;
109
+ }
110
+ }
111
+
112
+ .input-group-prepend .input-group-text,
113
+ .input-group-append .input-group-text{
114
+ padding: $padding-vertical - 1 0 $padding-vertical - 1 $padding-horizontal - 1;
115
+
116
+ & + .form-control,
117
+ & ~ .form-control{
118
+ padding:$padding-vertical - 1 $padding-horizontal $padding-vertical $padding-horizontal - 3;
119
+ }
120
+ }
121
+ }
122
+ }
123
+
124
+
125
+ //color1 = $opacity-5
126
+ //color2 = $opacity-8
127
+ //color3 = $white-color
128
+ //color4 = $transparent-bg
129
+ //color5 = $opacity-1
130
+ //color6 = $opacity-2
131
+
132
+
133
+ @mixin input-coloured-bg($color1, $color2, $color3, $color4, $color5, $color6) {
134
+ @include form-control-placeholder(rgba($white, 0.4), 1);
135
+
136
+ .form-control{
137
+ border-color: $color1;
138
+ color: $color2;
139
+
140
+ &:focus{
141
+ border-color: $color3;
142
+ background-color: $color4;
143
+ color: $color3;
144
+ }
145
+ }
146
+
147
+ .has-success,
148
+ .has-danger{
149
+ &:after{
150
+ color: $color3;
151
+ }
152
+ }
153
+
154
+ .has-danger{
155
+ .form-control{
156
+ background-color: $color4;
157
+ }
158
+ }
159
+
160
+ .input-group-prepend{
161
+ margin-right: 0;
162
+ }
163
+
164
+ .input-group-prepend .input-group-text,
165
+ .input-group-append .input-group-text{
166
+ background-color: rgba($background-black, 0.2);
167
+ border-color: $color1;
168
+ color: $color2;
169
+
170
+
171
+ }
172
+
173
+ .input-group-focus{
174
+ .input-group-prepend .input-group-text,
175
+ .input-group-append .input-group-text{
176
+ background-color: rgba($background-black, 0.3);
177
+ border-color: $color3;
178
+ color: $color3;
179
+ }
180
+ }
181
+
182
+ .form-group.no-border,
183
+ .input-group.no-border{
184
+ .form-control{
185
+ background-color: rgba($background-black,0.2);
186
+ color: $color2;
187
+
188
+ &:focus,
189
+ &:active,
190
+ &:active{
191
+ background-color: rgba($background-black,0.3);
192
+ color: $color3;
193
+ }
194
+ }
195
+
196
+ .form-control + .input-group-prepend .input-group-text,
197
+ .form-control + .input-group-append .input-group-text{
198
+ background-color: rgba($background-black,0.2);;
199
+
200
+ &:focus,
201
+ &:active,
202
+ &:active{
203
+ background-color: rgba($background-black,0.3);
204
+ color: $color3;
205
+ }
206
+ }
207
+
208
+ .form-control{
209
+ &:focus{
210
+ & + .input-group-prepend .input-group-text,
211
+ & + .input-group-append .input-group-text{
212
+ background-color: rgba($background-black, 0.3);
213
+ color: $color3;
214
+ }
215
+ }
216
+ }
217
+
218
+ .input-group-prepend .input-group-text,
219
+ .input-group-append .input-group-text{
220
+ background-color: rgba($background-black, 0.2);
221
+ border: none;
222
+ color: $color2;
223
+ }
224
+
225
+ &.input-group-focus{
226
+ .input-group-prepend .input-group-text,
227
+ .input-group-append .input-group-text{
228
+ background-color: rgba($background-black, 0.3);
229
+ color: $color3;
230
+ }
231
+ }
232
+ }
233
+
234
+ }
@@ -0,0 +1,15 @@
1
+ @mixin modal-colors($bg-color, $color) {
2
+ .modal-content{
3
+ background-color: $bg-color;
4
+ color: $color;
5
+ }
6
+
7
+ .modal-body p{
8
+ color: rgba($white, 0.8);
9
+ }
10
+
11
+ //inputs
12
+ @include input-coloured-bg($opacity-5, $white, $white, $transparent-bg, $opacity-1, $opacity-2);
13
+
14
+
15
+ }
@@ -0,0 +1,7 @@
1
+ @mixin linear-gradient($color1, $color2){
2
+ background: $color1; /* For browsers that do not support gradients */
3
+ background: -webkit-linear-gradient(90deg, $color1 , $color2); /* For Safari 5.1 to 6.0 */
4
+ background: -o-linear-gradient(90deg, $color1, $color2); /* For Opera 11.1 to 12.0 */
5
+ background: -moz-linear-gradient(90deg, $color1, $color2); /* For Firefox 3.6 to 15 */
6
+ background: linear-gradient(0deg, $color1 , $color2); /* Standard syntax */
7
+ }
@@ -0,0 +1,41 @@
1
+ @mixin popover-variant($background) {
2
+ background-color: $background;
3
+
4
+ .popover-header {
5
+ background-color: $background;
6
+ color: color-yiq($background);
7
+ opacity: .6;
8
+ }
9
+
10
+ .popover-body {
11
+ color: color-yiq($background);
12
+ }
13
+
14
+ .popover-header{
15
+ border-color: rgba(color-yiq($background), .2);
16
+ }
17
+
18
+ &.bs-popover-top {
19
+ .arrow::after {
20
+ border-top-color: $background;
21
+ }
22
+ }
23
+
24
+ &.bs-popover-right {
25
+ .arrow::after {
26
+ border-right-color: $background;
27
+ }
28
+ }
29
+
30
+ &.bs-popover-bottom {
31
+ .arrow::after {
32
+ border-bottom-color: $background;
33
+ }
34
+ }
35
+
36
+ &.bs-popover-left {
37
+ .arrow::after {
38
+ border-left-color: $background;
39
+ }
40
+ }
41
+ }