nitro_sg 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/fonts/fontawesome.js +1978 -0
  3. data/fonts/regular.js +1217 -0
  4. data/lib/nitro_sg/version.rb +1 -1
  5. data/sass-mixins/_global.scss +415 -0
  6. data/sass-mixins/_normalize.scss +424 -0
  7. data/sass-mixins/_print.scss +101 -0
  8. data/sass-mixins/application.scss +29 -0
  9. data/sass-mixins/application.scss.flow +1592 -0
  10. data/sass-mixins/base-mixins/_all.scss +11 -0
  11. data/sass-mixins/base-mixins/_all.scss.flow +6 -0
  12. data/sass-mixins/base-mixins/_border-radius.scss +25 -0
  13. data/sass-mixins/base-mixins/_breakpoints.scss +95 -0
  14. data/sass-mixins/base-mixins/_color.sass +22 -0
  15. data/sass-mixins/base-mixins/_forms.scss +33 -0
  16. data/sass-mixins/base-mixins/_general.scss +599 -0
  17. data/sass-mixins/base-mixins/_grid-framework.scss +81 -0
  18. data/sass-mixins/base-mixins/_grid.scss +126 -0
  19. data/sass-mixins/base-mixins/_hover.scss +26 -0
  20. data/sass-mixins/base-mixins/_images.scss +33 -0
  21. data/sass-mixins/base-mixins/_media-queries.sass +58 -0
  22. data/sass-mixins/base-mixins/_type.scss +46 -0
  23. data/sass-mixins/base-variables/_all.scss +11 -0
  24. data/sass-mixins/base-variables/_animation-curves.scss +37 -0
  25. data/sass-mixins/base-variables/_bootstrap-variables.scss +284 -0
  26. data/sass-mixins/base-variables/_border-radius.sass +27 -0
  27. data/sass-mixins/base-variables/_color-bootstrap.scss +62 -0
  28. data/sass-mixins/base-variables/_color-deprecated.scss +26 -0
  29. data/sass-mixins/base-variables/_color-ui-elements.scss +20 -0
  30. data/sass-mixins/base-variables/_colors-export.scss +13 -0
  31. data/sass-mixins/base-variables/_colors-export.scss.flow +92 -0
  32. data/sass-mixins/base-variables/_colors.scss +267 -0
  33. data/sass-mixins/base-variables/_colors.scss.flow +5 -0
  34. data/sass-mixins/base-variables/_fonts.scss +97 -0
  35. data/sass-mixins/base-variables/_forms.scss +44 -0
  36. data/sass-mixins/base-variables/_opacity.scss +9 -0
  37. data/sass-mixins/base-variables/_positioning.scss +24 -0
  38. data/sass-mixins/base-variables/_shadows.scss +5 -0
  39. data/sass-mixins/base-variables/_sizing-ui-elements.scss +2 -0
  40. data/sass-mixins/base-variables/_spacing.sass +27 -0
  41. data/sass-mixins/base-variables/_typography.sass +79 -0
  42. data/sass-mixins/class-helpers/_all.scss +17 -0
  43. data/sass-mixins/class-helpers/_borders.scss +40 -0
  44. data/sass-mixins/class-helpers/_color.sass +61 -0
  45. data/sass-mixins/class-helpers/_display.scss +40 -0
  46. data/sass-mixins/class-helpers/_flexbox.scss +213 -0
  47. data/sass-mixins/class-helpers/_glyphicons.scss +307 -0
  48. data/sass-mixins/class-helpers/_line-height.scss +21 -0
  49. data/sass-mixins/class-helpers/_radius-and-shadows.scss +49 -0
  50. data/sass-mixins/class-helpers/_responsive-utilities.scss +179 -0
  51. data/sass-mixins/class-helpers/_screen-readers.scss +34 -0
  52. data/sass-mixins/class-helpers/_spacing.scss +51 -0
  53. data/sass-mixins/class-helpers/_type.scss +323 -0
  54. data/sass-mixins/class-helpers/_z-index.scss +10 -0
  55. data/sass-mixins/components.scss +5 -0
  56. data/sass-mixins/nitro-ui/_alerts.scss +139 -0
  57. data/sass-mixins/nitro-ui/_all.scss +33 -0
  58. data/sass-mixins/nitro-ui/_animations.scss +37 -0
  59. data/sass-mixins/nitro-ui/_carousel.scss +281 -0
  60. data/sass-mixins/nitro-ui/_code.scss +87 -0
  61. data/sass-mixins/nitro-ui/_connect-cards.scss +150 -0
  62. data/sass-mixins/nitro-ui/_dashboards.scss +516 -0
  63. data/sass-mixins/nitro-ui/_fixed-confirmation-toast.scss +48 -0
  64. data/sass-mixins/nitro-ui/_full-menu.scss +168 -0
  65. data/sass-mixins/nitro-ui/_grid.scss +92 -0
  66. data/sass-mixins/nitro-ui/_icon-toggle.scss +37 -0
  67. data/sass-mixins/nitro-ui/_jumbotron.scss +65 -0
  68. data/sass-mixins/nitro-ui/_links.scss +69 -0
  69. data/sass-mixins/nitro-ui/_list-group.scss +219 -0
  70. data/sass-mixins/nitro-ui/_media.scss +66 -0
  71. data/sass-mixins/nitro-ui/_modals.scss +311 -0
  72. data/sass-mixins/nitro-ui/_notify.scss +56 -0
  73. data/sass-mixins/nitro-ui/_popovers.scss +167 -0
  74. data/sass-mixins/nitro-ui/_progress-bars.scss +125 -0
  75. data/sass-mixins/nitro-ui/_responsive-embed.scss +35 -0
  76. data/sass-mixins/nitro-ui/_side-modal.scss +92 -0
  77. data/sass-mixins/nitro-ui/_tables-responsive.scss +253 -0
  78. data/sass-mixins/nitro-ui/_tables.scss +296 -0
  79. data/sass-mixins/nitro-ui/_thumbnails.scss +38 -0
  80. data/sass-mixins/nitro-ui/_tooltip.scss +124 -0
  81. data/sass-mixins/nitro-ui/_typography.scss +176 -0
  82. data/sass-mixins/nitro-ui/_value-stat.scss +149 -0
  83. data/sass-mixins/nitro-ui/_wells.scss +37 -0
  84. data/sass-mixins/nitro-ui/buttons/_all.scss +97 -0
  85. data/sass-mixins/nitro-ui/buttons/_button-capping.scss +21 -0
  86. data/sass-mixins/nitro-ui/buttons/_button-groups.scss +236 -0
  87. data/sass-mixins/nitro-ui/buttons/_button-mixins.scss +66 -0
  88. data/sass-mixins/nitro-ui/buttons/_button-variables.scss +51 -0
  89. data/sass-mixins/nitro-ui/buttons/_choice-buttons.scss +9 -0
  90. data/sass-mixins/nitro-ui/buttons/_circle-buttons.scss +30 -0
  91. data/sass-mixins/nitro-ui/buttons/_close.scss +45 -0
  92. data/sass-mixins/nitro-ui/buttons/_dropdowns.scss +270 -0
  93. data/sass-mixins/nitro-ui/buttons/_ghost-buttons.scss +58 -0
  94. data/sass-mixins/nitro-ui/buttons/_link-buttons.scss +53 -0
  95. data/sass-mixins/nitro-ui/buttons/_solid-buttons.scss +69 -0
  96. data/sass-mixins/nitro-ui/cards-panels/_all.scss +3 -0
  97. data/sass-mixins/nitro-ui/cards-panels/_cards.scss +409 -0
  98. data/sass-mixins/nitro-ui/cards-panels/_collapsible-card.scss +19 -0
  99. data/sass-mixins/nitro-ui/cards-panels/_panel-collapse.scss +34 -0
  100. data/sass-mixins/nitro-ui/cards-panels/_panel-list-groups.scss +41 -0
  101. data/sass-mixins/nitro-ui/cards-panels/_panel-tables.scss +111 -0
  102. data/sass-mixins/nitro-ui/cards-panels/_panels.scss +120 -0
  103. data/sass-mixins/nitro-ui/forms/_all.scss +18 -0
  104. data/sass-mixins/nitro-ui/forms/_checkbox-radio.scss +154 -0
  105. data/sass-mixins/nitro-ui/forms/_checkbox-toggle.scss +77 -0
  106. data/sass-mixins/nitro-ui/forms/_color-feedback.scss +53 -0
  107. data/sass-mixins/nitro-ui/forms/_dropdown.scss +12 -0
  108. data/sass-mixins/nitro-ui/forms/_form-group.scss +104 -0
  109. data/sass-mixins/nitro-ui/forms/_general-element-reset.scss +120 -0
  110. data/sass-mixins/nitro-ui/forms/_help-block.scss +11 -0
  111. data/sass-mixins/nitro-ui/forms/_horizontal-forms.scss +69 -0
  112. data/sass-mixins/nitro-ui/forms/_input-groups.scss +169 -0
  113. data/sass-mixins/nitro-ui/forms/_label.scss +29 -0
  114. data/sass-mixins/nitro-ui/forms/_multi-input-group.scss +89 -0
  115. data/sass-mixins/nitro-ui/forms/_static-form-text.scss +19 -0
  116. data/sass-mixins/nitro-ui/forms/_validation-states.scss +78 -0
  117. data/sass-mixins/nitro-ui/layouts/_sidebar-layout.scss +59 -0
  118. data/sass-mixins/nitro-ui/navigation/_all.scss +36 -0
  119. data/sass-mixins/nitro-ui/navigation/_breadcrumbs.scss +30 -0
  120. data/sass-mixins/nitro-ui/navigation/_pager.scss +71 -0
  121. data/sass-mixins/nitro-ui/navigation/_pagination.scss +212 -0
  122. data/sass-mixins/nitro-ui/navigation/navbar/_brand.scss +25 -0
  123. data/sass-mixins/nitro-ui/navigation/navbar/_collapse-content.scss +49 -0
  124. data/sass-mixins/nitro-ui/navigation/navbar/_default-navbar.scss +33 -0
  125. data/sass-mixins/nitro-ui/navigation/navbar/_dropdowns-buttons.scss +29 -0
  126. data/sass-mixins/nitro-ui/navigation/navbar/_floats.scss +21 -0
  127. data/sass-mixins/nitro-ui/navigation/navbar/_flush.scss +14 -0
  128. data/sass-mixins/nitro-ui/navigation/navbar/_forms.scss +41 -0
  129. data/sass-mixins/nitro-ui/navigation/navbar/_header.scss +31 -0
  130. data/sass-mixins/nitro-ui/navigation/navbar/_inverse-navbar.scss +32 -0
  131. data/sass-mixins/nitro-ui/navigation/navbar/_light-navbar.scss +36 -0
  132. data/sass-mixins/nitro-ui/navigation/navbar/_links.scss +52 -0
  133. data/sass-mixins/nitro-ui/navigation/navbar/_mixins.scss +161 -0
  134. data/sass-mixins/nitro-ui/navigation/navbar/_navbar.scss +29 -0
  135. data/sass-mixins/nitro-ui/navigation/navbar/_position.scss +50 -0
  136. data/sass-mixins/nitro-ui/navigation/navbar/_text.scss +13 -0
  137. data/sass-mixins/nitro-ui/navigation/navbar/_toggle-button.scss +37 -0
  138. data/sass-mixins/nitro-ui/navigation/navbar/_variables.scss +8 -0
  139. data/sass-mixins/nitro-ui/navigation/navs/_nav-dropdowns.scss +10 -0
  140. data/sass-mixins/nitro-ui/navigation/navs/_nav-justified.scss +32 -0
  141. data/sass-mixins/nitro-ui/navigation/navs/_nav-pills.scss +41 -0
  142. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs-justified.scss +30 -0
  143. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs.scss +41 -0
  144. data/sass-mixins/nitro-ui/navigation/navs/_nav.scss +383 -0
  145. data/sass-mixins/nitro-ui/navigation/navs/_navs.scss +70 -0
  146. data/sass-mixins/nitro-ui/navigation/navs/_tabbable-tabs.scss +12 -0
  147. data/sass-mixins/nitro-ui/navigation/navs/_variables.scss +23 -0
  148. data/sass-mixins/nitro-ui/tables/_all.scss +14 -0
  149. data/sass-mixins/nitro-ui/tables/_as-cards.scss +49 -0
  150. data/sass-mixins/nitro-ui/tables/_content.scss +13 -0
  151. data/sass-mixins/nitro-ui/tables/_headers.scss +17 -0
  152. data/sass-mixins/nitro-ui/tables/_hover.scss +66 -0
  153. data/sass-mixins/nitro-ui/tables/_mixins.scss +0 -0
  154. data/sass-mixins/nitro-ui/tables/_mobile.scss +138 -0
  155. data/sass-mixins/nitro-ui/tables/_reset.scss +17 -0
  156. data/sass-mixins/nitro-ui/tables/_single-line.scss +35 -0
  157. data/sass-mixins/nitro-ui/tables/_structure.scss +39 -0
  158. data/sass-mixins/nitro-ui/tables/_table-card.scss +88 -0
  159. data/sass-mixins/nitro-ui/tables/_table-dark.scss +92 -0
  160. data/sass-mixins/nitro-ui/tables/_variables.scss +23 -0
  161. data/sass-mixins/vendor/_bootstrap-overrides.scss +41 -0
  162. data/sass-mixins/vendor/_dropzone.scss +388 -0
  163. data/sass-mixins/vendor/_nitro-bootstrap.scss +95 -0
  164. data/sass-mixins/vendor/_nitro-dropzone.scss +56 -0
  165. data/sass-mixins/vendor/_react-datetime.scss +105 -0
  166. data/sass-mixins/vendor/_selectize.scss +407 -0
  167. data/sass-mixins/vendor/_sweet-alert-extended.scss +3 -0
  168. data/sass-mixins/vendor/react-select.css +375 -0
  169. data/sass-mixins/vendor/svg-with-js.css +5 -0
  170. data/sass-mixins/vendor/type-ahead.scss +43 -0
  171. metadata +170 -2
