tusur_header 0.2.15 → 0.2.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/tusur_header/templates/403.html +15 -39
  3. data/lib/generators/tusur_header/templates/404.html +15 -39
  4. data/lib/generators/tusur_header/templates/500.html +14 -42
  5. data/lib/generators/tusur_header/templates/502.html +14 -42
  6. data/lib/tusur_header/menu_links.rb +5 -1
  7. data/lib/tusur_header/version.rb +1 -1
  8. data/test/dummy/public/403.html +15 -54
  9. data/test/dummy/public/404.html +15 -54
  10. data/test/dummy/public/500.html +14 -57
  11. data/test/dummy/public/502.html +14 -57
  12. data/vendor/assets/fonts/NekstBlack.eot +0 -0
  13. data/vendor/assets/fonts/NekstBlack.otf +0 -0
  14. data/vendor/assets/fonts/NekstBlack.ttf +0 -0
  15. data/vendor/assets/fonts/NekstBlack.woff +0 -0
  16. data/vendor/assets/fonts/NekstBlack.woff2 +0 -0
  17. data/vendor/assets/fonts/NekstLight.eot +0 -0
  18. data/vendor/assets/fonts/NekstLight.otf +0 -0
  19. data/vendor/assets/fonts/NekstLight.ttf +0 -0
  20. data/vendor/assets/fonts/NekstLight.woff +0 -0
  21. data/vendor/assets/fonts/NekstLight.woff2 +0 -0
  22. data/vendor/assets/fonts/NekstMedium.eot +0 -0
  23. data/vendor/assets/fonts/NekstMedium.otf +0 -0
  24. data/vendor/assets/fonts/NekstMedium.ttf +0 -0
  25. data/vendor/assets/fonts/NekstMedium.woff +0 -0
  26. data/vendor/assets/fonts/NekstMedium.woff2 +0 -0
  27. data/vendor/assets/fonts/NekstRegular.eot +0 -0
  28. data/vendor/assets/fonts/NekstRegular.otf +0 -0
  29. data/vendor/assets/fonts/NekstRegular.ttf +0 -0
  30. data/vendor/assets/fonts/NekstRegular.woff +0 -0
  31. data/vendor/assets/fonts/NekstRegular.woff2 +0 -0
  32. data/vendor/assets/fonts/NekstSemiBold.eot +0 -0
  33. data/vendor/assets/fonts/NekstSemiBold.otf +0 -0
  34. data/vendor/assets/fonts/NekstSemiBold.ttf +0 -0
  35. data/vendor/assets/fonts/NekstSemiBold.woff +0 -0
  36. data/vendor/assets/fonts/NekstSemiBold.woff2 +0 -0
  37. data/vendor/assets/fonts/NekstThin.eot +0 -0
  38. data/vendor/assets/fonts/NekstThin.otf +0 -0
  39. data/vendor/assets/fonts/NekstThin.ttf +0 -0
  40. data/vendor/assets/fonts/NekstThin.woff +0 -0
  41. data/vendor/assets/fonts/NekstThin.woff2 +0 -0
  42. data/vendor/assets/images/error-bg.svg +3 -0
  43. data/vendor/assets/images/error-text-404.svg +6 -0
  44. data/vendor/assets/images/error-text.svg +6 -0
  45. data/vendor/assets/images/footer-logo.svg +27 -0
  46. data/vendor/assets/images/logotype.svg +29 -0
  47. data/vendor/assets/images/robot.svg +45 -0
  48. data/vendor/assets/stylesheets/_error_pages.sass +65 -58
  49. data/vendor/assets/stylesheets/_fonts.sass +20 -0
  50. data/vendor/assets/stylesheets/_override.sass +10 -72
  51. data/vendor/assets/stylesheets/tusur_header.sass +3 -0
  52. metadata +40 -3
@@ -194,9 +194,11 @@
194
194
  background-color: #428bca
195
195
 
196
196
  .navbar.navbar-inverse.navbar-fixed-top
197
+ position: relative
197
198
  background: #fff
198
- border-bottom: none
199
- min-height: 40px
199
+ padding: 30px 0
200
+ border-bottom: 1px solid #3c388d
201
+ margin: 0
200
202
 
201
203
  .disabled
202
204
  cursor: default !important
@@ -232,71 +234,13 @@
232
234
  color: #9a9a9a
233
235
  margin-left: 6px
234
236
 
235
- .navbar-header
236
- border-right: solid 1px #ccc
237
- height: 40px
238
- a
239
- margin: 10px 0 0 10px
237
+ .navbar-inner
240
238
 
241
239
  .navbar-brand
