rbbt-rest 1.1.5 → 1.2.0
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 +8 -8
- data/lib/rbbt/rest/common/cache.rb +33 -14
- data/lib/rbbt/rest/common/locate.rb +8 -6
- data/lib/rbbt/rest/common/misc.rb +4 -0
- data/lib/rbbt/rest/common/render.rb +14 -4
- data/lib/rbbt/rest/common/resources.rb +1 -1
- data/lib/rbbt/rest/common/table.rb +37 -7
- data/lib/rbbt/rest/entity.rb +5 -3
- data/lib/rbbt/rest/entity/favourites.rb +4 -1
- data/lib/rbbt/rest/entity/helpers.rb +12 -0
- data/lib/rbbt/rest/entity/rest.rb +6 -2
- data/lib/rbbt/rest/helpers.rb +7 -0
- data/lib/rbbt/rest/knowledge_base.rb +338 -0
- data/lib/rbbt/rest/knowledge_base/helpers.rb +57 -0
- data/lib/rbbt/rest/main.rb +16 -3
- data/share/views/compass/_rbbt.sass +11 -0
- data/share/views/compass/actions.sass +48 -24
- data/share/views/compass/app.sass +72 -50
- data/share/views/compass/colors.sass +3 -229
- data/share/views/compass/entity_card.sass +44 -108
- data/share/views/compass/favourites.sass +17 -72
- data/share/views/compass/finder.sass +30 -0
- data/share/views/compass/foundation.sass +79 -0
- data/share/views/compass/functions.sass +27 -0
- data/share/views/compass/help.sass +3 -0
- data/share/views/compass/layout.sass +132 -0
- data/share/views/compass/rbbt/form.sass +84 -0
- data/share/views/compass/rbbt/fragment.sass +7 -0
- data/share/views/compass/rbbt/menu.sass +189 -0
- data/share/views/compass/rbbt/reveal.sass +46 -0
- data/share/views/compass/rbbt/table.sass +169 -0
- data/share/views/compass/skeleton.sass +2 -0
- data/share/views/compass/skeleton/_dependencies.sass +151 -0
- data/share/views/compass/skeleton/_functions.sass +4 -0
- data/share/views/compass/skeleton/_mixins.sass +25 -0
- data/share/views/compass/skeleton/_vars.sass +72 -0
- data/share/views/compass/skeleton/base.sass +333 -0
- data/share/views/compass/skeleton/layout.sass +51 -0
- data/share/views/compass/skeleton/skeleton.sass +105 -0
- data/share/views/compass/solarized.sass +56 -0
- data/share/views/compass/style.sass +2 -116
- data/share/views/compass/theme.sass +57 -44
- data/share/views/compass/top_menu.sass +121 -0
- data/share/views/compass/user.sass +7 -0
- data/share/views/compass/variables.sass +7 -0
- data/share/views/compass/workflow.sass +6 -14
- data/share/views/entity_partials/action_controller.haml +7 -4
- data/share/views/entity_partials/entity_card.haml +10 -5
- data/share/views/entity_partials/entity_list.haml +4 -7
- data/share/views/entity_partials/entity_list_card.haml +10 -3
- data/share/views/entity_partials/entity_map_card.haml +2 -2
- data/share/views/entity_partials/list_container.haml +31 -26
- data/share/views/error.haml +5 -7
- data/share/views/help.haml +75 -31
- data/share/views/help/entity.haml +191 -193
- data/share/views/help/workflow.haml +59 -63
- data/share/views/job_result.haml +23 -26
- data/share/views/layout.haml +41 -61
- data/share/views/layout/top_menu.haml +19 -0
- data/share/views/layout/top_menu/favourites.haml +45 -0
- data/share/views/layout/top_menu/finder.haml +4 -0
- data/share/views/layout/top_menu/user.haml +15 -0
- data/share/views/public/js/_ajax_replace.js +17 -5
- data/share/views/public/js/_ellipsis.js +7 -9
- data/share/views/public/js/app.js +50 -2
- data/share/views/public/js/foundation/foundation.abide.js +194 -0
- data/share/views/public/js/foundation/foundation.alerts.js +52 -0
- data/share/views/public/js/foundation/foundation.clearing.js +516 -0
- data/share/views/public/js/foundation/foundation.cookie.js +74 -0
- data/share/views/public/js/foundation/foundation.dropdown.js +177 -0
- data/share/views/public/js/foundation/foundation.forms.js +533 -0
- data/share/views/public/js/foundation/foundation.interchange.js +280 -0
- data/share/views/public/js/foundation/foundation.joyride.js +850 -0
- data/share/views/public/js/foundation/foundation.js +440 -0
- data/share/views/public/js/foundation/foundation.magellan.js +135 -0
- data/share/views/public/js/foundation/foundation.orbit.js +412 -0
- data/share/views/public/js/foundation/foundation.placeholder.js +179 -0
- data/share/views/public/js/foundation/foundation.reveal.js +330 -0
- data/share/views/public/js/foundation/foundation.section.js +400 -0
- data/share/views/public/js/foundation/foundation.tooltips.js +208 -0
- data/share/views/public/js/foundation/foundation.topbar.js +300 -0
- data/share/views/public/js/foundation/index.js +18 -0
- data/share/views/public/js/helpers.js +33 -2
- data/share/views/public/js/jquery-ui.js +313 -0
- data/share/views/public/js/rbbt/actions.js +264 -0
- data/share/views/public/js/{_dom_update.js → rbbt/dom_update.js} +0 -0
- data/share/views/public/js/rbbt/favourites.js +425 -0
- data/share/views/public/js/rbbt/fragment.js +13 -0
- data/share/views/public/js/rbbt/hide.js +60 -0
- data/share/views/public/js/rbbt/list.js +117 -0
- data/share/views/public/js/{maps.js → rbbt/map.js} +3 -2
- data/share/views/public/js/rbbt/menu.js +22 -0
- data/share/views/public/js/rbbt/modal.js +96 -0
- data/share/views/public/js/{entities.js → rbbt/page_type.js} +12 -9
- data/share/views/public/js/rbbt/reveal.js +19 -0
- data/share/views/public/js/rbbt/table.js +283 -0
- data/share/views/public/js/{workflow.js → rbbt/workflow.js} +0 -0
- data/share/views/tasks.haml +14 -15
- data/share/views/wait.haml +11 -12
- metadata +62 -33
- data/share/views/compass/_foundation_setup.sass +0 -74
- data/share/views/compass/dom.sass +0 -32
- data/share/views/compass/footer.sass +0 -4
- data/share/views/compass/form.sass +0 -41
- data/share/views/compass/fragment.sass +0 -8
- data/share/views/compass/list_container.sass +0 -34
- data/share/views/compass/lists.sass +0 -33
- data/share/views/compass/offcanvas.sass +0 -66
- data/share/views/compass/responsive_table.sass +0 -80
- data/share/views/compass/reveal.sass +0 -31
- data/share/views/compass/style_mixins.sass +0 -42
- data/share/views/compass/table.sass +0 -63
- data/share/views/compass/tabs.sass +0 -81
- data/share/views/compass/topbar.sass +0 -25
- data/share/views/compass/web-fonts.sass +0 -77
- data/share/views/layout/favourites.haml +0 -46
- data/share/views/layout/header.haml +0 -44
- data/share/views/public/js/_fix_tablesorter_science.js +0 -38
- data/share/views/public/js/_foundation.js +0 -42
- data/share/views/public/js/actions.js +0 -108
- data/share/views/public/js/base.js +0 -121
- data/share/views/public/js/favourites.js +0 -441
- data/share/views/public/js/lists.js +0 -117
- data/share/views/public/js/offcanvas.js +0 -35
- data/share/views/public/js/reveal.js +0 -48
- data/share/views/public/js/tables.js +0 -314
- data/share/views/public/js/tabs.js +0 -7
@@ -0,0 +1,84 @@
|
|
1
|
+
=action_parameters
|
2
|
+
@media print
|
3
|
+
display: none
|
4
|
+
|
5
|
+
+grid_row
|
6
|
+
margin-top: $vindent
|
7
|
+
margin-bottom: $vindent
|
8
|
+
background-color: $color_action_parameters_bg
|
9
|
+
border: 1px solid $color_action_parameters_border
|
10
|
+
padding-top: $vindent
|
11
|
+
padding-bottom: $vindent
|
12
|
+
|
13
|
+
.input
|
14
|
+
min-width: 900px * 0.3
|
15
|
+
max-width: 100% !important
|
16
|
+
+grid-column
|
17
|
+
@media #{$only-large}
|
18
|
+
width: 31%
|
19
|
+
@media #{$not-large}
|
20
|
+
width: 95%
|
21
|
+
|
22
|
+
padding: $vindent $indent
|
23
|
+
min-height: 2 * $vindent + 50px
|
24
|
+
margin-left: 0
|
25
|
+
text-align: left
|
26
|
+
border-top: 1px solid darken($color_action_parameters_bg, 15)
|
27
|
+
margin: 5px
|
28
|
+
margin-top: 10px
|
29
|
+
|
30
|
+
& > select, & > input
|
31
|
+
font-size: 1em
|
32
|
+
|
33
|
+
& > span.file_or_text_area
|
34
|
+
float: right
|
35
|
+
&:before
|
36
|
+
content: "\02026"
|
37
|
+
& > label
|
38
|
+
position: absolute
|
39
|
+
display: inline-block
|
40
|
+
top: -1em
|
41
|
+
left: $indent
|
42
|
+
padding: 1px 5px
|
43
|
+
background-color: $color_action_parameters_bg
|
44
|
+
border-right: 1px solid darken($color_action_parameters_bg, 15)
|
45
|
+
border-left: 1px solid darken($color_action_parameters_bg, 15)
|
46
|
+
box-shadow: -$indent 0 0 $color_action_parameters_bg
|
47
|
+
white-space: nowrap
|
48
|
+
+ellipsis_text
|
49
|
+
max-width: 70%
|
50
|
+
|
51
|
+
&.array, &.tsv, &.text
|
52
|
+
width: 99%
|
53
|
+
textarea
|
54
|
+
width: 100%
|
55
|
+
height: 10em
|
56
|
+
&.boolean
|
57
|
+
&.submit:last-child
|
58
|
+
@media #{$only-large}
|
59
|
+
width: 99%
|
60
|
+
float: right
|
61
|
+
clear: both
|
62
|
+
min-height: 0
|
63
|
+
text-align: right
|
64
|
+
|
65
|
+
|
66
|
+
border: none
|
67
|
+
border-top: 1px solid darken($color_action_parameters_bg, 15)
|
68
|
+
padding-bottom: 0px
|
69
|
+
&.multiple
|
70
|
+
width: auto
|
71
|
+
text-align: left
|
72
|
+
label
|
73
|
+
display: block
|
74
|
+
span.choice
|
75
|
+
margin-right: $indent
|
76
|
+
white-space: nowrap
|
77
|
+
label
|
78
|
+
display: inline-block
|
79
|
+
|
80
|
+
label
|
81
|
+
margin: 1px
|
82
|
+
margin-bottom: 3px
|
83
|
+
display: inline-block
|
84
|
+
font-color: $color_action_parameter_label
|
@@ -0,0 +1,189 @@
|
|
1
|
+
=_rbbt_menu_item($color_bg: $color_menu_item_bg, $color_text: $color_menu_item_text)
|
2
|
+
background-color: $color_bg
|
3
|
+
color: $color_menu_text
|
4
|
+
margin: $margin_menu_item
|
5
|
+
|
6
|
+
padding: 0px $indent
|
7
|
+
|
8
|
+
font-size: 1em
|
9
|
+
font-weight: normal
|
10
|
+
text-decoration: none
|
11
|
+
display: inline-block
|
12
|
+
font-weight: normal
|
13
|
+
cursor: pointer
|
14
|
+
&.show
|
15
|
+
font-weight: bold
|
16
|
+
color: $color_alt2
|
17
|
+
& > span
|
18
|
+
color: $color_alt2 !important
|
19
|
+
|
20
|
+
|
21
|
+
=rbbt_menu_item($color_bg: $color_menu_item_bg, $color_text: $color_menu_item_text)
|
22
|
+
+_rbbt_menu_item($color_bg, $color_text)
|
23
|
+
|
24
|
+
height: $size_menu_item
|
25
|
+
border-left: 1px solid $color_menu_border
|
26
|
+
margin-left: 0px
|
27
|
+
&:first-child, &.first_item
|
28
|
+
margin-left: $margin_menu_item
|
29
|
+
border-left: 0px
|
30
|
+
box-shadow: none
|
31
|
+
|
32
|
+
=rbbt_vertical_menu_item($color_bg: $color_menu_item_bg, $color_text: $color_menu_item_text)
|
33
|
+
+_rbbt_menu_item($color_bg, $color_text)
|
34
|
+
height: $size_menu_item
|
35
|
+
white-space: nowrap
|
36
|
+
|
37
|
+
=rbbt_accordion_menu_item($color_bg: $color_menu_item_bg, $color_text: $color_menu_item_text)
|
38
|
+
+_rbbt_menu_item($color_bg, $color_text)
|
39
|
+
border: 1px solid $color_menu_border
|
40
|
+
border-top: 0px
|
41
|
+
&:first-child
|
42
|
+
border-top: 1px solid $color_menu_border
|
43
|
+
width: 100%
|
44
|
+
margin: 0
|
45
|
+
padding: 7px
|
46
|
+
|
47
|
+
=rbbt_tab_menu_item($color_bg: $color_menu_item_bg, $color_text: $color_menu_item_text)
|
48
|
+
+_rbbt_menu_item($color_bg, $color_text)
|
49
|
+
|
50
|
+
height: $size_menu_item
|
51
|
+
border-left: 1px solid $color_menu_border
|
52
|
+
margin-left: 0px
|
53
|
+
&:first-child, &.first_item
|
54
|
+
margin-left: $margin_menu_item
|
55
|
+
border-left: 0px
|
56
|
+
box-shadow: none
|
57
|
+
|
58
|
+
|
59
|
+
//{{{ Menu Content
|
60
|
+
|
61
|
+
=_rbbt_menu_content($color_bg: $color_menu_content_bg, $color_text: $color_menu_content_text, $z-index: $z-index_menu_content)
|
62
|
+
background-color: $color_bg
|
63
|
+
color: $color_text
|
64
|
+
z-index: $z-index
|
65
|
+
&.content
|
66
|
+
padding: $vindent $indent
|
67
|
+
&:not(.show)
|
68
|
+
position: absolute
|
69
|
+
width: 10
|
70
|
+
height: 10
|
71
|
+
overflow: hidden
|
72
|
+
top: -9999px
|
73
|
+
|
74
|
+
=rbbt_menu_content($color_bg: $color_menu_content_bg, $color_text: $color_menu_content_text, $top: 2 * $margin_menu_item + $size_menu_item + 1, $z-index: $z-index_menu_content)
|
75
|
+
+_rbbt_menu_content($color_bg, $color_text,$z-index)
|
76
|
+
border: 1px solid $color_menu_border
|
77
|
+
margin-left: -1px
|
78
|
+
margin-top: -1px
|
79
|
+
position: absolute
|
80
|
+
top: $top
|
81
|
+
|
82
|
+
=rbbt_vertical_menu_content($color_bg: $color_menu_content_bg, $color_text: $color_menu_content_text, $z-index: $z-index_menu_content)
|
83
|
+
+_rbbt_menu_content($color_bg, $color_text,$z-index)
|
84
|
+
border-left: 1px solid $color_menu_border
|
85
|
+
margin-left: -1px
|
86
|
+
padding: 7px
|
87
|
+
position: absolute
|
88
|
+
top: 0
|
89
|
+
right: 0
|
90
|
+
|
91
|
+
=rbbt_accordion_menu_content($color_bg: $color_menu_content_bg, $color_text: $color_menu_content_text, $z-index: $z-index_menu_content)
|
92
|
+
+_rbbt_menu_content($color_bg, $color_text, $z-index)
|
93
|
+
border: 1px solid $color_menu_border
|
94
|
+
border-top: 0px !important
|
95
|
+
margin-bottom: 0
|
96
|
+
padding: $margin_menu_item
|
97
|
+
|
98
|
+
=rbbt_tab_menu_content($color_bg: $color_menu_content_bg, $color_text: $color_menu_content_text, $top: 2 * $margin_menu_item + $size_menu_item + 7px, $z-index: $z-index_menu_content)
|
99
|
+
+_rbbt_menu_content($color_bg, $color_text,$z-index)
|
100
|
+
border: 0px
|
101
|
+
border-top: 1px solid $color_menu_border
|
102
|
+
margin-left: -1px
|
103
|
+
margin-top: 0px
|
104
|
+
float: right
|
105
|
+
width: 100%
|
106
|
+
margin-bottom: 0
|
107
|
+
padding: $vindent $indent
|
108
|
+
|
109
|
+
|
110
|
+
//{{{ Menus
|
111
|
+
=rbbt_menu($color_bg: $color_menu_bg, $color_text: $color_menu_text, $color_item_bg: $color_menu_item_bg, $color_item_text: $color_menu_item_text, $color_content_bg: $color_menu_content_bg, $color_content_text: $color_menu_content_text, $z-index: $z-index_menu_content)
|
112
|
+
+clearfix
|
113
|
+
margin: 0
|
114
|
+
border: 1px solid $color_menu_border
|
115
|
+
background-color: $color_bg
|
116
|
+
position: relative
|
117
|
+
& > dt
|
118
|
+
+rbbt_menu_item($color_item_bg, $color_item_text)
|
119
|
+
float: left
|
120
|
+
|
121
|
+
& > dd
|
122
|
+
+rbbt_menu_content($color_content_bg, $color_content_text, $z-index: $z-index)
|
123
|
+
|
124
|
+
=rbbt_vertical_menu($height: 500px, $color_bg: $color_menu_bg, $color_text: $color_menu_text, $color_item_bg: $color_menu_item_bg, $color_item_text: $color_menu_item_text, $color_content_bg: lighten($color_menu_content_bg, 55), $color_content_text: $color_menu_content_text, $z-index: $z-index_menu_content)
|
125
|
+
+clearfix
|
126
|
+
margin: 0
|
127
|
+
height: $height
|
128
|
+
background-color: $color_bg
|
129
|
+
position: relative
|
130
|
+
overflow-x: auto
|
131
|
+
& > dt
|
132
|
+
+rbbt_vertical_menu_item($color_item_bg, $color_item_text)
|
133
|
+
min-width: 100px
|
134
|
+
max-width: 30%
|
135
|
+
display: block
|
136
|
+
float:left
|
137
|
+
clear:both
|
138
|
+
|
139
|
+
& > dd
|
140
|
+
+rbbt_vertical_menu_content($color_content_bg, $color_content_text, $z-index)
|
141
|
+
overflow-x: auto
|
142
|
+
min-width: 100px
|
143
|
+
height: $height
|
144
|
+
width: 70%
|
145
|
+
float: right
|
146
|
+
|
147
|
+
|
148
|
+
=rbbt_accordion($color_bg: $color_menu_bg, $color_text: $color_menu_text, $color_item_bg: $color_menu_item_bg, $color_item_text: $color_menu_item_text, $color_content_bg: lighten($color_menu_content_bg, 55), $color_content_text: $color_menu_content_text, $z-index: $z-index_menu_content)
|
149
|
+
+clearfix
|
150
|
+
margin: 0
|
151
|
+
background-color: $color_bg
|
152
|
+
& > dt
|
153
|
+
+rbbt_accordion_menu_item($color_item_bg, $color_item_text)
|
154
|
+
|
155
|
+
& > dd
|
156
|
+
+rbbt_accordion_menu_content($color_content_bg, $color_content_text, $z-index)
|
157
|
+
|
158
|
+
=rbbt_tabs($color_bg: $color_menu_bg, $color_text: $color_menu_text, $color_item_bg: $color_menu_item_bg, $color_item_text: $color_menu_item_text, $color_content_bg: lighten($color_menu_content_bg, 55), $color_content_text: $color_menu_content_text, $color_border: $color_menu_border, $z-index: $z-index_menu_content)
|
159
|
+
+clearfix
|
160
|
+
border: 1px solid $color_border
|
161
|
+
background-color: $color_bg
|
162
|
+
position: relative
|
163
|
+
& > dt
|
164
|
+
+rbbt_tab_menu_item($color_item_bg, $color_item_text)
|
165
|
+
|
166
|
+
& > dd
|
167
|
+
+rbbt_tab_menu_content($color_content_bg, $color_content_text, $z-index)
|
168
|
+
|
169
|
+
=rbbt_button_list($color_bg: $color_menu_bg, $color_text: $color_menu_text, $color_item_bg: $color_menu_item_bg, $color_item_text: $color_menu_item_text, $color_item_border: $color_menu_border, $width: auto, $padding: 1px 3px, $margin: 4px)
|
170
|
+
+grid_row
|
171
|
+
+clearfix
|
172
|
+
background-color: $color_bg
|
173
|
+
margin: 0
|
174
|
+
padding-top: $margin
|
175
|
+
padding-left: $margin
|
176
|
+
li
|
177
|
+
+grid_column
|
178
|
+
+_rbbt_menu_item($color_item_bg, $color_item_text)
|
179
|
+
border: 1px solid $color_menu_border
|
180
|
+
padding: $padding
|
181
|
+
min-width: $width
|
182
|
+
text-align: center
|
183
|
+
margin: 0
|
184
|
+
margin-right: $margin
|
185
|
+
margin-bottom: $margin
|
186
|
+
a
|
187
|
+
width: 100%
|
188
|
+
display: inline-block
|
189
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
=rbbt_reveal_content
|
2
|
+
display: none !important
|
3
|
+
|
4
|
+
=modal
|
5
|
+
+rbbt_panel(#fff, #000)
|
6
|
+
position: fixed
|
7
|
+
left: 0
|
8
|
+
z-index: 20
|
9
|
+
|
10
|
+
@media #{$not-large}
|
11
|
+
top: $size_menu_item
|
12
|
+
border: 10px solid rgba(0,0,0,0.3)
|
13
|
+
@media #{$only-large}
|
14
|
+
top: $size_menu_item
|
15
|
+
border: 50px solid rgba(0,0,0,0.3)
|
16
|
+
// or not...
|
17
|
+
height: 100%
|
18
|
+
overflow: auto
|
19
|
+
width: 100%
|
20
|
+
& > .header
|
21
|
+
font-size: 1.5em
|
22
|
+
.controls
|
23
|
+
float: right
|
24
|
+
a
|
25
|
+
margin-left: $indent
|
26
|
+
.title
|
27
|
+
float: left
|
28
|
+
|
29
|
+
width: 100%
|
30
|
+
+clearfix
|
31
|
+
border-bottom: 1px solid grey
|
32
|
+
margin-bottom: $vindent
|
33
|
+
|
34
|
+
&:not(.url)
|
35
|
+
.controls
|
36
|
+
a.link-reveal-modal
|
37
|
+
display: none
|
38
|
+
&:not(.entity)
|
39
|
+
.controls
|
40
|
+
a.toggle_favourite
|
41
|
+
display: none
|
42
|
+
|
43
|
+
a.toggle_favourite.active > i
|
44
|
+
color: gold !important
|
45
|
+
|
46
|
+
|
@@ -0,0 +1,169 @@
|
|
1
|
+
$triglecolor: rgba(0,0,0,0.15)
|
2
|
+
$margin_table_actions: 7px
|
3
|
+
$padding_table: 5px 7px
|
4
|
+
$color_table_border: darken($table_color, 45)
|
5
|
+
=rbbt_table()
|
6
|
+
caption
|
7
|
+
text-align: left
|
8
|
+
margin-bottom: $vindent / 2
|
9
|
+
|
10
|
+
background-color: lighten($table_color, 5)
|
11
|
+
border: 1px solid $color_table_border
|
12
|
+
padding: $padding_table
|
13
|
+
font-size: 14px
|
14
|
+
margin: $vindent 0
|
15
|
+
border-collapse: collapse
|
16
|
+
|
17
|
+
td, th
|
18
|
+
padding: $padding_table
|
19
|
+
margin: 0
|
20
|
+
text-align: left
|
21
|
+
vertical-align: center
|
22
|
+
|
23
|
+
tr:nth-child(2n)
|
24
|
+
background-color: lighten($table_color, 2)
|
25
|
+
|
26
|
+
th
|
27
|
+
background-color: darken($table_color, 10)
|
28
|
+
|
29
|
+
&.wide
|
30
|
+
td
|
31
|
+
max-width: 200px
|
32
|
+
overflow: hidden
|
33
|
+
text-overflow: ellipsis
|
34
|
+
|
35
|
+
tfoot
|
36
|
+
th
|
37
|
+
background-color: lighten($table_color, 5)
|
38
|
+
ul.table_actions li
|
39
|
+
margin-left: $margin_table_actions
|
40
|
+
ul.table_pagination
|
41
|
+
+clean_list
|
42
|
+
margin-bottom: 0
|
43
|
+
float: left
|
44
|
+
margin-right: $indent
|
45
|
+
li
|
46
|
+
margin-left: $margin_table_actions
|
47
|
+
&.active a
|
48
|
+
text-decoration: underline
|
49
|
+
|
50
|
+
|
51
|
+
ul.table_actions
|
52
|
+
+clean_list
|
53
|
+
margin-bottom: 0
|
54
|
+
float: left
|
55
|
+
li.filter
|
56
|
+
@media print
|
57
|
+
&
|
58
|
+
display: none
|
59
|
+
|
60
|
+
|
61
|
+
&.sorted
|
62
|
+
thead
|
63
|
+
tr
|
64
|
+
th
|
65
|
+
position: relative
|
66
|
+
|
67
|
+
&:hover
|
68
|
+
cursor: pointer
|
69
|
+
|
70
|
+
&.headerSortUp:after, &.headerSortDown:after
|
71
|
+
content: " "
|
72
|
+
float: right
|
73
|
+
right: 0
|
74
|
+
|
75
|
+
&.headerSortDown:after
|
76
|
+
margin-top: 5px
|
77
|
+
@include css-triangle(5px, $triglecolor, top)
|
78
|
+
|
79
|
+
&.headerSortUp:after
|
80
|
+
margin-bottom: 5px
|
81
|
+
@include css-triangle(5px, $triglecolor, bottom)
|
82
|
+
|
83
|
+
=table_column_selector
|
84
|
+
li
|
85
|
+
@include grid-row()
|
86
|
+
|
87
|
+
span
|
88
|
+
@include ellipsis_text()
|
89
|
+
@include grid-column(8)
|
90
|
+
a
|
91
|
+
@include grid-column(2, $last-column:false)
|
92
|
+
|
93
|
+
=responsive_table()
|
94
|
+
caption
|
95
|
+
display: block
|
96
|
+
display: block
|
97
|
+
position: relative
|
98
|
+
width: 100%
|
99
|
+
border-collapse: collapse
|
100
|
+
border-spacing: 0
|
101
|
+
th, td
|
102
|
+
margin: 0
|
103
|
+
vertical-align: top
|
104
|
+
height: 2em
|
105
|
+
|
106
|
+
th
|
107
|
+
text-align: left
|
108
|
+
|
109
|
+
thead
|
110
|
+
display: block
|
111
|
+
float: left
|
112
|
+
max-width: 40%
|
113
|
+
white-space: nowrap
|
114
|
+
overflow: auto
|
115
|
+
overflow-y: hidden
|
116
|
+
|
117
|
+
tfoot
|
118
|
+
width: 100%
|
119
|
+
|
120
|
+
tbody
|
121
|
+
display: block
|
122
|
+
width: auto
|
123
|
+
position: relative
|
124
|
+
overflow-x: auto
|
125
|
+
white-space: nowrap
|
126
|
+
|
127
|
+
|
128
|
+
thead tr
|
129
|
+
display: block
|
130
|
+
|
131
|
+
|
132
|
+
th
|
133
|
+
display: block
|
134
|
+
text-align: right
|
135
|
+
|
136
|
+
|
137
|
+
tbody tr
|
138
|
+
display: inline-block
|
139
|
+
vertical-align: top
|
140
|
+
|
141
|
+
|
142
|
+
td
|
143
|
+
display: block
|
144
|
+
min-height: 1.25em
|
145
|
+
text-align: left
|
146
|
+
|
147
|
+
/* sort out borders */
|
148
|
+
|
149
|
+
th
|
150
|
+
border-bottom: 0
|
151
|
+
border-left: 0
|
152
|
+
|
153
|
+
|
154
|
+
td
|
155
|
+
border-left: 0
|
156
|
+
border-right: 0
|
157
|
+
border-bottom: 0
|
158
|
+
|
159
|
+
|
160
|
+
tbody tr
|
161
|
+
border-left: 1px solid #babcbf
|
162
|
+
|
163
|
+
|
164
|
+
//th:last-child, td:last-child
|
165
|
+
//tfoot
|
166
|
+
border: 2px solid #babcbf
|
167
|
+
border-top: 1px solid #babcbf
|
168
|
+
|
169
|
+
|