rbbt-rest 1.8.30 → 1.8.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/rest/common/cache.rb +15 -10
  3. data/lib/rbbt/rest/common/render.rb +1 -0
  4. data/lib/rbbt/rest/workflow.rb +1 -1
  5. data/share/views/public/js/helpers/helpers.js +12 -1
  6. metadata +2 -71
  7. data/share/views/compass/old/base/backgrounds.sass +0 -41
  8. data/share/views/compass/old/base/blocks.sass +0 -92
  9. data/share/views/compass/old/base/color.sass +0 -66
  10. data/share/views/compass/old/base/colors.sass +0 -66
  11. data/share/views/compass/old/base/font-scale.sass +0 -20
  12. data/share/views/compass/old/base/fonts.sass +0 -56
  13. data/share/views/compass/old/base/hide.sass +0 -95
  14. data/share/views/compass/old/base/icon_content.scss +0 -569
  15. data/share/views/compass/old/base/icons.sass +0 -75
  16. data/share/views/compass/old/base/material.sass +0 -223
  17. data/share/views/compass/old/base/misc.sass +0 -2
  18. data/share/views/compass/old/base/screen_sizes.sass +0 -16
  19. data/share/views/compass/old/base/text.sass +0 -70
  20. data/share/views/compass/old/base/util.sass +0 -6
  21. data/share/views/compass/old/base/variables.sass +0 -68
  22. data/share/views/compass/old/base/variables/color.sass +0 -27
  23. data/share/views/compass/old/blocks.sass +0 -0
  24. data/share/views/compass/old/cards.sass +0 -131
  25. data/share/views/compass/old/color.sass +0 -10
  26. data/share/views/compass/old/color/blocks.sass +0 -0
  27. data/share/views/compass/old/color/buttons.sass +0 -36
  28. data/share/views/compass/old/color/elements.sass +0 -2
  29. data/share/views/compass/old/color/font.sass +0 -13
  30. data/share/views/compass/old/color/top_bar.sass +0 -18
  31. data/share/views/compass/old/elements.sass +0 -218
  32. data/share/views/compass/old/elements/buttons.sass +0 -18
  33. data/share/views/compass/old/elements/forms.sass +0 -197
  34. data/share/views/compass/old/elements/lists.sass +0 -14
  35. data/share/views/compass/old/elements/materials.sass +0 -1
  36. data/share/views/compass/old/elements/movement.sass +0 -84
  37. data/share/views/compass/old/elements/positions.sass +0 -18
  38. data/share/views/compass/old/elements/table.sass +0 -176
  39. data/share/views/compass/old/elements/tool.sass +0 -60
  40. data/share/views/compass/old/grid.sass +0 -3
  41. data/share/views/compass/old/init.sass +0 -9
  42. data/share/views/compass/old/layout.sass +0 -5
  43. data/share/views/compass/old/layout/body.sass +0 -23
  44. data/share/views/compass/old/layout/footer.sass +0 -44
  45. data/share/views/compass/old/layout/result.sass +0 -6
  46. data/share/views/compass/old/layout/reveal.sass +0 -50
  47. data/share/views/compass/old/layout/top_bar.sass +0 -99
  48. data/share/views/compass/old/layout/top_menu.sass +0 -87
  49. data/share/views/compass/old/menu.sass +0 -43
  50. data/share/views/compass/old/menu/accordion_menu.sass +0 -30
  51. data/share/views/compass/old/menu/actionable.sass +0 -1
  52. data/share/views/compass/old/menu/dropdown_menu.sass +0 -31
  53. data/share/views/compass/old/menu/hide.sass +0 -14
  54. data/share/views/compass/old/menu/menu.sass +0 -98
  55. data/share/views/compass/old/menu/tab_menu.sass +0 -14
  56. data/share/views/compass/old/menu/top_bar.sass +0 -105
  57. data/share/views/compass/old/menu/vertical_menu.sass +0 -21
  58. data/share/views/compass/old/mixins/_all.sass +0 -24
  59. data/share/views/compass/old/mixins/_blocks.sass +0 -79
  60. data/share/views/compass/old/mixins/_compass.sass +0 -0
  61. data/share/views/compass/old/mixins/_deps.sass +0 -5
  62. data/share/views/compass/old/mixins/_hide.sass +0 -76
  63. data/share/views/compass/old/mixins/_keyframes.scss +0 -4
  64. data/share/views/compass/old/mixins/_semantic-ui.sass +0 -2
  65. data/share/views/compass/old/new.sass +0 -1
  66. data/share/views/compass/old/offcanvas.sass +0 -52
  67. data/share/views/compass/old/position/basic.sass +0 -0
  68. data/share/views/compass/old/responsive.sass +0 -53
  69. data/share/views/compass/old/semantic-ui.css +0 -19776
  70. data/share/views/compass/old/semantic-ui/semantic-ui.css +0 -19776
  71. data/share/views/compass/old/space/button.sass +0 -74
  72. data/share/views/compass/old/table.sass +0 -142
  73. data/share/views/compass/old/text.sass +0 -48
  74. data/share/views/compass/old/variables/colors.sass +0 -7
  75. data/share/views/compass/old/variables/sizes.sass +0 -5