@@ -0,0 +1,56 @@
1
+ .nitro-notify {
2
+ $notifyHeight: 64px;
3
+ position: fixed;
4
+ left: 0;
5
+ top: -$notifyHeight;
6
+ right: 0;
7
+ z-index: 1000;
8
+ text-align: center;
9
+ height: $notifyHeight;
10
+ padding: $space-base * 1.5 $space-base * 2;
11
+ color: white;
12
+ font-size: $font-large;
13
+ @include transition-property(top);
14
+ @include transition-duration(.5s);
15
+ @include transition-timing-function(ease);
16
+
17
+ @include tablet-and-below {
18
+ font-size: $font-base;
19
+ padding: $space-base * 2;
20
+ .close {
21
+ font-size: $font-small;
22
+ }
23
+ }
24
+
25
+ a {
26
+ color: #fff;
27
+ text-decoration: underline;
28
+ }
29
+
30
+ .close {
31
+ color: #fff;
32
+ opacity: 1;
33
+ font-size: $font-largest;
34
+ font-weight: 300;
35
+ }
36
+
37
+ &.show {
38
+ top: 0px;
39
+ }
40
+ &.hide {
41
+ top: -$notifyHeight;
42
+ }
43
+
44
+ &-info {
45
+ background: $power-blue;
46
+ }
47
+ &-success {
48
+ background: $power-green;
49
+ }
50
+ &-warning {
51
+ background: $dark-orange;
52
+ }
53
+ &-error {
54
+ background: $power-red;
55
+ }
56
+ }
@@ -0,0 +1,167 @@
1
+ $zindex-popover: 1060 !default;
2
+
3
+
4
+
5
+ //== Popovers
6
+ //
7
+ //##
8
+
9
+ //** Popover body background color
10
+ $popover-bg: #fff !default;
11
+ //** Popover maximum width
12
+ $popover-max-width: 276px !default;
13
+ //** Popover border color
14
+ $popover-border-color: rgba(0,0,0,.2) !default;
15
+ //** Popover fallback border color
16
+ $popover-fallback-border-color: #ccc !default;
17
+
18
+ //** Popover title background color
19
+ $popover-title-bg: darken($popover-bg, 3%) !default;
20
+
21
+ //** Popover arrow width
22
+ $popover-arrow-width: 10px !default;
23
+ //** Popover arrow color
24
+ $popover-arrow-color: $popover-bg !default;
25
+
26
+ //** Popover outer arrow width
27
+ $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
28
+ //** Popover outer arrow color
29
+ $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
30
+ //** Popover outer arrow fallback color
31
+ $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
32
+
33
+
34
+
35
+
36
+
37
+ //
38
+ // Popovers
39
+ // --------------------------------------------------
40
+
41
+
42
+ .popover {
43
+ position: absolute;
44
+ top: 0;
45
+ left: 0;
46
+ z-index: $zindex-popover;
47
+ display: none;
48
+ max-width: $popover-max-width;
49
+ padding: 1px;
50
+ // Our parent element can be arbitrary since popovers are by default inserted as a sibling of their target element.
51
+ // So reset our font and text properties to avoid inheriting weird values.
52
+ @include reset-text;
53
+ font-size: $font-size-base;
54
+
55
+ background-color: $popover-bg;
56
+ background-clip: padding-box;
57
+ border: 1px solid $popover-fallback-border-color;
58
+ border: 1px solid $popover-border-color;
59
+ border-radius: $border-radius-large;
60
+ @include box-shadow(0 5px 10px rgba(0,0,0,.2));
61
+
62
+ // Offset the popover to account for the popover arrow
63
+ &.top { margin-top: -$popover-arrow-width; }
64
+ &.right { margin-left: $popover-arrow-width; }
65
+ &.bottom { margin-top: $popover-arrow-width; }
66
+ &.left { margin-left: -$popover-arrow-width; }
67
+ }
68
+
69
+ .popover-title {
70
+ margin: 0; // reset heading margin
71
+ padding: 8px 14px;
72
+ font-size: $font-size-base;
73
+ background-color: $popover-title-bg;
74
+ border-bottom: 1px solid darken($popover-title-bg, 5%);
75
+ border-radius: ($border-radius-large - 1) ($border-radius-large - 1) 0 0;
76
+ }
77
+
78
+ .popover-content {
79
+ padding: 9px 14px;
80
+ }
81
+
82
+ // Arrows
83
+ //
84
+ // .arrow is outer, .arrow:after is inner
85
+
86
+ .popover > .arrow {
87
+ &,
88
+ &:after {
89
+ position: absolute;
90
+ display: block;
91
+ width: 0;
92
+ height: 0;
93
+ border-color: transparent;
94
+ border-style: solid;
95
+ }
96
+ }
97
+ .popover > .arrow {
98
+ border-width: $popover-arrow-outer-width;
99
+ }
100
+ .popover > .arrow:after {
101
+ border-width: $popover-arrow-width;
102
+ content: "";
103
+ }
104
+
105
+ .popover {
106
+ &.top > .arrow {
107
+ left: 50%;
108
+ margin-left: -$popover-arrow-outer-width;
109
+ border-bottom-width: 0;
110
+ border-top-color: $popover-arrow-outer-fallback-color; // IE8 fallback
111
+ border-top-color: $popover-arrow-outer-color;
112
+ bottom: -$popover-arrow-outer-width;
113
+ &:after {
114
+ content: " ";
115
+ bottom: 1px;
116
+ margin-left: -$popover-arrow-width;
117
+ border-bottom-width: 0;
118
+ border-top-color: $popover-arrow-color;
119
+ }
120
+ }
121
+ &.right > .arrow {
122
+ top: 50%;
123
+ left: -$popover-arrow-outer-width;
124
+ margin-top: -$popover-arrow-outer-width;
125
+ border-left-width: 0;
126
+ border-right-color: $popover-arrow-outer-fallback-color; // IE8 fallback
127
+ border-right-color: $popover-arrow-outer-color;
128
+ &:after {
129
+ content: " ";
130
+ left: 1px;
131
+ bottom: -$popover-arrow-width;
132
+ border-left-width: 0;
133
+ border-right-color: $popover-arrow-color;
134
+ }
135
+ }
136
+ &.bottom > .arrow {
137
+ left: 50%;
138
+ margin-left: -$popover-arrow-outer-width;
139
+ border-top-width: 0;
140
+ border-bottom-color: $popover-arrow-outer-fallback-color; // IE8 fallback
141
+ border-bottom-color: $popover-arrow-outer-color;
142
+ top: -$popover-arrow-outer-width;
143
+ &:after {
144
+ content: " ";
145
+ top: 1px;
146
+ margin-left: -$popover-arrow-width;
147
+ border-top-width: 0;
148
+ border-bottom-color: $popover-arrow-color;
149
+ }
150
+ }
151
+
152
+ &.left > .arrow {
153
+ top: 50%;
154
+ right: -$popover-arrow-outer-width;
155
+ margin-top: -$popover-arrow-outer-width;
156
+ border-right-width: 0;
157
+ border-left-color: $popover-arrow-outer-fallback-color; // IE8 fallback
158
+ border-left-color: $popover-arrow-outer-color;
159
+ &:after {
160
+ content: " ";
161
+ right: 1px;
162
+ border-right-width: 0;
163
+ border-left-color: $popover-arrow-color;
164
+ bottom: -$popover-arrow-width;
165
+ }
166
+ }
167
+ }
@@ -0,0 +1,125 @@
1
+ //== Progress bars
2
+ //
3
+ //##
4
+
5
+ //** Background color of the whole progress component
6
+ $progress-bg: #f5f5f5 !default;
7
+ //** Progress bar text color
8
+ $progress-bar-color: #fff !default;
9
+ //** Variable for setting rounded corners on progress bar.
10
+ $progress-border-radius: $border-radius-base !default;
11
+
12
+ //** Default progress bar color
13
+ $progress-bar-bg: $brand-primary !default;
14
+ //** Success progress bar color
15
+ $progress-bar-success-bg: $brand-success !default;
16
+ //** Warning progress bar color
17
+ $progress-bar-warning-bg: $brand-warning !default;
18
+ //** Danger progress bar color
19
+ $progress-bar-danger-bg: $brand-danger !default;
20
+ //** Info progress bar color
21
+ $progress-bar-info-bg: $brand-info !default;
22
+
23
+
24
+
25
+
26
+
27
+ @mixin progress-bar-variant($color) {
28
+ background-color: $color;
29
+
30
+ // Deprecated parent class requirement as of v3.2.0
31
+ .progress-striped & {
32
+ @include gradient-striped;
33
+ }
34
+ }
35
+
36
+
37
+
38
+ //
39
+ // Progress bars
40
+ // --------------------------------------------------
41
+
42
+
43
+ // Bar animations
44
+ // Move to animations
45
+ // -------------------------
46
+
47
+ // WebKit
48
+ @-webkit-keyframes progress-bar-stripes {
49
+ from { background-position: 40px 0; }
50
+ to { background-position: 0 0; }
51
+ }
52
+
53
+ // Spec and IE10+
54
+ @keyframes progress-bar-stripes {
55
+ from { background-position: 40px 0; }
56
+ to { background-position: 0 0; }
57
+ }
58
+
59
+
60
+ // Bar itself
61
+ // -------------------------
62
+
63
+ // Outer container
64
+ .progress {
65
+ overflow: hidden;
66
+ height: $line-height-computed;
67
+ margin-bottom: $line-height-computed;
68
+ background-color: $progress-bg;
69
+ border-radius: $progress-border-radius;
70
+ @include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
71
+ }
72
+
73
+ // Bar of progress
74
+ .progress-bar {
75
+ float: left;
76
+ width: 0%;
77
+ height: 100%;
78
+ font-size: $font-size-small;
79
+ line-height: $line-height-computed;
80
+ color: $progress-bar-color;
81
+ text-align: center;
82
+ background-color: $progress-bar-bg;
83
+ @include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
84
+ @include transition(width .6s ease);
85
+ }
86
+
87
+ // Striped bars
88
+ //
89
+ // `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
90
+ // `.progress-bar-striped` class, which you just add to an existing
91
+ // `.progress-bar`.
92
+ .progress-striped .progress-bar,
93
+ .progress-bar-striped {
94
+ @include gradient-striped;
95
+ background-size: 40px 40px;
96
+ }
97
+
98
+ // Call animation for the active one
99
+ //
100
+ // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
101
+ // `.progress-bar.active` approach.
102
+ .progress.active .progress-bar,
103
+ .progress-bar.active {
104
+ @include animation(progress-bar-stripes 2s linear infinite);
105
+ }
106
+
107
+
108
+ // Variations
109
+ // -------------------------
110
+
111
+ .progress-bar-success {
112
+ @include progress-bar-variant($progress-bar-success-bg);
113
+ }
114
+
115
+ .progress-bar-info {
116
+ @include progress-bar-variant($progress-bar-info-bg);
117
+ }
118
+
119
+ .progress-bar-warning {
120
+ @include progress-bar-variant($progress-bar-warning-bg);
121
+ }
122
+
123
+ .progress-bar-danger {
124
+ @include progress-bar-variant($progress-bar-danger-bg);
125
+ }
@@ -0,0 +1,35 @@
1
+ // Embeds responsive
2
+ //
3
+ // Credit: Nicolas Gallagher and SUIT CSS.
4
+
5
+ .embed-responsive {
6
+ position: relative;
7
+ display: block;
8
+ height: 0;
9
+ padding: 0;
10
+ overflow: hidden;
11
+
12
+ .embed-responsive-item,
13
+ iframe,
14
+ embed,
15
+ object,
16
+ video {
17
+ position: absolute;
18
+ top: 0;
19
+ left: 0;
20
+ bottom: 0;
21
+ height: 100%;
22
+ width: 100%;
23
+ border: 0;
24
+ }
25
+ }
26
+
27
+ // Modifier class for 16:9 aspect ratio
28
+ .embed-responsive-16by9 {
29
+ padding-bottom: 56.25%;
30
+ }
31
+
32
+ // Modifier class for 4:3 aspect ratio
33
+ .embed-responsive-4by3 {
34
+ padding-bottom: 75%;
35
+ }
@@ -0,0 +1,92 @@
1
+ $modalSides:
2
+ "leftModal" 0 auto -25%,
3
+ "rightModal" auto 0 25%;
4
+
5
+ @each $side in $modalSides{
6
+ .#{nth($side,1)}{
7
+ .modal-dialog {
8
+ position: fixed;
9
+ margin: 0;
10
+ right: #{nth($side,3)};
11
+ top: 0;
12
+ left: #{nth($side,2)};
13
+ bottom: auto;
14
+ height: 100vh;
15
+ width: 100%;
16
+ max-width: 40vw;
17
+
18
+
19
+ .mobile_close {
20
+ display: none;
21
+ }
22
+ @include media-max-width($screen-sm-min) {
23
+ max-width: 100%;
24
+
25
+ .mobile_close {
26
+ display: block;
27
+ }
28
+ }
29
+
30
+ .modal-content {
31
+ height: 100%;
32
+ border-radius: 0;
33
+ overflow-y: auto;
34
+ }
35
+
36
+
37
+ }
38
+
39
+
40
+ &.fade:not(.in) .modal-dialog {
41
+ -webkit-transform: translate3d(#{nth($side,4)},0,0);
42
+ transform: translate3d(#{nth($side,4)}, 0, 0);
43
+ }
44
+
45
+
46
+
47
+ //Sizes
48
+ $screenSizes:
49
+ "-xxs" 80px,
50
+ "-xs" 250px,
51
+ "-sm" 400px,
52
+ "-md" 60vw,
53
+ "-lg" 75vw,
54
+ "-xl" 85vw,
55
+ "-full" 100vw,
56
+ "-600" 600px
57
+ "-1000" 1000px;
58
+
59
+ $collapsedSizes:
60
+ "-xs",
61
+ "-sm",
62
+ "-md",
63
+ "-lg";
64
+
65
+ @each $size in $screenSizes{
66
+ &#{nth($size,1)} {
67
+ .modal-dialog {
68
+ max-width: #{nth($size,2)} !important;
69
+ }
70
+ }
71
+ }
72
+
73
+ @each $size in $collapsedSizes{
74
+ $collapseAt:"-collapse#{$size}" "$screen#{$size}-min" ;
75
+ &#{nth($collapseAt,1)}{
76
+ @include media-max-width(#{nth($collapseAt,2)}) {
77
+ .modal-dialog {
78
+ max-width: 100% !important ;
79
+
80
+ .mobile_close {
81
+ display: block;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+
91
+
92
+ //starting edits