rbbt-rest 1.6.22 → 1.6.23

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 110620bc324d7c75a8fe1a8f20c7e61b3612c373
4
- data.tar.gz: 1ef09f30a13ea2e1641032479be10cac04774d38
3
+ metadata.gz: fe452f7ab3535d42bf6bc61b3a995d27aa68710d
4
+ data.tar.gz: 0a42bf37d03a0f1346442f2450b792c0a452b946
5
5
  SHA512:
6
- metadata.gz: 307970ba88b8ccf83ecbbfe7110fb339c6e4697c86762733e029c36596ededb7f29ffc77017b3d01db96095503faf56f2017b17677e5d152a4e0f83501b2d216
7
- data.tar.gz: 95e04a9112cd3cf9849e0dbfa7669b703669c6bd6cb90106baf224e343dd00879c8a417bd3bb44052e1bdb693512c2f1d4d0fa2606844ba9308a05ea1521fbb0
6
+ metadata.gz: 39c10929d4ac7d5a5ac1500f8fe17e0cce94bde02ea3bfcf74d90e75a88a243dac937918ef64c710005d792fead513105112b710588a9e7d2c32204bd273d9c0
7
+ data.tar.gz: 67cf973217e8e35ddf9e372545aff20e3cba4b5cb62daa70750d64d93d078b31663aab028acc6b827ccc5f2e7f817dd11dd3fdbd5f34f0dbe4a295387df2b1fb
@@ -24,6 +24,8 @@ body
24
24
  width: 100%
25
25
  margin-bottom: 2em
26
26
  @extend .clearfix
27
+ p
28
+ max-width: 65em
27
29
 
28
30
  #top_menu
29
31
  z-index: 100
@@ -42,15 +44,13 @@ body
42
44
  color: $subtle-font
43
45
  margin-left: 1em
44
46
 
45
- .main.menu
46
- .finder
47
- padding: 4px
48
- padding-top: 8px
49
47
 
50
48
  @media #{$only-large}
51
49
  #content
52
50
  padding: 64px 16px 0 32px
53
51
 
52
+ #top_menu > .finder
53
+ padding: 0px
54
54
 
55
55
  .entity_card, .entity_list_card
56
56
  > .content
@@ -76,42 +76,6 @@ body
76
76
  margin-right: 10%
77
77
  float: left
78
78
 
79
- =small_screen
80
- table:not(.collapsing)
81
- caption
82
- width: 100%
83
-
84
- form.workflow_task
85
- .input.field.submit
86
- input, select
87
- width: 100% !important
88
- select
89
- float: left
90
- span.file_or_text_area
91
- display: block
92
- clear: both
93
- #top_menu
94
- position: relative !important
95
- > .favourite
96
- display: block
97
- width: 100%
98
- clear: both
99
- > .item
100
- float: left
101
-
102
- .dropdown.item .dropdown.item > .menu
103
- max-height: 300px
104
-
105
- #content
106
- padding: 64px 8px
107
-
108
- .entity_card, .entity_list_card
109
- > .content
110
- > .info
111
- width: 100%
112
- > .description, > .actions, > .card_actions
113
- width: 100%
114
-
115
79
  .main.menu
116
80
  .finder
117
81
  padding: 4px
@@ -122,9 +86,6 @@ body
122
86
  .row
123
87
  clear: both
124
88
 
125
- @media #{$not-large}
126
- +small_screen
127
-
128
89
  .action_parameters, .filter_controls
129
90
  form
130
91
  &:after
@@ -247,7 +208,6 @@ option[disabled]
247
208
  display: inline
248
209
 
249
210
  .finder
250
- padding: 0 !important
251
211
  input
252
212
  line-height: 1.32em
253
213
  font-size: 1.32em
@@ -309,7 +269,7 @@ span.bullet
309
269
  padding-left: 0em
310
270
  width: calc(100% - 2em) !important
311
271
 
312
- .dropdown.item .dropdown.item > .menu
272
+ //.dropdown.item .dropdown.item > .menu
313
273
  overflow-y: auto
314
274
  max-height: 500px
315
275
 
@@ -324,15 +284,6 @@ label[title]
324
284
  .examples
325
285
  clear: both
326
286
 
327
- #modal
328
- +small_screen
329
- .ui.icon.button.close
330
- float: right
331
- &.error
332
- .header
333
- color: red
334
-
335
-
336
287
 
337
288
  #footer
338
289
  clear: both
@@ -374,3 +325,80 @@ body
374
325
  #footer
375
326
  display: none
376
327
 
