less-rails-semantic_ui 2.2.10.0 → 2.2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/assets/fonts/semantic_ui/themes/material/assets/fonts/icons.woff2 +0 -0
  3. data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +119 -19
  4. data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +108 -50
  5. data/assets/javascripts/semantic_ui/definitions/modules/modal.js +41 -16
  6. data/assets/javascripts/semantic_ui/definitions/modules/popup.js +42 -31
  7. data/assets/javascripts/semantic_ui/definitions/modules/search.js +11 -2
  8. data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +1 -4
  9. data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +22 -5
  10. data/assets/stylesheets/semantic_ui/definitions/collections/form.less +43 -43
  11. data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +8 -0
  12. data/assets/stylesheets/semantic_ui/definitions/collections/message.less +3 -0
  13. data/assets/stylesheets/semantic_ui/definitions/collections/table.less +1 -1
  14. data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +24 -0
  15. data/assets/stylesheets/semantic_ui/definitions/elements/input.less +3 -2
  16. data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +13 -13
  17. data/assets/stylesheets/semantic_ui/definitions/elements/step.less +34 -34
  18. data/assets/stylesheets/semantic_ui/definitions/globals/site.less +44 -3
  19. data/assets/stylesheets/semantic_ui/definitions/modules/dimmer.less +18 -1
  20. data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +63 -30
  21. data/assets/stylesheets/semantic_ui/definitions/modules/modal.less +81 -0
  22. data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +0 -10
  23. data/assets/stylesheets/semantic_ui/themes/default/globals/reset.overrides +216 -198
  24. data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +24 -0
  25. data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +7 -5
  26. data/assets/stylesheets/semantic_ui/themes/default/modules/modal.variables +32 -1
  27. data/lib/generators/semantic_ui/install/templates/config/collections/menu.overrides +1 -1
  28. data/lib/less/rails/semantic_ui/version.rb +1 -1
  29. metadata +8 -7
@@ -139,6 +139,30 @@
139
139
  @linkHoverColor : darken(saturate(@linkColor, 20), 15, relative);
140
140
  @linkHoverUnderline : @linkUnderline;
141
141
 
142
+ /*-------------------
143
+ Scroll Bars
144
+ --------------------*/
145
+
146
+ @useCustomScrollbars: true;
147
+
148
+ @customScrollbarWidth: 10px;
149
+
150
+ @trackBackground: rgba(0, 0, 0, 0.1);
151
+ @trackBorderRadius: 0px;
152
+
153
+ @thumbBorderRadius: 5px;
154
+ @thumbBackground: rgba(0, 0, 0, 0.25);
155
+ @thumbTransition: color 0.2s ease;
156
+
157
+ @thumbInactiveBackground: rgba(0, 0, 0, 0.15);
158
+ @thumbHoverBackground: rgba(128, 135, 139, 0.8);
159
+
160
+ /* Inverted */
161
+ @trackInvertedBackground: rgba(255, 255, 255, 0.1);
162
+ @thumbInvertedBackground: rgba(255, 255, 255, 0.25);
163
+ @thumbInvertedInactiveBackground: rgba(255, 255, 255, 0.15);
164
+ @thumbInvertedHoverBackground: rgba(255, 255, 255, 0.35);
165
+
142
166
  /*-------------------
143
167
  Highlighted Text
144
168
  --------------------*/
@@ -94,6 +94,7 @@
94
94
 
95
95
  /* Menu Image */
96
96
  @menuImageMaxHeight: 2em;
97
+ @menuImageVerticalMargin: -(@menuImageMaxHeight - 1em) / 2;
97
98
 
98
99
  /* Item Sub-Element */
99
100
  @itemElementFloat: none;
@@ -159,7 +160,7 @@
159
160
  @selectionIconZIndex: 3;
160
161
  @selectionIconHitbox: @selectionVerticalPadding;
161
162
  @selectionIconMargin: -@selectionIconHitbox;
162
- @selectionIconPadding: @selectionIconHitbox;
163
+ @selectionIconPadding: @selectionIconHitbox / @dropdownIconSize;
163
164
  @selectionIconTransition: opacity @defaultDuration @defaultEasing;
164
165
 
165
166
  @selectionMenuBorderRadius: 0em 0em @borderRadius @borderRadius;
@@ -341,10 +342,11 @@
341
342
 
342
343
  /* Flyout Direction */
343
344
  @leftMenuDropdownIconFloat: left;
344
- @leftMenuDropdownIconMargin: @itemLineHeightOffset @itemElementDistance 0em 0em;
345
+ @leftMenuDropdownIconMargin: @itemLineHeightOffset 0em 0em 0em;
345
346
 
346
347
  /* Left */
347
348
  @leftSubMenuBorderRadius: @borderRadius;
349
+ @leftSubMenuMargin: 0em @subMenuDistanceAway 0em 0em;
348
350
 
349
351
  /* Simple */
350
352
  @simpleTransitionDuration: @defaultDuration;
@@ -361,13 +363,13 @@
361
363
 
362
364
  @pointingArrowBackground: @white;
363
365
  @pointingArrowZIndex: 2;
364
- @pointingArrowBoxShadow: -@menuBorderWidth -@menuBorderWidth 0px @menuBorderWidth @menuBorderColor;
366
+ @pointingArrowBoxShadow: -@menuBorderWidth -@menuBorderWidth 0px 0px @menuBorderColor;
365
367
  @pointingArrowSize: @relative7px;
366
368
 
367
369
  @pointingMenuDistance: @mini;
368
370
  @pointingMenuBorderRadius: @borderRadius;
369
- @pointingArrowBoxShadow: -@menuBorderWidth -@menuBorderWidth 0px @menuBorderWidth @menuBorderColor;
371
+ @pointingArrowBoxShadow: -@menuBorderWidth -@menuBorderWidth 0px 0px @menuBorderColor;
370
372
 