242
- background: image_url('tusur_logotype.png') no-repeat
243
- height: 24px
244
- width: 219px
245
- margin-top: 7px
246
- padding: 0
247
-
248
- .nav.navbar-nav
249
- border-right: solid 1px #ccc
250
-
251
- .open
252
- .dropdown-toggle
253
- background: #f3f3f3
254
- color: #000
255
- z-index: 1101
256
-
257
- .dropdown-menu
258
- +border-radius(0)
259
- +box-shadow(none)
260
- background: #f3f3f3
261
- border-top: 0
262
- left: -1px
263
-
264
- li
265
- a
266
- color: #000
267
- padding: 3px 15px
268
- text-decoration: none
269
-
270
- &:hover
271
- color: #005bae
272
- background: #e5e5e5
273
- text-decoration: none
274
-
275
- &.active a
276
- color: #fff
277
- text-decoration: none
278
-
279
- &.navbar-right
280
- border-left: solid 1px #ccc
281
- border-right: none
282
-
283
- a
284
- text-decoration: none
285
-
286
- &:last-child
287
- margin-right: 0
288
-
289
- .open
290
- .dropdown-menu
291
- +border-radius(0)
292
- +box-shadow(none)
293
- background: #f3f3f3
294
- border-top: 0
295
- left: auto
296
-
297
- li
298
- a
299
- color: #000
240
+ background: image_url('logotype.svg') no-repeat
241
+ height: 46px
242
+ width: 164px
243
+ margin: 0
300
244
 
301
245
  .auth_block
302
246
  border: none !important
@@ -348,10 +292,4 @@
348
292
  border-bottom: 1px solid #ccc
349
293
 
350
294
  .active
351
- background: #fff !important
352
-
353
- .tusur_header_wrapper
354
- height: 40px
355
-
356
- #menu_first, #menu_second
357
- display: none
295
+ background: #fff !important
@@ -46,6 +46,9 @@
46
46
  //@import 'bootstrap/popovers'
47
47
  //@import 'bootstrap/carousel'
48
48
 
49
+ // Fonts
50
+ @import 'fonts'
51
+
49
52
  // Utility classes
50
53
  //@import 'bootstrap/utilities'
51
54
  @import 'bootstrap/responsive-utilities'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tusur_header
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
4
+ version: 0.2.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeny Lapin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -149,11 +149,47 @@ files:
149
149
  - test/test_helper.rb
150
150
  - test/tusur_header_test.rb
151
151
  - tusur_header.gemspec
152
+ - vendor/assets/fonts/NekstBlack.eot
153
+ - vendor/assets/fonts/NekstBlack.otf
154
+ - vendor/assets/fonts/NekstBlack.ttf
155
+ - vendor/assets/fonts/NekstBlack.woff
156
+ - vendor/assets/fonts/NekstBlack.woff2
157
+ - vendor/assets/fonts/NekstLight.eot
158
+ - vendor/assets/fonts/NekstLight.otf
159
+ - vendor/assets/fonts/NekstLight.ttf
160
+ - vendor/assets/fonts/NekstLight.woff
161
+ - vendor/assets/fonts/NekstLight.woff2
162
+ - vendor/assets/fonts/NekstMedium.eot
163
+ - vendor/assets/fonts/NekstMedium.otf
164
+ - vendor/assets/fonts/NekstMedium.ttf
165
+ - vendor/assets/fonts/NekstMedium.woff
166
+ - vendor/assets/fonts/NekstMedium.woff2
167
+ - vendor/assets/fonts/NekstRegular.eot
168
+ - vendor/assets/fonts/NekstRegular.otf
169
+ - vendor/assets/fonts/NekstRegular.ttf
170
+ - vendor/assets/fonts/NekstRegular.woff
171
+ - vendor/assets/fonts/NekstRegular.woff2
172
+ - vendor/assets/fonts/NekstSemiBold.eot
173
+ - vendor/assets/fonts/NekstSemiBold.otf
174
+ - vendor/assets/fonts/NekstSemiBold.ttf
175
+ - vendor/assets/fonts/NekstSemiBold.woff
176
+ - vendor/assets/fonts/NekstSemiBold.woff2
177
+ - vendor/assets/fonts/NekstThin.eot
178
+ - vendor/assets/fonts/NekstThin.otf
179
+ - vendor/assets/fonts/NekstThin.ttf
180
+ - vendor/assets/fonts/NekstThin.woff
181
+ - vendor/assets/fonts/NekstThin.woff2
152
182
  - vendor/assets/images/403.png
153
183
  - vendor/assets/images/404.png
154
184
  - vendor/assets/images/500.png
155
185
  - vendor/assets/images/502.png
186
+ - vendor/assets/images/error-bg.svg
187
+ - vendor/assets/images/error-text-404.svg
188
+ - vendor/assets/images/error-text.svg
189
+ - vendor/assets/images/footer-logo.svg
190
+ - vendor/assets/images/logotype.svg
156
191
  - vendor/assets/images/mail.png
192
+ - vendor/assets/images/robot.svg
157
193
  - vendor/assets/images/tusur_logotype.png
158
194
  - vendor/assets/javascripts/tusur_header.js
159
195
  - vendor/assets/javascripts/tusur_header_flash.js.coffee
@@ -161,6 +197,7 @@ files:
161
197
  - vendor/assets/stylesheets/_buttons.sass
162
198
  - vendor/assets/stylesheets/_error_pages.sass
163
199
  - vendor/assets/stylesheets/_flash.sass
200
+ - vendor/assets/stylesheets/_fonts.sass
164
201
  - vendor/assets/stylesheets/_override.sass
165
202
  - vendor/assets/stylesheets/_pagination.sass
166
203
  - vendor/assets/stylesheets/_search_form.sass
@@ -183,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
220
  - !ruby/object:Gem::Version
184
221
  version: '0'
185
222
  requirements: []
186
- rubygems_version: 3.3.22
223
+ rubygems_version: 3.1.2
187
224
  signing_key:
188
225
  specification_version: 4
189
226
  summary: ''