rbbt-rest 1.8.38 → 1.8.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/rest/common/cache.rb +2 -0
  3. data/share/views/compass/old/base/backgrounds.sass +41 -0
  4. data/share/views/compass/old/base/blocks.sass +92 -0
  5. data/share/views/compass/old/base/color.sass +66 -0
  6. data/share/views/compass/old/base/colors.sass +66 -0
  7. data/share/views/compass/old/base/font-scale.sass +20 -0
  8. data/share/views/compass/old/base/fonts.sass +56 -0
  9. data/share/views/compass/old/base/hide.sass +95 -0
  10. data/share/views/compass/old/base/icon_content.scss +569 -0
  11. data/share/views/compass/old/base/icons.sass +75 -0
  12. data/share/views/compass/old/base/material.sass +223 -0
  13. data/share/views/compass/old/base/misc.sass +2 -0
  14. data/share/views/compass/old/base/screen_sizes.sass +16 -0
  15. data/share/views/compass/old/base/text.sass +70 -0
  16. data/share/views/compass/old/base/util.sass +6 -0
  17. data/share/views/compass/old/base/variables.sass +68 -0
  18. data/share/views/compass/old/base/variables/color.sass +27 -0
  19. data/share/views/compass/old/blocks.sass +0 -0
  20. data/share/views/compass/old/cards.sass +131 -0
  21. data/share/views/compass/old/color.sass +10 -0
  22. data/share/views/compass/old/color/blocks.sass +0 -0
  23. data/share/views/compass/old/color/buttons.sass +36 -0
  24. data/share/views/compass/old/color/elements.sass +2 -0
  25. data/share/views/compass/old/color/font.sass +13 -0
  26. data/share/views/compass/old/color/top_bar.sass +18 -0
  27. data/share/views/compass/old/elements.sass +218 -0
  28. data/share/views/compass/old/elements/buttons.sass +18 -0
  29. data/share/views/compass/old/elements/forms.sass +197 -0
  30. data/share/views/compass/old/elements/lists.sass +14 -0
  31. data/share/views/compass/old/elements/materials.sass +1 -0
  32. data/share/views/compass/old/elements/movement.sass +84 -0
  33. data/share/views/compass/old/elements/positions.sass +18 -0
  34. data/share/views/compass/old/elements/table.sass +176 -0
  35. data/share/views/compass/old/elements/tool.sass +60 -0
  36. data/share/views/compass/old/grid.sass +3 -0
  37. data/share/views/compass/old/init.sass +9 -0
  38. data/share/views/compass/old/layout.sass +5 -0
  39. data/share/views/compass/old/layout/body.sass +23 -0
  40. data/share/views/compass/old/layout/footer.sass +44 -0
  41. data/share/views/compass/old/layout/result.sass +6 -0
  42. data/share/views/compass/old/layout/reveal.sass +50 -0
  43. data/share/views/compass/old/layout/top_bar.sass +99 -0
  44. data/share/views/compass/old/layout/top_menu.sass +87 -0
  45. data/share/views/compass/old/menu.sass +43 -0
  46. data/share/views/compass/old/menu/accordion_menu.sass +30 -0
  47. data/share/views/compass/old/menu/actionable.sass +1 -0
  48. data/share/views/compass/old/menu/dropdown_menu.sass +31 -0
  49. data/share/views/compass/old/menu/hide.sass +14 -0
  50. data/share/views/compass/old/menu/menu.sass +98 -0
  51. data/share/views/compass/old/menu/tab_menu.sass +14 -0
  52. data/share/views/compass/old/menu/top_bar.sass +105 -0
  53. data/share/views/compass/old/menu/vertical_menu.sass +21 -0
  54. data/share/views/compass/old/mixins/_all.sass +24 -0
  55. data/share/views/compass/old/mixins/_blocks.sass +79 -0
  56. data/share/views/compass/old/mixins/_compass.sass +0 -0
  57. data/share/views/compass/old/mixins/_deps.sass +5 -0
  58. data/share/views/compass/old/mixins/_hide.sass +76 -0
  59. data/share/views/compass/old/mixins/_keyframes.scss +4 -0
  60. data/share/views/compass/old/mixins/_semantic-ui.sass +2 -0
  61. data/share/views/compass/old/new.sass +1 -0
  62. data/share/views/compass/old/offcanvas.sass +52 -0
  63. data/share/views/compass/old/position/basic.sass +0 -0
  64. data/share/views/compass/old/responsive.sass +53 -0
  65. data/share/views/compass/old/semantic-ui.css +1 -0
  66. data/share/views/compass/old/semantic-ui/semantic-ui.css +19776 -0
  67. data/share/views/compass/old/space/button.sass +74 -0
  68. data/share/views/compass/old/table.sass +142 -0
  69. data/share/views/compass/old/text.sass +48 -0
  70. data/share/views/compass/old/variables/colors.sass +7 -0
  71. data/share/views/compass/old/variables/sizes.sass +5 -0
  72. data/share/views/tools/nvd3/chart.haml +1 -1
  73. metadata +71 -2