328
+ =small_screen
329
+ table:not(.collapsing)
330
+ caption
331
+ width: 100%
332
+
333
+
334
+ form.workflow_task
335
+ .input.field.submit
336
+ input, select
337
+ width: 100% !important
338
+ select
339
+ float: left
340
+ span.file_or_text_area
341
+ display: block
342
+ clear: both
343
+
344
+ #top_menu
345
+ position: relative !important
346
+ display: block
347
+ flex-wrap: wrap
348
+ .item
349
+ font-size: 1.2em
350
+ border: none
351
+ > .logo
352
+ margin-bottom: 1em
353
+
354
+ .workflow.dropdown > .menu
355
+ left: 0px !important
356
+ right: auto !important
357
+
358
+ #content
359
+ margin-top: 2em
360
+ margin-left: 0.5em !important
361
+ margin-right: 0.5em !important
362
+ width: calc(100% - 2 * 0.5em)
363
+ padding: 0px
364
+
365
+
366
+ .entity_card, .entity_list_card
367
+ > .content
368
+ > .info
369
+ width: 100%
370
+ > .description, > .actions, > .card_actions
371
+ width: 100%
372
+
373
+
374
+ @media #{$not-large}
375
+ +small_screen
376
+
377
+ #modal
378
+ +small_screen
379
+ .content
380
+ @extend .clearfix
381
+ .ui.icon.button.close
382
+ float: right
383
+ &.error
384
+ .header
385
+ color: red
386
+
387
+ .flex-wrap
388
+ flex-wrap: wrap
389
+
390
+ .action_parameters
391
+ transform: translateX(-0.9em)
392
+ width: calc(100% + 2 * 0.9em)
393
+ margin-bottom: 1.8em !important
394
+
395
+
396
+ #top_menu
397
+ & > .favourite
398
+ width: 100%
399
+ & > .dropdown
400
+ display: inline-block !important
401
+ min-width: 10em
402
+ & > .favourite > .dropdown, & > .favourite > .item.pointer
403
+ display: inline-block !important
404
+
@@ -15,7 +15,7 @@
15
15
  /-- sidebar --
16
16
  .ui.segment.info
17
17
  .meta
18
- .list_management.ui.buttons
18
+ .list_management.ui.small.buttons.flex-wrap
19
19
  %a.compare_list.ui.button(href="#" data-reveal-id='modal1') Compare
20
20
  %a.list_list.ui.button(href="#{request.path_info + "?_format=list"}") List
21
21
 
@@ -1,15 +1,7 @@
1
- :sass
2
- #top_menu
3
- .favourite
4
- width: 100%
5
- & > .dropdown
6
- display: inline-block !important
7
- min-width: 10em
8
- & > .favourite > .dropdown, & > .favourite > .item.pointer
9
- display: inline-block !important
10
-
11
1
  #top_menu.ui.fixed.menu
12
- %a.header.item(href='/')= $title
2
+ .item
3
+ %a.header(href='/')= $title
4
+
13
5
 
14
6
  %span.favourite
15
7
 
@@ -25,7 +17,7 @@
25
17
 
26
18
  - expoted_workflows.compact!
27
19
  - if expoted_workflows.any?
28
- .ui.dropdown.item.right
20
+ .workflow.ui.simple.dropdown.item.right
29
21
  %i.icon.dropdown
30
22
  Workflows
31
23
  .menu
@@ -33,6 +25,7 @@
33
25
  %a.item(href='#{'/' + workflow.to_s}')= workflow.to_s
34
26
 
35
27
 
28
+
36
29
  %a.item.login.right(href='/login')
37
30
  %i.icon.user
38
31
  - if user
@@ -40,6 +33,6 @@
40
33
 
41
34
  %a.item.right(href='/help') Help
42
35
 
43
- %a.item.reload(href='#')
36
+ %a.item.right.reload(href='#')
44
37
  %i.icon.repeat
45
38
 
@@ -100,11 +100,6 @@ fav_module.draw_favourite_menu = function(){
100
100
 
101
101
  var type_items = entities.map(function(entity, index){ url = _type[entity].url(); return m('a.item', {href: url}, _type[entity].name) })
102
102
  return rbbt.mview.dropdown(type, type_items)
103
- //return m('.ui.dropdown.item', [
104
- // m('i.icon.dropdown'),
105
- // type,
106
- // m('.menu', entities.map(function(entity, index){ url = _type[entity].url(); return m('a.item', {href: url}, _type[entity].name) }))
107
- //]);
108
103
  })))
109
104
  }
110
105
 
@@ -275,5 +270,5 @@ fav_module.hooks = function(){
275
270
 
276
271
  fav_module.update = function(){
277
272
  //fav_module.update_favourites().then(fav_module.view).then(function(){ $('.dropdown:not([tabindex])').dropdown()}).then(fav_module.hooks)
278
- fav_module.update_favourites().then(fav_module.view).then(function(){ $('.dropdown:not([tabindex])').dropdown()}).then(fav_module.hooks)
273
+ fav_module.update_favourites().then(fav_module.view).then(function(){ $('.__dropdown:not([tabindex])').dropdown()}).then(fav_module.hooks)
279
274
  }
@@ -46,7 +46,7 @@ rbbt.mview.ibutton = function(options,args){
46
46
  }
47
47
 
48
48
  rbbt.mview.dropdown = function(name, options){
49
- return m('.ui.dropdown.item', [m('i.icon.dropdown'), name, m('.menu', options)])
49
+ return m('.ui.simple.dropdown.item', [m('i.icon.dropdown'), name, m('.menu', options)])
50
50
  }
51
51
 
52
52
  rbbt.mview.input = function(type, value, bind, attrs){
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.22
4
+ version: 1.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez