ui_bibz 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -5
  3. data/app/assets/javascripts/form.coffee +1 -1
  4. data/app/assets/javascripts/ui_bibz.coffee.erb +3 -1
  5. data/app/assets/stylesheets/fix-bootstrap-4.sass +2 -2
  6. data/app/assets/stylesheets/ui_bibz.sass.erb +0 -3
  7. data/lib/ui_bibz.rb +1 -0
  8. data/lib/ui_bibz/infos.rb +2 -2
  9. data/ui_bibz.gemspec +1 -0
  10. data/vendor/assets/fonts/fa-brands-400.eot +0 -0
  11. data/vendor/assets/fonts/fa-brands-400.svg +3293 -1181
  12. data/vendor/assets/fonts/fa-brands-400.ttf +0 -0
  13. data/vendor/assets/fonts/fa-brands-400.woff +0 -0
  14. data/vendor/assets/fonts/fa-brands-400.woff2 +0 -0
  15. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  16. data/vendor/assets/fonts/fa-regular-400.svg +796 -464
  17. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  18. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  19. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  20. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  21. data/vendor/assets/fonts/fa-solid-900.svg +4513 -2615
  22. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  23. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  24. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  25. data/vendor/assets/javascripts/all.js +3815 -3316
  26. data/vendor/assets/javascripts/all.min.js +1 -5
  27. data/vendor/assets/javascripts/bootstrap-select.js.map +1 -1
  28. data/vendor/assets/javascripts/bootstrap-select.min.js +6 -6
  29. data/vendor/assets/stylesheets/all.min.css +2 -2
  30. data/vendor/assets/stylesheets/bootstrap-select.css.map +1 -0
  31. data/vendor/assets/stylesheets/bootstrap-select.min.css +4 -4
  32. data/vendor/assets/stylesheets/fontawesome/_icons.scss +91 -0
  33. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +3 -2
  34. data/vendor/assets/stylesheets/fontawesome/_variables.scss +93 -1
  35. data/vendor/assets/stylesheets/fontawesome/brands.scss +1 -4
  36. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +0 -4
  37. data/vendor/assets/stylesheets/fontawesome/regular.scss +1 -4
  38. data/vendor/assets/stylesheets/fontawesome/solid.scss +1 -4
  39. data/vendor/assets/stylesheets/fontawesome/v4-shims.scss +0 -4
  40. metadata +17 -3
  41. data/app/assets/stylesheets/fix-dropdown-select.sass +0 -272
@@ -1,13 +1,10 @@
1
- /*!
2
- * Font Awesome Free 5.5.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
1
  @import 'variables';
6
2
 
7
3
  @font-face {
8
4
  font-family: 'Font Awesome 5 Brands';
9
5
  font-style: normal;
10
6
  font-weight: normal;
7
+ font-display: $fa-font-display;
11
8
  src: url('#{$fa-font-path}/fa-brands-400.eot');
12
9
  src: url('#{$fa-font-path}/fa-brands-400.eot?#iefix') format('embedded-opentype'),
13
10
  url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
@@ -1,7 +1,3 @@
1
- /*!
2
- * Font Awesome Free 5.5.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
1
  @import 'variables';
6
2
  @import 'mixins';
7
3
  @import 'core';
@@ -1,13 +1,10 @@
1
- /*!
2
- * Font Awesome Free 5.5.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
1
  @import 'variables';
6
2
 
7
3
  @font-face {
8
4
  font-family: 'Font Awesome 5 Free';
9
5
  font-style: normal;
10
6
  font-weight: 400;
7
+ font-display: $fa-font-display;
11
8
  src: url('#{$fa-font-path}/fa-regular-400.eot');
12
9
  src: url('#{$fa-font-path}/fa-regular-400.eot?#iefix') format('embedded-opentype'),
13
10
  url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
@@ -1,13 +1,10 @@
1
- /*!
2
- * Font Awesome Free 5.5.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
1
  @import 'variables';
6
2
 
7
3
  @font-face {
8
4
  font-family: 'Font Awesome 5 Free';
9
5
  font-style: normal;
10
6
  font-weight: 900;
7
+ font-display: $fa-font-display;
11
8
  src: url('#{$fa-font-path}/fa-solid-900.eot');
12
9
  src: url('#{$fa-font-path}/fa-solid-900.eot?#iefix') format('embedded-opentype'),
13
10
  url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
@@ -1,6 +1,2 @@
1
- /*!
2
- * Font Awesome Free 5.5.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */
5
1
  @import 'variables';
