rbbt-rest 1.8.29 → 1.8.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/rest/workflow.rb +2 -0
- data/share/views/compass/old/base/backgrounds.sass +41 -0
- data/share/views/compass/old/base/blocks.sass +92 -0
- data/share/views/compass/old/base/color.sass +66 -0
- data/share/views/compass/old/base/colors.sass +66 -0
- data/share/views/compass/old/base/font-scale.sass +20 -0
- data/share/views/compass/old/base/fonts.sass +56 -0
- data/share/views/compass/old/base/hide.sass +95 -0
- data/share/views/compass/old/base/icon_content.scss +569 -0
- data/share/views/compass/old/base/icons.sass +75 -0
- data/share/views/compass/old/base/material.sass +223 -0
- data/share/views/compass/old/base/misc.sass +2 -0
- data/share/views/compass/old/base/screen_sizes.sass +16 -0
- data/share/views/compass/old/base/text.sass +70 -0
- data/share/views/compass/old/base/util.sass +6 -0
- data/share/views/compass/old/base/variables/color.sass +27 -0
- data/share/views/compass/old/base/variables.sass +68 -0
- data/share/views/compass/old/blocks.sass +0 -0
- data/share/views/compass/old/cards.sass +131 -0
- data/share/views/compass/old/color/blocks.sass +0 -0
- data/share/views/compass/old/color/buttons.sass +36 -0
- data/share/views/compass/old/color/elements.sass +2 -0
- data/share/views/compass/old/color/font.sass +13 -0
- data/share/views/compass/old/color/top_bar.sass +18 -0
- data/share/views/compass/old/color.sass +10 -0
- data/share/views/compass/old/elements/buttons.sass +18 -0
- data/share/views/compass/old/elements/forms.sass +197 -0
- data/share/views/compass/old/elements/lists.sass +14 -0
- data/share/views/compass/old/elements/materials.sass +1 -0
- data/share/views/compass/old/elements/movement.sass +84 -0
- data/share/views/compass/old/elements/positions.sass +18 -0
- data/share/views/compass/old/elements/table.sass +176 -0
- data/share/views/compass/old/elements/tool.sass +60 -0
- data/share/views/compass/old/elements.sass +218 -0
- data/share/views/compass/old/grid.sass +3 -0
- data/share/views/compass/old/init.sass +9 -0
- data/share/views/compass/old/layout/body.sass +23 -0
- data/share/views/compass/old/layout/footer.sass +44 -0
- data/share/views/compass/old/layout/result.sass +6 -0
- data/share/views/compass/old/layout/reveal.sass +50 -0
- data/share/views/compass/old/layout/top_bar.sass +99 -0
- data/share/views/compass/old/layout/top_menu.sass +87 -0
- data/share/views/compass/old/layout.sass +5 -0
- data/share/views/compass/old/menu/accordion_menu.sass +30 -0
- data/share/views/compass/old/menu/actionable.sass +1 -0
- data/share/views/compass/old/menu/dropdown_menu.sass +31 -0
- data/share/views/compass/old/menu/hide.sass +14 -0
- data/share/views/compass/old/menu/menu.sass +98 -0
- data/share/views/compass/old/menu/tab_menu.sass +14 -0
- data/share/views/compass/old/menu/top_bar.sass +105 -0
- data/share/views/compass/old/menu/vertical_menu.sass +21 -0
- data/share/views/compass/old/menu.sass +43 -0
- data/share/views/compass/old/mixins/_all.sass +24 -0
- data/share/views/compass/old/mixins/_blocks.sass +79 -0
- data/share/views/compass/old/mixins/_compass.sass +0 -0
- data/share/views/compass/old/mixins/_deps.sass +5 -0
- data/share/views/compass/old/mixins/_hide.sass +76 -0
- data/share/views/compass/old/mixins/_keyframes.scss +4 -0
- data/share/views/compass/old/mixins/_semantic-ui.sass +2 -0
- data/share/views/compass/old/new.sass +1 -0
- data/share/views/compass/old/offcanvas.sass +52 -0
- data/share/views/compass/old/position/basic.sass +0 -0
- data/share/views/compass/old/responsive.sass +53 -0
- data/share/views/compass/old/semantic-ui/semantic-ui.css +19776 -0
- data/share/views/compass/old/semantic-ui.css +19776 -0
- data/share/views/compass/old/space/button.sass +74 -0
- data/share/views/compass/old/table.sass +142 -0
- data/share/views/compass/old/text.sass +48 -0
- data/share/views/compass/old/variables/colors.sass +7 -0
- data/share/views/compass/old/variables/sizes.sass +5 -0
- metadata +71 -2
@@ -0,0 +1,197 @@
|
|
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
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "base/material"
|
@@ -0,0 +1,84 @@
|
|
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
|
@@ -0,0 +1,18 @@
|
|
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%
|
@@ -0,0 +1,176 @@
|
|
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
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
@import 'elements/positions'
|
2
|
+
@import 'elements/movement'
|
3
|
+
@import 'screen_sizes'
|
4
|
+
@import 'base/icons'
|
5
|
+
@import 'base/blocks'
|
6
|
+
@import 'base/colors'
|
7
|
+
|
8
|
+
body
|
9
|
+
margin-top: 5em
|
10
|
+
|
11
|
+
=tool($height: 700px)
|
12
|
+
+clearfix
|
13
|
+
dl.tool_menu, & > .menu
|
14
|
+
+clearfix
|
15
|
+
|
16
|
+
& > dt
|
17
|
+
+raisable
|
18
|
+
& > dd
|
19
|
+
+padded_block
|
20
|
+
background: rgba(230,230,230,0.6)
|
21
|
+
max-height: $height
|
22
|
+
&.show
|
23
|
+
+bottom_shadow(1)
|
24
|
+
background: rgba(230,230,230,0.9)
|
25
|
+
&:not(.show)
|
26
|
+
border: none
|
27
|
+
background: rgba(230,230,230,1)
|
28
|
+
|
29
|
+
.tool_window, & > .window
|
30
|
+
+padded_block
|
31
|
+
+clearfix
|
32
|
+
border: 1px solid $color-two
|
33
|
+
@media #{$only-large}
|
34
|
+
min-height: $height
|
35
|
+
height: $height
|
36
|
+
overflow: auto
|
37
|
+
|
38
|
+
&:not(.show)
|
39
|
+
dl.tool_menu, & > .menu
|
40
|
+
& > dd
|
41
|
+
max-height: $height
|
42
|
+
overflow: auto
|
43
|
+
.tool_window, & > .window
|
44
|
+
@media #{$only-large}
|
45
|
+
overflow: auto
|
46
|
+
|
47
|
+
&.show
|
48
|
+
+fix_to_bar
|
49
|
+
dd
|
50
|
+
max-width: 100%
|
51
|
+
|
52
|
+
.tool_menu > dd.show
|
53
|
+
height: auto
|
54
|
+
max-height: 2000px
|
55
|
+
|
56
|
+
.tool_window, & > .window
|
57
|
+
&:not(.fixed_size)
|
58
|
+
height: auto
|
59
|
+
+white_background
|
60
|
+
|