@@ -1,18 +0,0 @@
1
- @import "base/variables"
2
- @import "base/colors"
3
- @import "elements/lists"
4
-
5
- =actionable
6
- cursor: pointer
7
-
8
- %actionable
9
- +actionable
10
-
11
- =toggle_button
12
- +actionable
13
- +hide_next
14
-
15
- @import "base/fonts"
16
-
17
- @import "color/buttons"
18
- @import "space/button"
@@ -1,197 +0,0 @@
1
- @import "base/variables"
2
- @import "compass/typography/vertical_rhythm"
3
- @import 'base/text'
4
- @import 'base/fonts'
5
- @import 'base/blocks'
6
-
7
- @function font-spaces($size)
8
- @return $size * $base-font-size
9
-
10
- =label
11
- +noselect
12
- +ellipsis_text
13
- &[title]
14
- cursor: help
15
- span.input_default
16
- +subtle_text
17
- display: block
18
-
19
- =boolean
20
- position: absolute
21
- overflow: hidden
22
- clip: rect(0 0 0 0)
23
- z-index: -1000
24
- left: -1000px
25
- height: 1px
26
- width: 1px
27
- margin: -1px
28
- padding: 0
29
- border: 0
30
- display: none
31
- float: right
32
-
33
- & + label:after
34
- content: "false"
35
- display: block
36
- clear: both
37
- margin-left: 1em
38
-
39
- &:checked + label:after
40
- +bold
41
- content: "true"
42
-
43
- form
44
- +container
45
- .input
46
- +rhythm(0.5,0.5,0.5,0.5)
47
-
48
- textarea
49
- +rhythm(0,0.25,0.25,0,$base-font-size)
50
- padding-left: font-spaces(1)
51
- padding-right: font-spaces(1)
52
- min-height: rhythm(7)
53
-
54
- span.file_or_text_area
55
- display: block
56
- label
57
- +label
58
-
59
- select
60
- min-width: font-spaces(10)
61
- &:empty
62
- display: none
63
-
64
- input[type=text], input[type=number], input[type=file], input[type=submit], select, input[type=file], select
65
- height: font-spaces(2)
66
- width: 12em
67
-
68
- input[type=text], input[type=number], select
69
- display: inline-block
70
- padding-left: font-spaces(0.5)
71
-
72
- span.choice
73
- input
74
- float: left
75
-
76
- .input.boolean
77
- label, input
78
- +pointer
79
-
80
- .input.multiple
81
- +padded_block
82
- width: 100% !important
83
- span.choice
84
- float: left
85
- min-width: span(1 of 10)
86
- margin-right: font-spaces(1)
87
- span, label
88
- +pointer
89
-
90
- =labeled_entry
91
- +clearfix
92
- max-width: 100%
93
- @media #{$only-large}
94
- position: relative
95
- width: font-spaces(35)
96
- & > label
97
- text-align: right
98
-
99
- & > :first-child
100
- float: left
101
- width: 30% !important
102
- min-width: 30% !important
103
- span
104
- display: block
105
- & > :nth-child(2)
106
- float: left
107
- margin-left: $gutter
108
-
109
- @media #{$not-large}
110
- width: 100%
111
-
112
- & > :first-child
113
- float: left
114
-
115
- & > :not(:first-child)
116
- float: right
117
-
118
- .input
119
- margin-top: 0px !important
120
- margin-bottom: 0px !important
121
-
122
- .input:not(.multiple)
123
- +oneline
124
- +padded_block
125
- +labeled_entry
126
- float: left
127
- font-size: 0
128
- *
129
- font-size: initial
130
-
131
- input[type=checkbox]
132
- margin-top: font-spaces(0.5)
133
- margin-bottom: font-spaces(0.5)
134
-
135
- @media #{$only-large}
136
- span.file_or_text_area
137
- display: block
138
- margin-left: calc(30% + #{$gutter})
139
- float: right
140
- +subtle_text
141
-
142
- &:before
143
- content: "\02026"
144
- width: font-spaces(1.25)
145
- margin-right: font-spaces(0.25)
146
- display: inline-block
147
-
148
- textarea, select
149
- max-width: calc(70% - #{$gutter})
150
-
151
- textarea
152
- width: calc(70% - #{$gutter})
153
- margin-left: calc(30% + #{$gutter})
154
- margin-right: 0em
155
- clear: both
156
- float: left
157
-
158
- @media #{$not-large}
159
- span.file_or_text_area
160
- +subtle_text
161
- clear: both
162
- float: right
163
- &:before
164
- content: "\02026"
165
- width: font-spaces(1.25)
166
- margin-right: font-spaces(0.25)
167
- display: inline-block
168
-
169
- textarea, select
170
- max-width: 100%
171
- textarea
172
- clear: both
173
- width: 100%
174
-
175
- .input.submit:last-child
176
- clear: both !important
177
- float: left
178
- min-height: 0
179
- border-top: 1px solid $subtle_color
180
- > select
181
- width: font-spaces(5)
182
- min-width: font-spaces(5)
183
-
184
- form.workflow_task
185
- position: relative
186
- &:before
187
- +oneline
188
- content: "Hover over the input labels to see the description"
189
- position: absolute
190
- left: 0
191
- top: -$tile
192
- font-size: 0.6em
193
- color: $subtle_color
194
- @media #{$only-large}
195
- padding-left: 23 * $tile
196
-
197
-
@@ -1,14 +0,0 @@
1
- =clean_list()
2
- margin-left: 0
3
- margin-right: 0
4
- padding: 0
5
- list-style: none
6
- & > li, & > dt, & > dd
7
- margin-left: 0px
8
-
9
- =flat_list()
10
- & > li, & > dt
11
- display: inline-block
12
- vertical-align: bottom
13
- & > *
14
- vertical-align: bottom
@@ -1 +0,0 @@
1
- @import "base/material"
@@ -1,84 +0,0 @@
1
- =ease_position($time: 0.3s)
2
- @include transition-property(top left margin-top margin-left max-height)
3
- @include transition-duration($time)
4
- @include transition-timing-function(ease-in-out)
5
-
6
- =ease_width($time: 0.3s)
7
- @include transition-property(width)
8
- @include transition-duration($time)
9
- @include transition-timing-function(ease-in-out)
10
-
11
- =ease_height($time: 0.3s)
12
- @include transition-property(max-height padding-top padding-bottom)
13
- @include transition-duration($time)
14
- @include transition-timing-function(ease-in-out)
15
-
16
- =ease($time: 0.3s)
17
- @include transition-property(all)
18
- @include transition-duration($time)
19
- @include transition-timing-function(ease-in-out)
20
-
21
- =shrink_horizontal
22
- overflow: hidden
23
- max-width: 0
24
- padding-left: 0
25
- padding-right: 0
26
- border: none
27
-
28
- =shrink_vertically
29
- overflow: hidden
30
- max-height: 0
31
- padding-top: 0
32
- padding-bottom: 0
33
- border: none
34
-
35
- =shrink_direction($direction: right)
36
- @if $direction == left
37
- +shrink_horizontal
38
-
39
- @if $direction == up
40
- +shrink_vertically
41
-
42
- @if $direction == down
43
- +shrink_vertically
44
-
45
- @if $direction == right
46
- +shrink_horizontal
47
-
48
-
49
- =placed_up
50
- position: absolute
51
- width: 10px !important
52
- height: 10px !important
53
- overflow: hidden
54
- top: -99999px
55
-
56
- =max_size_box($hsize: 400px, $vsize: 400px)
57
- max-width: $hsize
58
- max-height: $vsize
59
-
60
- =shrinking($direction: right)
61
- +max_size_box(50000px, 50000px)
62
-
63
- @if $direction == left
64
- +ease_width
65
- max-height: inherit
66
- min-width: 0
67
- @if $direction == right
68
- +ease_width
69
- max-height: inherit
70
- min-width: 0
71
-
72
- @if $direction == up
73
- +ease_height
74
- max-width: inherit
75
- min-height: 0
76
-
77
- @if $direction == down
78
- +ease_height
79
- max-width: inherit
80
- min-height: 0
81
-
82
- &:not(.show)
83
- +shrink_direction($direction)
84
- z-index: inherit
@@ -1,18 +0,0 @@
1
-
2
- =fix_to_top
3
- @extend %background-main
4
- +shifting-up
5
-
6
- position: absolute
7
- left: 0
8
- top: $top_menu_height
9
- height: auto
10
- +bottom_shadow
11
- margin-top: 0
12
- &.show
13
- min-height: 200%
14
-
15
- =fix_to_bar
16
- +fix_to_top
17
- top: 48px
18
- min-width: 100%
@@ -1,176 +0,0 @@
1
- @import "base/variables"
2
- @import "base/colors"
3
- @import "base/text"
4
- @import "base/fonts"
5
-
6
- =rbbt_table()
7
- +normal
8
- min-width: span(1 of 3)
9
- max-width: 100%
10
- &:not([attr-filter])
11
- tbody:empty
12
- &:before
13
- content: "Empty table"
14
- width: 100%
15
- padding: $tile
16
- text-align: center
17
- display: inline-block
18
- +subtle_color
19
- &:not([attr-filter])
20
- tbody:empty ~ tfoot
21
- display: none
22
-
23
- caption
24
- margin-left: $padding_table
25
- text-align: left
26
- span
27
- +normal
28
- +compact
29
- +subtle_color
30
-
31
- border-collapse: collapse
32
-
33
- tbody, thead, tfoot
34
- & > tr:nth-child(2n)
35
- background-color: transparentize($table_color, 0.90)
36
- & > tr
37
- & > td, & > th
38
- margin: 0
39
- padding: rhythm(0.5)
40
- text-align: left
41
- & > th
42
- background-color: transparentize($table_color, 0.85)
43
- +noselect
44
-
45
- td, th
46
- vertical-align: center
47
- a
48
- white-space: nowrap
49
-
50
- &.wide
51
- td
52
- max-width: 200px
53
- overflow: hidden
54
- text-overflow: ellipsis
55
- @media #{$only-large}
56
- &:first-child
57
- max-width: 400px
58
-
59
- tfoot
60
- th
61
- padding: 0 !important
62
- ul.table_actions li
63
- margin-bottom: 0
64
- margin-left: $margin_table_actions
65
- ul.table_pagination, ul.table_actions
66
- +clean_list
67
- +flat_list
68
- +button_set
69
- display: flex
70
- li > .button, li.button, li
71
- min-width: 3em
72
- text-align: center
73
- float: left
74
- margin-right: 1em
75
- li.num.active, li.num.active > *
76
- text-decoration: underline
77
-
78
- ul.table_actions
79
- @media print
80
- &
81
- display: none
82
-
83
- &.sorted > thead > tr > th
84
- position: relative
85
- &, &:hover
86
- +down_cursor
87
- &.headerSortDown
88
- +up_cursor
89
-
90
- &.headerSortDown, &.headerSortUp
91
- +bold
92
-
93
- &.headerSortUp:after, &.headerSortDown:after
94
- content: " "
95
- float: right
96
- right: 0
97
-
98
- &.headerSortDown:after
99
- margin-top: 5px
100
-
101
- &.headerSortUp:after
102
- margin-bottom: 5px
103
-
104
- =table_column_selector
105
- li
106
- @include grid-row()
107
-
108
- span
109
- @include ellipsis_text()
110
- @include grid-column(8)
111
- a
112
- @include grid-column(2, $last-column:false)
113
-
114
- =responsive_table()
115
- caption
116
- display: block
117
- display: block
118
- position: relative
119
- width: 100%
120
- border-collapse: collapse
121
- border-spacing: 0
122
-
123
- & > thead, & > tbody
124
- & > tr
125
- & > th, & > td
126
- margin: 0
127
- vertical-align: top
128
- height: 3em
129
-
130
- & > th
131
- display: block
132
- text-align: right
133
-
134
- & > td
135
- display: block
136
- text-align: left
137
-
138
- & > thead
139
- display: block
140
- float: left
141
- max-width: 40%
142
- white-space: nowrap
143
- overflow: auto
144
- overflow-y: hidden
145
- & > tr
146
- display: block
147
- & > th
148
- text-align: left
149
-
150
- & > tfoot
151
- width: 100%
152
- & > tr > th
153
- padding: 0
154
-
155
- & > tbody
156
- display: block
157
- width: auto
158
- position: relative
159
- overflow-x: auto
160
- white-space: nowrap
161
- & > tr
162
- display: inline-block
163
- vertical-align: top
164
-
165
- /* sort out borders */
166
-
167
- & > thead, & > tbody, & > tfoot
168
- & > tr > th, & > tr > td
169
- border-left: 0
170
- border-right: 0
171
- border-bottom: 0
172
-
173
- & > tbody > tr
174
- border-left: 1px solid $subtle_border
175
-
176
-