6
2
  @import 'shims';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-08 00:00:00.000000000 Z
11
+ date: 2019-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: 5.0.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: popper_js
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: bootstrap
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -249,7 +263,6 @@ files:
249
263
  - app/assets/stylesheets/boxes.sass
250
264
  - app/assets/stylesheets/containers.sass
251
265
  - app/assets/stylesheets/fix-bootstrap-4.sass
252
- - app/assets/stylesheets/fix-dropdown-select.sass
253
266
  - app/assets/stylesheets/fix_addon.sass
254
267
  - app/assets/stylesheets/forms.sass
255
268
  - app/assets/stylesheets/navigations.sass
@@ -571,6 +584,7 @@ files:
571
584
  - vendor/assets/stylesheets/bootstrap-datepicker3.min.css
572
585
  - vendor/assets/stylesheets/bootstrap-markdown.min.css
573
586
  - vendor/assets/stylesheets/bootstrap-multiselect.min.css
587
+ - vendor/assets/stylesheets/bootstrap-select.css.map
574
588
  - vendor/assets/stylesheets/bootstrap-select.min.css
575
589
  - vendor/assets/stylesheets/bootstrap-switch.min.css
576
590
  - vendor/assets/stylesheets/bootstrap-theme.min.css
@@ -1,272 +0,0 @@
1
- // fix bootstrap-select
2
-
3
- //
4
- // Dropdown menus
5
- // --------------------------------------------------
6
-
7
- $fix-caret-width-base: 4px !default
8
- $fix-dropdown-fallback-border: #ccc !default
9
- $fix-border-radius-base: #ccc !default
10
- $fix-border-radius-base: 4px !default
11
- $fix-border-radius-large: 6px !default
12
- $fix-border-radius-small: 3px !default
13
- $fix-line-height-base: 1.428571429 !default
14
- $fix-font-size-base: 14px
15
- $fix-font-size-large: ceil(($fix-font-size-base * 1.25))
16
- $fix-font-size-small: ceil(($fix-font-size-base * 0.85))
17
- $fix-line-height-computed: floor(($fix-font-size-base * $fix-line-height-base)) !default
18
- $fix-screen-sm: 768px
19
- $fix-screen-sm-min: $fix-screen-sm
20
- $fix-screen-md: 992px
21
- $fix-screen-md-min: $fix-screen-md
22
- $fix-screen-sm-max: ($fix-screen-md-min - 1)
23
- $fix-grid-float-breakpoint: $fix-screen-sm-min
24
- $fix-zindex-dropdown: 1000
25
- $fix-dropdown-bg: #fff
26
- $fix-dropdown-border: rgba(0,0,0,.15)
27
- $fix-dropdown-divider-bg: #e5e5e5
28
- $fix-dropdown-link-color: $gray-dark
29
- $fix-dropdown-link-hover-color: darken($gray-dark, 5%)
30
- $fix-dropdown-link-hover-bg: #f5f5f
31
- $fix-dropdown-link-active-color: $component-active-color
32
- $fix-dropdown-link-active-bg: $component-active-bg
33
- $fix-dropdown-link-disabled-color: $gray-light
34
- $fix-cursor-disabled: not-allowed
35
- $fix-dropdown-header-color: $gray-light
36
- $fix-dropdown-caret-color: #000
37
-
38
-
39
- div.bootstrap-select
40
- width: 100% !important
41
-
42
- // Dropdown arrow/caret
43
- .dropdown_select .caret
44
- display: inline-block
45
- width: 0
46
- height: 0
47
- margin-left: 2px
48
- vertical-align: middle
49
- border-top: $fix-caret-width-base dashed
50
- border-top: $fix-caret-width-base solid \9
51
- // IE8
52
- border-right: $fix-caret-width-base solid transparent
53
- border-left: $fix-caret-width-base solid transparent
54
-
55
- // The dropdown wrapper (div)
56
-
57
- .dropdown_select .dropup
58
- position: relative
59
-
60
- // Prevent the focus on the dropdown toggle when closing dropdowns
61
- .dropdown_select .dropdown-toggle:focus
62
- outline: 0
63
- .dropdown_select .dropdown-toggle::after
64
- display: none
65
-
66
- // The dropdown menu (ul)
67
- .dropdown_select .dropdown-menu
68
- position: absolute
69
- top: 100%
70
- left: 0
71
- z-index: $fix-zindex-dropdown
72
- display: none
73
- // none by default, but block on "open" of the menu
74
- float: left
75
- min-width: 160px
76
- padding: 5px 0
77
- margin: 2px 0 0
78
- // override default ul
79
- list-style: none
80
- font-size: $fix-font-size-base
81
- text-align: left
82
- // Ensures proper alignment if parent has it changed (e.g., modal footer)
83
- background-color: $fix-dropdown-bg
84
- border: 1px solid $fix-dropdown-fallback-border
85
- // IE8 fallback
86
- border: 1px solid $fix-dropdown-border
87
- border-radius: $fix-border-radius-base
88
- box-shadow: 0 6px 12px
89
- background-clip: padding-box
90
- // Aligns the dropdown menu to right
91
- //
92
- // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
93
- &.pull-right
94
- right: 0
95
- left: auto
96
- // Dividers (basically an hr) within the dropdown
97
- .divider
98
- height: 1px
99
- margin: (($fix-line-height-computed / 2) - 1) 0
100
- overflow: hidden
101
- background-color: $fix-dropdown-divider-bg
102
- // Links within the dropdown menu
103
- > li > a
104
- display: block
105
- padding: 3px 20px
106
- clear: both
107
- font-weight: normal
108
- line-height: $fix-line-height-base
109
- color: $fix-dropdown-link-color
110
- white-space: nowrap
111
- // prevent links from randomly breaking onto new lines
112
-
113
- // Hover/Focus state
114
- .dropdown_select .dropdown-menu > li > a
115
- &:hover,
116
- &:focus
117
- text-decoration: none
118
- color: $fix-dropdown-link-hover-color
119
- background-color: $fix-dropdown-link-hover-bg
120
-
121
- // Active state
122
- .dropdown_select .dropdown-menu > .active > a
123
- &,
124
- &:hover,
125
- &:focus
126
- color: $fix-dropdown-link-active-color
127
- text-decoration: none
128
- outline: 0
129
- background-color: $fix-dropdown-link-active-bg
130
-
131
- // Disabled state
132
- //
133
- // Gray out text and ensure the hover/focus state remains gray
134
-
135
- .dropdown_select .dropdown-menu > .disabled > a
136
- &,
137
- &:hover,
138
- &:focus
139
- color: $fix-dropdown-link-disabled-color
140
- // Nuke hover/focus effects
141
- &:hover,
142
- &:focus
143
- text-decoration: none
144
- background-color: transparent
145
- background-image: none
146
- // Remove CSS gradient
147
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false)
148
- cursor: $fix-cursor-disabled
149
-
150
- // Open state for the dropdown
151
- .dropdown_select .open
152
- // Show the menu
153
- > .dropdown-menu
154
- display: block
155
- // Remove the outline when :focus is triggered
156
- > a
157
- outline: 0
158
-
159
- // Menu positioning
160
- //
161
- // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
162
- // menu with the parent.
163
- .dropdown_select .dropdown-menu-right
164
- left: auto
165
- // Reset the default from `.dropdown-menu`
166
- right: 0
167
-
168
- // With v3, we enabled auto-flipping if you have a dropdown within a right
169
- // aligned nav component. To enable the undoing of that, we provide an override
170
- // to restore the default dropdown menu alignment.
171
- //
172
- // This is only for left-aligning a dropdown menu within a `.navbar-right` or
173
- // `.pull-right` nav component.
174
- .dropdown_select .dropdown-menu-left
175
- left: 0
176
- right: auto
177
-
178
- // Dropdown section headers
179
- .dropdown_select .dropdown-header
180
- display: block
181
- padding: 3px 20px
182
- font-size: $fix-font-size-small
183
- line-height: $fix-line-height-base
184
- color: $fix-dropdown-header-color
185
- white-space: nowrap
186
- // as with > li > a
187
-
188
- // Backdrop to catch body clicks on mobile, etc.
189
- .dropdown_select .dropdown-backdrop
190
- position: fixed
191
- left: 0
192
- right: 0
193
- bottom: 0
194
- top: 0
195
- z-index: $fix-zindex-dropdown - 10
196
-
197
- // Right aligned dropdowns
198
- .dropdown_select .pull-right > .dropdown-menu
199
- right: 0
200
- left: auto
201
-
202
- // Allow for dropdowns to go bottom up (aka, dropup-menu)
203
- //
204
- // Just add .dropup after the standard .dropdown class and you're set, bro.
205
- // TODO: abstract this so that the navbar fixed styles are not placed here?
206
-
207
- .dropdown_select .dropup
208
- // Reverse the caret
209
- .caret
210
- border-top: 0
211
- border-bottom: $fix-caret-width-base dashed
212
- border-bottom: $fix-caret-width-base solid \9
213
- // IE8
214
- content: ""
215
- // Different positioning for bottom up menu
216
- .dropdown-menu
217
- top: auto
218
- bottom: 100%
219
- margin-bottom: 2px
220
-
221
- // Component alignment
222
- //
223
- // Reiterate per navbar.less and the modified component alignment there.
224
-
225
- @media (min-width: $fix-grid-float-breakpoint)
226
- .dropdown_select .navbar-right
227
- .dropdown-menu
228
- right: 0
229
- left: auto
230
- // Necessary for overrides of the default right aligned menu.
231
- // Will remove come v4 in all likelihood.
232
- .dropdown-menu-left
233
- left: 0
234
- right: auto
235
-
236
- // fix dropdown select
237
- .dropdown_select, .bootstrap-select
238
- li
239
- padding-left: 16px
240
- .hidden
241
- display: none !important
242
-
243
- .field-refresh
244
- .input-refresh-button
245
- padding: 0.62rem 1rem
246
-
247
- .multiselect-container > li > a > label
248
- padding: 3px 1.5rem
249
-
250
- .bootstrap-select > .dropdown-menu > .dropdown-menu li a
251
- display: block
252
- width: 100%
253
- padding: 3px 1.5rem
254
- clear: both
255
- font-weight: 400
256
- color: #292b2c
257
- text-align: inherit
258
- white-space: nowrap
259
- background: 0 0
260
- border: 0px
261
- min-height: 2rem
262
-
263
- .bootstrap-select > .dropdown-menu > .dropdown-menu li a:focus
264
- outline: none
265
-
266
- .bootstrap-select > .dropdown-menu > .dropdown-menu li:hover, .bootstrap-select > .dropdown-menu > .dropdown-menu li.selected
267
- color: white
268
- background-color: theme-color(primary)
269
- a
270
- color: white
271
- border: 0px
272
-