@@ -0,0 +1,75 @@
1
+ @import "base/misc"
2
+ @import "base/icon_content"
3
+
4
+ =icon_base
5
+ font-family: FontAwesome
6
+ display: inline-block
7
+ text-rendering: auto
8
+ -webkit-font-smoothing: antialiased
9
+ -moz-osx-font-smoothing: grayscale
10
+
11
+ =button-icon
12
+ margin: auto
13
+
14
+ =icon_before($type: 'bullet')
15
+ +icon_base
16
+ +vertical-center(calc(50%))
17
+ text-align: center
18
+ content: icon_content($type)
19
+ width: 6 * $tile
20
+
21
+ =icon($type: 'bullet', $size: 1em)
22
+ white-space: nowrap
23
+ //float: left
24
+
25
+ padding-left: 0px !important
26
+ padding-right: 0px !important
27
+
28
+ overflow: hidden
29
+ $width: 6 * $tile
30
+ width: $width
31
+ clip: rect(0px,#{$width},#{$width},0px)
32
+ &:before
33
+ +icon_before($type)
34
+ +button_icon
35
+ margin-right: $width
36
+
37
+ =rotate_icon($deg: '90')
38
+ transform: rotate(#{$deg}deg)
39
+
40
+ =menu_icon($size: 1em)
41
+ +icon('bolt', $size)
42
+
43
+ =reload_icon($size: 1em)
44
+ +icon('refresh', $size)
45
+
46
+ =user_icon($size: 1em)
47
+ +icon('user', $size)
48
+
49
+ =favs_icon($size: 1em)
50
+ +icon('heart', $size)
51
+
52
+ =find_icon($size: 1em)
53
+ +icon('search', $size)
54
+
55
+ =actions_icon($size: 1em)
56
+ +icon('gears', $size)
57
+
58
+ =entity_icon($size: 1em)
59
+ +icon('minus', $size)
60
+
61
+ =list_icon($size: 1em)
62
+ +icon('list', $size)
63
+
64
+ =maps_icon($size: 1em)
65
+ +icon('table', $size)
66
+
67
+ =new_icon($size: 1em)
68
+ +icon('plus', $size)
69
+
70
+ =side_icon($size: 1em)
71
+ +icon('ellipsis-h', $size)
72
+ &.show
73
+ +icon('ellipsis-v', $size)
74
+ text-align: center
75
+
@@ -0,0 +1,223 @@
1
+ // Creating Google Material Design in SCSS
2
+ // (specifically Material Shadow, uses compass)
3
+ // see: http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-paper-craft
4
+
5
+ // Demo: http://codepen.io/stoikerty/full/Glwxi/
6
+
7
+ // Animating Box-Shadow is EXPENSIVE:
8
+ // http://www.html5rocks.com/en/tutorials/speed/high-performance-animations/#toc-
9
+
10
+ // Moving between z-index-depths is done via opacity & multiple
11
+ // box-shadows, as transitioning the box-shadow's y-axis is buggy
12
+ // (tested on Chrome v.35)
13
+
14
+ $easeOutExpo : cubic-bezier(0.190, 1.000, 0.220, 1.000)
15
+ $easeInExpo : cubic-bezier(0.950, 0.050, 0.795, 0.035)
16
+ $easeInOutExpo : cubic-bezier(1.000, 0.000, 0.000, 1.000)
17
+
18
+ @import "compass/css3/opacity"
19
+ @import "compass/css3/transition"
20
+ @import "compass/css3/box-shadow"
21
+
22
+ =top_shadow($depth: 1)
23
+ $z1 : 0
24
+ $z2 : 0
25
+ $z3 : 0
26
+ $z4 : 0
27
+ $z5 : 0
28
+
29
+ $op: 0.30
30
+ @if $depth == 1
31
+ $op: 0.12
32
+ @if $depth == 2
33
+ $op: 0.16
34
+ @if $depth == 3
35
+ $op: 0.19
36
+ @if $depth == 4
37
+ $op: 0.25
38
+ @if $depth == 5
39
+ $op: 0.30
40
+
41
+ @if $depth == 1
42
+ $z1 : $op
43
+ @if $depth == 2
44
+ $z2 : $op
45
+ @if $depth == 3
46
+ $z3 : $op
47
+ @if $depth == 4
48
+ $z4 : $op
49
+ @if $depth == 5
50
+ $z5 : $op
51
+
52
+ @include box-shadow( 0px 1px 1.5px rgba(#000, $z1), 0px 3px 3px rgba(#000, $z2), 0px 10px 10px rgba(#000, $z3), 0px 14px 14px rgba(#000, $z4), 0px 19px 19px rgba(#000, $z5))
53
+
54
+ =bottom_shadow($depth: 1)
55
+
56
+ $z1 : 0
57
+ $z2 : 0
58
+ $z3 : 0
59
+ $z4 : 0
60
+ $z5 : 0
61
+
62
+ $op: 0.30
63
+ @if $depth == 1
64
+ $op: 0.12
65
+ @if $depth == 2
66
+ $op: 0.16
67
+ @if $depth == 3
68
+ $op: 0.19
69
+ @if $depth == 4
70
+ $op: 0.25
71
+ @if $depth == 5
72
+ $op: 0.30
73
+
74
+ @if $depth == 1
75
+ $z1 : $op
76
+ @if $depth == 2
77
+ $z2 : $op
78
+ @if $depth == 3
79
+ $z3 : $op
80
+ @if $depth == 4
81
+ $z4 : $op
82
+ @if $depth == 5
83
+ $z5 : $op
84
+ @include box-shadow( 0px 1px 1px rgba(#000, $z1), 0px 3px 3px rgba(#000, $z2), 0px 6px 3px rgba(#000, $z3), 0px 10px 5px rgba(#000, $z4), 0px 15px 6px rgba(#000, $z5))
85
+
86
+ =inset_bottom_shadow($depth: 1)
87
+
88
+ $z1 : 0
89
+ $z2 : 0
90
+ $z3 : 0
91
+ $z4 : 0
92
+ $z5 : 0
93
+
94
+ $op: 0.30
95
+ @if $depth == 1
96
+ $op: 0.12
97
+ @if $depth == 2
98
+ $op: 0.16
99
+ @if $depth == 3
100
+ $op: 0.19
101
+ @if $depth == 4
102
+ $op: 0.25
103
+ @if $depth == 5
104
+ $op: 0.30
105
+
106
+ @if $depth == 1
107
+ $z1 : $op
108
+ @if $depth == 2
109
+ $z2 : $op
110
+ @if $depth == 3
111
+ $z3 : $op
112
+ @if $depth == 4
113
+ $z4 : $op
114
+ @if $depth == 5
115
+ $z5 : $op
116
+
117
+ @include box-shadow(inset 0px 1px 1px rgba(#000, $z1), 0px 3px 3px rgba(#000, $z2), 0px 6px 3px rgba(#000, $z3), 0px 10px 5px rgba(#000, $z4), 0px 15px 6px rgba(#000, $z5))
118
+
119
+
120
+ @mixin materialShadow($depth)
121
+ $z1 : 0
122
+ $z2 : 0
123
+ $z3 : 0
124
+ $z4 : 0
125
+ $z5 : 0
126
+
127
+ $op: 0.30
128
+ @if $depth == 1
129
+ $op: 0.12
130
+ @if $depth == 2
131
+ $op: 0.16
132
+ @if $depth == 3
133
+ $op: 0.19
134
+ @if $depth == 4
135
+ $op: 0.25
136
+ @if $depth == 5
137
+ $op: 0.30
138
+
139
+ @if $depth == 1
140
+ $z1 : $op
141
+ @if $depth == 2
142
+ $z2 : $op
143
+ @if $depth == 3
144
+ $z3 : $op
145
+ @if $depth == 4
146
+ $z4 : $op
147
+ @if $depth == 5
148
+ $z5 : $op
149
+
150
+ &:before, &:after
151
+ @include transition( box-shadow 0.7s 0.01s $easeOutExpo)
152
+
153
+ // Top Shadow
154
+ &:before
155
+ @if $depth == 1
156
+ @include opacity(0.12)
157
+ @if $depth == 2
158
+ @include opacity(0.16)
159
+ @if $depth == 3
160
+ @include opacity(0.19)
161
+ @if $depth == 4
162
+ @include opacity(0.25)
163
+ @if $depth == 5
164
+ @include opacity(0.30)
165
+
166
+ @include box-shadow( 0px 1px 1.5px rgba(#000, $z1), 0px 3px 3px rgba(#000, $z2), 0px 10px 10px rgba(#000, $z3), 0px 14px 14px rgba(#000, $z4), 0px 19px 19px rgba(#000, $z5))
167
+
168
+
169
+ // Bottom Shadow
170
+ &:after
171
+ @if $depth == 1
172
+ @include opacity(0.24)
173
+ @if $depth == 2
174
+ @include opacity(0.23)
175
+ @if $depth == 3
176
+ @include opacity(0.23)
177
+ @if $depth == 4
178
+ @include opacity(0.22)
179
+ @if $depth == 5
180
+ @include opacity(0.22)
181
+
182
+ @include box-shadow( 0px 1px 1px rgba(#000, $z1), 0px 3px 3px rgba(#000, $z2), 0px 6px 3px rgba(#000, $z3), 0px 10px 5px rgba(#000, $z4), 0px 15px 6px rgba(#000, $z5))
183
+
184
+
185
+
186
+ // Example Usage:
187
+ /*
188
+ =material($depth: 1)
189
+ z-index: $depth * 2
190
+ //top: $depth
191
+ //margin-bottom: - $depth
192
+
193
+ @include transition( box-shadow 0.7s 0.01s $easeOutExpo)
194
+ &:before, &:after
195
+ z-index: -1
196
+
197
+ position: absolute
198
+ display: block
199
+ content: ' '
200
+
201
+ //width: 100%
202
+ //height: 100%
203
+
204
+ top: 0
205
+ left: 0
206
+ bottom: 0
207
+ right: 0
208
+
209
+ margin: 0
210
+ padding: 0
211
+
212
+ @include materialShadow($depth)
213
+
214
+ =material($depth: 1)
215
+ z-index: $depth * 2
216
+ +top_shadow($depth)
217
+ +bottom_shadow($depth)
218
+
219
+ =noshadow
220
+ &:before, &:after
221
+ +box-shadow(0px 0px 0px, 0px 0px 0px, 0px 0px 0px, 0px 0px 0px)
222
+
223
+ /**/
@@ -0,0 +1,2 @@
1
+ @import "toolkit"
2
+ @import "base/variables"
@@ -0,0 +1,16 @@
1
+ $very-small-screen: 500px
2
+ $small-screen: 700px
3
+ $medium-screen: 900px
4
+ $large-screen: 1024px
5
+ $very-large-screen: 1240px
6
+
7
+ $not-very-small: "only screen and (min-width: #{$very-small-screen + 1})"
8
+ $not-small: "only screen and (min-width: #{$small-screen + 1})"
9
+ $not-large: "only screen and (max-width: #{$large-screen - 1})"
10
+ $not-very-large: "only screen and (max-width: #{$very-large-screen})"
11
+
12
+ $only-very-small: "only screen and (max-width: #{$very-small-screen})"
13
+ $only-small: "only screen and (max-width: #{$small-screen})"
14
+ $only-large: "only screen and (min-width: #{$large-screen})"
15
+ $only-very-large: "only screen and (min-width: #{$very-large-screen})"
16
+
@@ -0,0 +1,70 @@
1
+ @import "base/variables"
2
+ @import "compass/css3/columns"
3
+
4
+ =set_item_height($size: $minimum-height)
5
+ height: $size
6
+ line-height: $size
7
+
8
+ =text_line($font-size: $base-font-size)
9
+ font-size: $font-size
10
+ line-height: $font-size * 3
11
+
12
+ =text_item($height: $minimum-height, $width: $column)
13
+ +text_line
14
+ +oneline
15
+ width: $width
16
+
17
+ =oneline
18
+ white-space: nowrap
19
+ overflow: hidden
20
+ text-overflow: ellipsis
21
+
22
+ =ellipsis_text
23
+ +oneline
24
+ &:hover
25
+ overflow: visible
26
+ text-overflow: none
27
+ z-index: 3
28
+ ~ *
29
+ z-index: 2
30
+
31
+ =column_text($size: 3)
32
+ @include columns(30em $size)
33
+ @include column-gap(2em)
34
+ text-align: justify
35
+
36
+ =subtle_text
37
+ +font-scale(0.7)
38
+
39
+ =active
40
+ +bold
41
+
42
+ =loading
43
+ +italic
44
+
45
+ =normal_cursor
46
+ cursor: auto
47
+
48
+ =pointer
49
+ cursor: pointer
50
+
51
+ =help_cursor
52
+ cursor: help
53
+
54
+ =progress_cursor
55
+ cursor: progress
56
+
57
+ =down_cursor
58
+ cursor: s-resize
59
+
60
+ =up_cursor
61
+ cursor: n-resize
62
+
63
+ =noselect
64
+ -webkit-touch-callout: none
65
+ -webkit-user-select: none
66
+ -khtml-user-select: none
67
+ -moz-user-select: none
68
+ -ms-user-select: none
69
+ user-select: none
70
+
@@ -0,0 +1,6 @@
1
+ =clear_vertical_sizing
2
+ margin-top: 0
3
+ margin-bottom: 0
4
+ padding-top: 0
5
+ padding-bottom: 0
6
+
@@ -0,0 +1,68 @@
1
+ @import "variables/color"
2
+
3
+ $golden-ratio: 1.618
4
+ $golden-stepup: $golden-ratio - 1
5
+ $golden-percent: $golden-stepup * 100
6
+
7
+ $indent: 2.5%
8
+ $vindent: rhythm(1)
9
+
10
+ $tile: 8px
11
+ $font-size: 2 * $tile
12
+ $font-line-size: 1.5 * $font-size
13
+
14
+ $mini-tile: 4px
15
+ $vgap: $tile
16
+ $large-vgap: 4 * $tile
17
+
18
+ $font-vsize: $font-size
19
+ $font-line-vsize: $font-line-size
20
+ $mini-vsize: $tile * 3
21
+ $very-small-vsize: $tile * 5
22
+ $small-vsize: $tile * 6
23
+ $medium-vsize: $tile * 7
24
+ $large-vsize: $tile * 8
25
+ $very-large-vsize: $tile * 9
26
+
27
+ $app-bar-vsize-small: $small-vsize
28
+ $app-bar-vsize-medium: $medium-vsize
29
+ $app-bar-vsize-large: $large-vsize
30
+
31
+ $minimum-height: $medium-vsize
32
+ $minimum-width: $medium-vsize
33
+
34
+ $mobile-tall: 420
35
+ $mobile-wide: 320
36
+
37
+ $gutter: 2 * $tile
38
+ $column: 5 * $tile
39
+ $pre-space: 9 * $tile
40
+
41
+ $mobile-width-columns: $mobile-wide / $column
42
+
43
+ $susy : ( columns: 5, output: isolate, gutter: 2/5)
44
+
45
+ $top_menu_height: $app-bar-vsize-large
46
+ $top_menu_height: 48px
47
+ $top_menu_font_size: $top_menu_height / 3
48
+ $body_top_margin: $top_menu_height * 2
49
+
50
+ $icon-default-width: 6 * $tile
51
+
52
+ $base-font-size: 2 * $tile
53
+ $base-line-height: 1.5 * $base-font-size
54
+ $rhythm-unit: "rem"
55
+
56
+ $medium-button-width: 11 * $tile
57
+ $action-hpadding: 8px
58
+ $action-vpadding: 1em
59
+ $action-hmargin: 8px
60
+ $action-vmargin: 1em
61
+
62
+ $margin_table_actions: 7px
63
+ $padding_table: rhythm(0.5) 0.5em
64
+
65
+ $color_table_border: $subtle-border
66
+
67
+ $card_title_height: 5 * $base-line-height
68
+