371
373
  /* Pointing Upward */
372
374
  @pointingUpwardMenuBorderRadius: @borderRadius;
373
- @pointingUpwardArrowBoxShadow: @menuBorderWidth @menuBorderWidth 0px @menuBorderWidth @menuBorderColor;
375
+ @pointingUpwardArrowBoxShadow: @menuBorderWidth @menuBorderWidth 0px 0px @menuBorderColor;
@@ -115,15 +115,46 @@
115
115
  @scrollingMargin: 3.5rem;
116
116
  @mobileScrollingMargin: 1rem;
117
117
 
118
+ /* Scrolling Content */
119
+ @scrollingContentMaxHeight: calc(80vh - 10em);
120
+
118
121
  /*-------------------
119
122
  Variations
120
123
  --------------------*/
121
124
 
122
125
  /* Size Widths */
126
+ @miniRatio: 0.4;
127
+ @tinyRatio: 0.6;
123
128
  @smallRatio: 0.8;
124
129
  @largeRatio: 1.2;
125
130
 
126
131
  /* Derived Responsive Sizes */
132
+ @miniHeaderSize: 1.3em;
133
+ @miniMobileWidth: @mobileWidth;
134
+ @miniTabletWidth: (@tabletWidth * @miniRatio);
135
+ @miniComputerWidth: (@computerWidth * @miniRatio);
136
+ @miniLargeMonitorWidth: (@largeMonitorWidth * @miniRatio);
137
+ @miniWidescreenMonitorWidth: (@widescreenMonitorWidth * @miniRatio);
138
+
139
+ @miniMobileMargin: 0em 0em 0em -(@miniMobileWidth / 2);
140
+ @miniTabletMargin: 0em 0em 0em -(@miniTabletWidth / 2);
141
+ @miniComputerMargin: 0em 0em 0em -(@miniComputerWidth / 2);
142
+ @miniLargeMonitorMargin: 0em 0em 0em -(@miniLargeMonitorWidth / 2);
143
+ @miniWidescreenMonitorMargin: 0em 0em 0em -(@miniWidescreenMonitorWidth / 2);
144
+
145
+ @tinyHeaderSize: 1.3em;
146
+ @tinyMobileWidth: @mobileWidth;
147
+ @tinyTabletWidth: (@tabletWidth * @tinyRatio);
148
+ @tinyComputerWidth: (@computerWidth * @tinyRatio);
149
+ @tinyLargeMonitorWidth: (@largeMonitorWidth * @tinyRatio);
150
+ @tinyWidescreenMonitorWidth: (@widescreenMonitorWidth * @tinyRatio);
151
+
152
+ @tinyMobileMargin: 0em 0em 0em -(@tinyMobileWidth / 2);
153
+ @tinyTabletMargin: 0em 0em 0em -(@tinyTabletWidth / 2);
154
+ @tinyComputerMargin: 0em 0em 0em -(@tinyComputerWidth / 2);
155
+ @tinyLargeMonitorMargin: 0em 0em 0em -(@tinyLargeMonitorWidth / 2);
156
+ @tinyWidescreenMonitorMargin: 0em 0em 0em -(@tinyWidescreenMonitorWidth / 2);
157
+
127
158
  @smallHeaderSize: 1.3em;
128
159
  @smallMobileWidth: @mobileWidth;
129
160
  @smallTabletWidth: (@tabletWidth * @smallRatio);
@@ -148,4 +179,4 @@
148
179
  @largeTabletMargin: 0em 0em 0em -(@largeTabletWidth / 2);
149
180
  @largeComputerMargin: 0em 0em 0em -(@largeComputerWidth / 2);
150
181
  @largeLargeMonitorMargin: 0em 0em 0em -(@largeLargeMonitorWidth / 2);
151
- @largeWidescreenMonitorMargin: 0em 0em 0em -(@largeWidescreenMonitorWidth / 2);
182
+ @largeWidescreenMonitorMargin: 0em 0em 0em -(@largeWidescreenMonitorWidth / 2);
@@ -1,3 +1,3 @@
1
1
  /*******************************
2
2
  Site Overrides
3
- *******************************/
3
+ *******************************/
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module SemanticUI
4
- VERSION = '2.2.10.0'
4
+ VERSION = '2.2.11.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails-semantic_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.10.0
4
+ version: 2.2.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Dobryakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-09 00:00:00.000000000 Z
11
+ date: 2017-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails
@@ -62,16 +62,16 @@ dependencies:
62
62
  name: rack
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ">="
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 2.0.0
67
+ version: '1'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ">="
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 2.0.0
74
+ version: '1'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minispec
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -192,6 +192,7 @@ files:
192
192
  - assets/fonts/semantic_ui/themes/material/assets/fonts/icons.svg
193
193
  - assets/fonts/semantic_ui/themes/material/assets/fonts/icons.ttf
194
194
  - assets/fonts/semantic_ui/themes/material/assets/fonts/icons.woff
195
+ - assets/fonts/semantic_ui/themes/material/assets/fonts/icons.woff2
195
196
  - assets/images/semantic_ui/themes/default/assets/images/flags.png
196
197
  - assets/javascripts/semantic_ui/definitions/behaviors/api.js
197
198
  - assets/javascripts/semantic_ui/definitions/behaviors/colorize.js
@@ -2465,7 +2466,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2465
2466
  version: '0'
2466
2467
  requirements: []
2467
2468
  rubyforge_project:
2468
- rubygems_version: 2.4.5.1
2469
+ rubygems_version: 2.4.8
2469
2470
  signing_key:
2470
2471
  specification_version: 4
2471
2472
  summary: Semantic UI assets for Rails