para 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/para/admin/loading-spinner.gif +0 -0
- data/app/assets/javascripts/para/admin/theme_actions.coffee +0 -1
- data/app/assets/javascripts/para/lib/turbolinks-forms.coffee +23 -0
- data/app/assets/javascripts/para/lib/turbolinks-loading.coffee +25 -0
- data/app/assets/stylesheets/para/{overrides → admin/src}/datetimepicker.sass +1 -3
- data/app/assets/stylesheets/para/{overrides → admin/src}/fuelux.sass +5 -8
- data/app/assets/stylesheets/para/{overrides → admin/src}/jasny.bootstrap.sass +1 -2
- data/app/assets/stylesheets/para/admin/src/page-loading.sass +24 -0
- data/app/assets/stylesheets/para/{overrides → admin/src}/redactor.sass +5 -7
- data/app/assets/stylesheets/para/{overrides → admin/src}/selectize.sass +4 -6
- data/app/assets/stylesheets/para/{overrides → admin/src}/slider.sass +0 -1
- data/app/assets/stylesheets/para/admin/theme/_base.sass +5 -3
- data/app/assets/stylesheets/para/admin/theme/_breadcrumb.sass +54 -16
- data/app/assets/stylesheets/para/admin/theme/_buttons.sass +0 -1
- data/app/assets/stylesheets/para/admin/theme/_checkable.sass +5 -6
- data/app/assets/stylesheets/para/admin/theme/_commonds.sass +10 -16
- data/app/assets/stylesheets/para/admin/theme/_dropdown.sass +1 -4
- data/app/assets/stylesheets/para/admin/theme/_form.sass +11 -3
- data/app/assets/stylesheets/para/admin/theme/_list.sass +5 -6
- data/app/assets/stylesheets/para/admin/theme/_navigation.sass +105 -109
- data/app/assets/stylesheets/para/admin/theme/_navtabs.sass +35 -15
- data/app/assets/stylesheets/para/admin/theme/_orderable.sass +2 -5
- data/app/assets/stylesheets/para/admin/theme/_panel.sass +20 -50
- data/app/assets/stylesheets/para/admin/theme/_sorting.sass +5 -7
- data/app/assets/stylesheets/para/admin/theme/_tree.sass +2 -4
- data/app/assets/stylesheets/para/admin.sass +1 -0
- data/app/assets/stylesheets/para/lib/_variables.scss +12 -12
- data/app/assets/stylesheets/para/overrides/responsive.sass +1 -2
- data/app/assets/stylesheets/para/overrides/theme.sass +10 -17
- data/app/controllers/para/admin/base_controller.rb +16 -5
- data/app/controllers/para/admin/crud_resources_controller.rb +43 -2
- data/app/controllers/para/admin/main_controller.rb +1 -1
- data/app/controllers/para/admin/resources_controller.rb +1 -1
- data/app/controllers/para/admin/settings_component_controller.rb +1 -3
- data/app/controllers/para/application_controller.rb +3 -3
- data/app/decorators/para/component/crud_decorator.rb +6 -2
- data/app/decorators/para/component/singleton_resource_decorator.rb +5 -1
- data/app/helpers/para/admin/base_helper.rb +9 -4
- data/app/helpers/para/admin/components_helper.rb +7 -0
- data/app/helpers/para/form_helper.rb +10 -2
- data/app/helpers/para/tag_helper.rb +12 -0
- data/app/models/para/ability.rb +12 -0
- data/app/models/para/component/base.rb +15 -7
- data/app/models/para/component/crud.rb +3 -1
- data/app/models/para/component/singleton_resource.rb +1 -1
- data/app/views/para/admin/crud_resources/index.html.haml +4 -0
- data/app/views/para/admin/dashboard.html.haml +10 -8
- data/app/views/para/admin/resources/_actions.html.haml +7 -0
- data/app/views/para/admin/resources/_add_button.html.haml +1 -0
- data/app/views/para/admin/resources/_filters.html.haml +1 -1
- data/app/views/para/admin/resources/_imports_menu.html.haml +22 -0
- data/app/views/para/admin/resources/_list.html.haml +8 -5
- data/app/views/para/admin/resources/_subclassable_add_button.html.haml +10 -0
- data/app/views/para/admin/resources/_tree.html.haml +1 -1
- data/app/views/para/admin/resources/_tree_item.html.haml +1 -1
- data/app/views/para/admin/resources/new.html.haml +1 -1
- data/app/views/para/admin/shared/_breadcrumbs.html.haml +8 -0
- data/app/views/para/admin/shared/_header.html.haml +26 -24
- data/app/views/para/admin/shared/_navigation.html.haml +5 -3
- data/app/views/para/form/_tabs.html.haml +13 -0
- data/app/views/para/inputs/_nested_many.html.haml +2 -2
- data/app/views/para/inputs/_nested_many_container.html.haml +1 -3
- data/config/locales/en.yml +10 -0
- data/config/locales/fr.yml +30 -15
- data/db/migrate/20160304113055_add_json_equality_operator_patch_to_postgres.rb +38 -0
- data/lib/generators/para/component/component_generator.rb +9 -29
- data/lib/generators/para/component/crud/crud_generator.rb +41 -0
- data/lib/generators/para/component/templates/component.rb +1 -1
- data/lib/generators/para/component/templates/decorator.rb +3 -0
- data/lib/generators/para/component/templates/resources_controller.rb +4 -0
- data/lib/generators/para/exporter/templates/base_exporter.rb +2 -0
- data/lib/generators/para/exporter/templates/csv_exporter.rb +2 -0
- data/lib/generators/para/filters/filters_generator.rb +16 -0
- data/lib/generators/para/filters/templates/_filters.html.haml +9 -0
- data/lib/generators/para/importer/importer_generator.rb +20 -0
- data/lib/generators/para/importer/templates/base_importer.rb +5 -0
- data/lib/generators/para/install/install_generator.rb +6 -25
- data/lib/generators/para/nested_fields/nested_fields_generator.rb +9 -0
- data/lib/para/attribute_field/base.rb +28 -0
- data/lib/para/attribute_field/belongs_to.rb +2 -0
- data/lib/para/attribute_field/boolean.rb +2 -0
- data/lib/para/attribute_field/datetime.rb +2 -0
- data/lib/para/attribute_field/enum.rb +22 -0
- data/lib/para/attribute_field/file.rb +2 -0
- data/lib/para/attribute_field/has_many.rb +2 -0
- data/lib/para/attribute_field/image.rb +2 -0
- data/lib/para/attribute_field/nested_many.rb +3 -0
- data/lib/para/attribute_field/nested_one.rb +6 -6
- data/lib/para/attribute_field/password.rb +2 -0
- data/lib/para/attribute_field/redactor.rb +2 -0
- data/lib/para/attribute_field/translation.rb +2 -0
- data/lib/para/attribute_field.rb +19 -0
- data/lib/para/attribute_field_mappings.rb +15 -29
- data/lib/para/breadcrumbs/breadcrumb.rb +43 -0
- data/lib/para/breadcrumbs/controller.rb +39 -0
- data/lib/para/breadcrumbs/manager.rb +19 -0
- data/lib/para/breadcrumbs.rb +9 -0
- data/lib/para/component/importable.rb +25 -0
- data/lib/para/component/subclassable.rb +27 -0
- data/lib/para/component.rb +5 -3
- data/lib/para/components_configuration.rb +18 -2
- data/lib/para/config.rb +25 -1
- data/lib/para/exporter/base.rb +13 -0
- data/lib/para/exporter/csv.rb +1 -1
- data/lib/para/form_builder/tabs.rb +56 -0
- data/lib/para/form_builder.rb +2 -0
- data/lib/para/generators/component_helpers.rb +57 -0
- data/lib/para/generators.rb +1 -0
- data/lib/para/importer/base.rb +23 -0
- data/lib/para/importer.rb +10 -0
- data/lib/para/inputs/nested_one_input.rb +13 -3
- data/lib/para/markup/resources_table.rb +48 -24
- data/lib/para/markup/resources_tree.rb +36 -0
- data/lib/para/model_field_parsers/store.rb +23 -0
- data/lib/para/model_field_parsers.rb +1 -0
- data/lib/para/orderable.rb +6 -3
- data/lib/para/plugins/routes.rb +25 -0
- data/lib/para/plugins.rb +11 -0
- data/lib/para/routes.rb +2 -25
- data/lib/para/version.rb +1 -1
- data/lib/para.rb +4 -2
- data/lib/rails/routing_mapper.rb +64 -5
- metadata +50 -64
- data/app/controllers/para/admin/crud_component_controller.rb +0 -17
- data/app/controllers/para/admin/singleton_resource_component_controller.rb +0 -14
- data/app/views/para/admin/component_sections/_form.html.haml +0 -10
- data/app/views/para/admin/component_sections/edit.html.haml +0 -5
- data/app/views/para/admin/component_sections/new.html.haml +0 -5
- data/app/views/para/admin/components/_form.html.haml +0 -15
- data/app/views/para/admin/components/new.html.haml +0 -4
- data/app/views/para/admin/shared/_breadcrumb.html.haml +0 -3
- /data/app/views/para/admin/{singleton_resource_component → singleton_resources}/show.html.haml +0 -0
@@ -1,11 +1,5 @@
|
|
1
1
|
@import "variables"
|
2
2
|
|
3
|
-
@import "compass/css3/text-shadow"
|
4
|
-
@import "compass/css3/transition"
|
5
|
-
@import "compass/css3/box-shadow"
|
6
|
-
@import "compass/css3/inline-block"
|
7
|
-
@import "compass/css3/border-radius"
|
8
|
-
|
9
3
|
.page-sidebar
|
10
4
|
position: fixed
|
11
5
|
height: 100%
|
@@ -15,7 +9,7 @@
|
|
15
9
|
width: $left-menu-width-open
|
16
10
|
float: left
|
17
11
|
z-index: 3
|
18
|
-
|
12
|
+
box-shadow: 2px 0 5px #fafafa
|
19
13
|
&.navbar-collapse
|
20
14
|
padding: 0
|
21
15
|
|
@@ -62,7 +56,8 @@
|
|
62
56
|
display: block
|
63
57
|
z-index: 3
|
64
58
|
background-color: $navbar-default-bg
|
65
|
-
|
59
|
+
box-shadow: 0 2px 5px #fafafa
|
60
|
+
.ul-navbar li
|
66
61
|
float: left
|
67
62
|
display: block
|
68
63
|
width: 100%
|
@@ -101,7 +96,7 @@
|
|
101
96
|
font-weight: 400
|
102
97
|
padding: 10px 15px
|
103
98
|
text-decoration: none
|
104
|
-
|
99
|
+
transition: all 200ms ease
|
105
100
|
&:hover,
|
106
101
|
&:focus
|
107
102
|
color: $navbar-default-link-hover-color
|
@@ -122,108 +117,109 @@
|
|
122
117
|
.navigation-horizontal
|
123
118
|
height: $navbar-height
|
124
119
|
background: $navbar-default-bg
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
> a, button
|
131
|
-
padding: 15px
|
120
|
+
.ul-navbar
|
121
|
+
&.list-inline
|
122
|
+
margin-left: 0
|
123
|
+
|
124
|
+
.brand-logo a
|
132
125
|
border-bottom: 0
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
126
|
+
width: $left-menu-width-open
|
127
|
+
li
|
128
|
+
background-color: #fff
|
129
|
+
> a, button
|
130
|
+
padding: 10px 15px
|
131
|
+
border-bottom: 0
|
132
|
+
line-height: 19px
|
133
|
+
color: $navbar-default-link-color
|
134
|
+
text-shadow: none
|
135
|
+
display: block
|
136
|
+
|
137
|
+
&:hover
|
138
|
+
background: $navbar-default-link-hover-bg
|
139
|
+
text-decoration: none
|
140
|
+
.fa, .glyphicon
|
141
|
+
color: $navbar-icon-color
|
142
|
+
.fa, .glyphicon
|
143
|
+
color: $navbar-default-link-color
|
144
|
+
&.navbar-toggle
|
145
|
+
padding: 9px 10px
|
146
|
+
border-bottom: 1px solid $navbar-default-toggle-border-color
|
147
|
+
display: none
|
148
|
+
.brand-logo a
|
149
|
+
background-color: $navbar-default-brand-color
|
150
|
+
&.active > a,
|
151
|
+
&.active > button
|
152
|
+
background: $navbar-default-link-active-bg
|
140
153
|
.fa, .glyphicon
|
141
154
|
color: $navbar-icon-color
|
155
|
+
ul
|
156
|
+
width: $left-menu-width-open
|
157
|
+
position: absolute
|
158
|
+
overflow: visible
|
159
|
+
border-radius: 3px
|
160
|
+
box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.1)
|
161
|
+
z-index: 3
|
162
|
+
li
|
163
|
+
width: 100%
|
164
|
+
|
165
|
+
li
|
166
|
+
width: auto
|
167
|
+
position: relative
|
168
|
+
&.active > ul
|
169
|
+
display: block
|
170
|
+
|
171
|
+
.xn-icon-button > a,
|
172
|
+
.xn-icon-button > button
|
173
|
+
padding: 15px 10px
|
174
|
+
text-align: center
|
175
|
+
width: 50px
|
142
176
|
.fa, .glyphicon
|
143
|
-
|
144
|
-
&.navbar-toggle
|
145
|
-
padding: 9px 10px
|
146
|
-
border-bottom: 1px solid $navbar-default-toggle-border-color
|
147
|
-
display: none
|
148
|
-
|
149
|
-
&.active > a,
|
150
|
-
&.active > button
|
151
|
-
background: $navbar-default-link-active-bg
|
152
|
-
.fa, .glyphicon
|
153
|
-
color: $navbar-icon-color
|
154
|
-
ul
|
155
|
-
width: $left-menu-width-open
|
156
|
-
position: absolute
|
157
|
-
overflow: visible
|
158
|
-
display: none
|
159
|
-
+border-radius(3px)
|
160
|
-
+box-shadow(0 2px 1px 0 rgba(0, 0, 0, 0.1))
|
161
|
-
z-index: 3
|
162
|
-
li
|
163
|
-
width: 100%
|
164
|
-
|
165
|
-
li
|
166
|
-
width: auto
|
167
|
-
position: relative
|
168
|
-
&.active > ul
|
169
|
-
display: block
|
170
|
-
|
171
|
-
.xn-icon-button > a,
|
172
|
-
.xn-icon-button > button
|
173
|
-
padding: 15px 10px
|
174
|
-
text-align: center
|
175
|
-
width: 50px
|
176
|
-
.fa, .glyphicon
|
177
|
-
margin: 0
|
178
|
-
|
179
|
-
> li
|
177
|
+
margin: 0
|
180
178
|
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
right: 1px
|
226
|
-
top: 5px
|
179
|
+
> li
|
180
|
+
|
181
|
+
&.xn-profile
|
182
|
+
padding: 0
|
183
|
+
border-bottom: 1px solid #273541
|
184
|
+
.profile-mini
|
185
|
+
display: none
|
186
|
+
width: 50px
|
187
|
+
padding: 7px
|
188
|
+
img
|
189
|
+
width: 36px
|
190
|
+
border: 2px solid #FFF
|
191
|
+
border-radius: 50%
|
192
|
+
.informer
|
193
|
+
font-size: 11px
|
194
|
+
position: absolute
|
195
|
+
line-height: 20px
|
196
|
+
text-align: center
|
197
|
+
padding: 0 5px
|
198
|
+
background: #BBB
|
199
|
+
right: 10px
|
200
|
+
top: 15px
|
201
|
+
color: #FFF
|
202
|
+
border-radius: 3px
|
203
|
+
&.pulsate
|
204
|
+
animation: pulsate 1s ease-out
|
205
|
+
animation-iteration-count: infinite
|
206
|
+
&.informer-primary
|
207
|
+
background: $brand-primary
|
208
|
+
&.informer-success
|
209
|
+
background: $brand-success
|
210
|
+
&.informer-info
|
211
|
+
background: $brand-info
|
212
|
+
&.informer-warning
|
213
|
+
background: $brand-warning
|
214
|
+
&.informer-danger
|
215
|
+
background: $brand-danger
|
216
|
+
li li .informer
|
217
|
+
top: 12px
|
218
|
+
.xn-icon-button .informer
|
219
|
+
left: auto
|
220
|
+
bottom: auto
|
221
|
+
right: 1px
|
222
|
+
top: 5px
|
227
223
|
|
228
224
|
|
229
225
|
/*
|
@@ -243,7 +239,7 @@
|
|
243
239
|
img
|
244
240
|
width: 100px
|
245
241
|
border: 3px solid #FFF
|
246
|
-
|
242
|
+
border-radius: 50%
|
247
243
|
.profile-data
|
248
244
|
width: 100%
|
249
245
|
float: left
|
@@ -268,9 +264,9 @@
|
|
268
264
|
border: 2px solid #DDD
|
269
265
|
line-height: 25px
|
270
266
|
position: absolute
|
271
|
-
|
267
|
+
border-radius: 50%
|
272
268
|
padding: 0
|
273
|
-
|
269
|
+
transition: all 200ms ease
|
274
270
|
&.profile-control-left
|
275
271
|
left: 15px
|
276
272
|
top: 53px
|
@@ -1,6 +1,4 @@
|
|
1
1
|
@import 'variables'
|
2
|
-
@import "compass/css3/border-radius"
|
3
|
-
@import "compass/css3/transition"
|
4
2
|
|
5
3
|
.tabs
|
6
4
|
float: left
|
@@ -31,13 +29,13 @@
|
|
31
29
|
border: 0
|
32
30
|
font-size: 14px
|
33
31
|
border-top: 2px solid transparent
|
34
|
-
|
32
|
+
border-radius: 0
|
35
33
|
color: #333
|
36
|
-
|
34
|
+
transition: all 200ms ease
|
37
35
|
background: $btn-default-bg
|
38
36
|
padding: 9px 15px
|
39
37
|
&:first-child > a
|
40
|
-
|
38
|
+
border-radius: 5px 0 0
|
41
39
|
> a:hover
|
42
40
|
border-color: transparent
|
43
41
|
background: #FFF
|
@@ -45,24 +43,24 @@
|
|
45
43
|
border: 0
|
46
44
|
border-top: 2px solid $brand-primary
|
47
45
|
background: #FFF
|
48
|
-
|
46
|
+
border-radius: 3px 3px 0 0
|
49
47
|
li.active > a
|
50
48
|
border: 0
|
51
49
|
border-top: 2px solid $brand-primary
|
52
50
|
background: #FFF
|
53
|
-
|
51
|
+
border-radius: 3px 3px 0 0
|
54
52
|
&:focus, &:hover
|
55
53
|
border: 0
|
56
54
|
border-top: 2px solid $brand-primary
|
57
55
|
background: #FFF
|
58
|
-
|
56
|
+
border-radius: 3px 3px 0 0
|
59
57
|
&.nav-justified >
|
60
58
|
li > a
|
61
59
|
border: 0
|
62
60
|
border-top: 2px solid transparent
|
63
|
-
|
61
|
+
border-radius: 0
|
64
62
|
color: #333
|
65
|
-
|
63
|
+
transition: all 200ms ease
|
66
64
|
&:hover
|
67
65
|
border-color: $brand-primary
|
68
66
|
background: 0 0
|
@@ -70,12 +68,12 @@
|
|
70
68
|
border: 0
|
71
69
|
border-top: 2px solid $brand-primary
|
72
70
|
background: #FFF
|
73
|
-
|
71
|
+
border-radius: 3px 3px 0 0
|
74
72
|
&:focus, &:hover
|
75
73
|
border: 0
|
76
74
|
border-top: 2px solid $brand-primary
|
77
75
|
background: #FFF
|
78
|
-
|
76
|
+
border-radius: 3px 3px 0 0
|
79
77
|
a
|
80
78
|
.caret, &:hover .caret
|
81
79
|
color: $brand-primary
|
@@ -96,7 +94,7 @@
|
|
96
94
|
width: 100%
|
97
95
|
> a
|
98
96
|
width: 100%
|
99
|
-
|
97
|
+
border-radius: 0
|
100
98
|
border-top: 0
|
101
99
|
border-left: 2px solid transparent
|
102
100
|
background: #FFF
|
@@ -117,11 +115,33 @@
|
|
117
115
|
border-left: 2px solid $brand-primary
|
118
116
|
background: $btn-default-bg
|
119
117
|
&:first-child > a
|
120
|
-
|
118
|
+
border-top-left-radius: 3px
|
121
119
|
&:last-child > a
|
122
|
-
|
120
|
+
border-bottom-left-radius: 3px
|
123
121
|
.tab-content
|
124
122
|
width: auto
|
125
123
|
margin-left: 150px
|
126
124
|
.panel-body
|
127
125
|
padding-top: 10px
|
126
|
+
|
127
|
+
.form-tabs
|
128
|
+
.navbar
|
129
|
+
margin-bottom: 0
|
130
|
+
border-radius: 0
|
131
|
+
.nav li
|
132
|
+
border-top: none
|
133
|
+
&.active
|
134
|
+
border-top-color: $navbar-inverse-link-hover-color
|
135
|
+
margin-bottom: 0
|
136
|
+
|
137
|
+
@media (min-width: $screen-md-min)
|
138
|
+
.form-tabs
|
139
|
+
.navbar
|
140
|
+
.nav li
|
141
|
+
border-top: 4px solid transparent
|
142
|
+
&.active
|
143
|
+
border-top-color: $navbar-inverse-link-hover-color
|
144
|
+
border-bottom: 1px solid #fff
|
145
|
+
margin-bottom: -1px
|
146
|
+
> a
|
147
|
+
padding-top: 12.5px
|
@@ -1,15 +1,12 @@
|
|
1
1
|
@import "variables"
|
2
2
|
|
3
|
-
@import "compass/css3/transform"
|
4
|
-
@import "compass/css3/transition"
|
5
|
-
|
6
3
|
.order-anchor
|
7
4
|
float: left
|
8
5
|
margin-right: 10px
|
9
6
|
color: $gray-darker
|
10
7
|
cursor: move
|
11
8
|
outline: 0
|
12
|
-
|
9
|
+
transition: all, .2s, ease-out
|
13
10
|
&:hover
|
14
11
|
color: $gray-darker
|
15
12
|
&:focus,
|
@@ -28,7 +25,7 @@
|
|
28
25
|
.panel
|
29
26
|
.collapsed
|
30
27
|
.caret
|
31
|
-
|
28
|
+
transform: rotate(270deg)
|
32
29
|
|
33
30
|
.nested-many-field
|
34
31
|
&.orderable
|
@@ -1,21 +1,14 @@
|
|
1
1
|
@import "variables"
|
2
2
|
|
3
|
-
@import "compass/css3/border-radius"
|
4
|
-
@import "compass/css3/box-shadow"
|
5
|
-
@import "compass/css3/transform"
|
6
|
-
@import "compass/css3/transition"
|
7
|
-
@import "compass/css3/inline-block"
|
8
|
-
@import "compass/css3/opacity"
|
9
|
-
|
10
3
|
.panel
|
11
4
|
float: left
|
12
5
|
width: 100%
|
13
|
-
|
6
|
+
border-radius: $panel-border-radius
|
14
7
|
border: 0
|
15
8
|
border-top: 2px solid $panel-default-border
|
16
9
|
margin-bottom: 20px
|
17
10
|
position: relative
|
18
|
-
|
11
|
+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2)
|
19
12
|
&.panel-default
|
20
13
|
border-top-color: $panel-default-border
|
21
14
|
border-top-width: 1px
|
@@ -35,7 +28,7 @@
|
|
35
28
|
float: left
|
36
29
|
width: 30px
|
37
30
|
border: 2px solid $gray-lighter
|
38
|
-
|
31
|
+
border-radius: 50%
|
39
32
|
margin-right: 5px
|
40
33
|
.panel-title
|
41
34
|
margin-left: 7px
|
@@ -88,7 +81,7 @@
|
|
88
81
|
margin-bottom: 10px
|
89
82
|
position: relative
|
90
83
|
img
|
91
|
-
|
84
|
+
border-radius: 5px 5px 0 0
|
92
85
|
width: 100%
|
93
86
|
.panel-body-inform
|
94
87
|
width: 30px
|
@@ -98,13 +91,13 @@
|
|
98
91
|
left: 50%
|
99
92
|
background: $brand-info
|
100
93
|
color: #FFF
|
101
|
-
|
94
|
+
border-radius: 5px
|
102
95
|
margin-left: -15px
|
103
96
|
text-align: center
|
104
97
|
line-height: 30px
|
105
98
|
padding-left: 1px
|
106
99
|
padding-top: 1px
|
107
|
-
|
100
|
+
transform: rotate(45deg)
|
108
101
|
&.inform-primary
|
109
102
|
background: $brand-primary
|
110
103
|
&.inform-success
|
@@ -116,11 +109,11 @@
|
|
116
109
|
.fa
|
117
110
|
font-size: 16px
|
118
111
|
color: #FFF
|
119
|
-
|
112
|
+
transform: rotate(-45deg)
|
120
113
|
&.list-group
|
121
114
|
padding: 0
|
122
115
|
&.profile
|
123
|
-
|
116
|
+
border-radius: 5px 5px 0 0
|
124
117
|
&.panel-body-search
|
125
118
|
padding: 5px
|
126
119
|
&.panel-body-half .panel-body
|
@@ -171,14 +164,15 @@
|
|
171
164
|
text-decoration: none
|
172
165
|
|
173
166
|
ul.panel-controls
|
174
|
-
float: right
|
175
167
|
padding: 0
|
176
168
|
margin: 0
|
177
169
|
list-style: none
|
178
170
|
position: relative
|
179
171
|
> li
|
180
172
|
float: left
|
181
|
-
|
173
|
+
margin: 0 2px
|
174
|
+
max-width: 500px
|
175
|
+
> a:not(.btn)
|
182
176
|
display: block
|
183
177
|
float: left
|
184
178
|
width: 30px
|
@@ -187,9 +181,9 @@ ul.panel-controls
|
|
187
181
|
line-height: 28px
|
188
182
|
color: $breadcrumb-active-color
|
189
183
|
border: 1px solid #BBB
|
190
|
-
|
184
|
+
border-radius: 50%
|
191
185
|
margin-left: 3px
|
192
|
-
|
186
|
+
transition: all 200ms ease
|
193
187
|
&.control-primary
|
194
188
|
color: $brand-primary
|
195
189
|
border-color: $brand-primary
|
@@ -210,44 +204,20 @@ ul.panel-controls
|
|
210
204
|
color: $title-color
|
211
205
|
|
212
206
|
.label-form
|
213
|
-
|
207
|
+
display: inline-block
|
214
208
|
font-size: 11px
|
215
209
|
padding: 5px 10px
|
216
210
|
line-height: 12px
|
217
211
|
margin-top: 4px
|
218
212
|
|
219
|
-
ul.panel-controls > li
|
220
|
-
&.label-control .label
|
221
|
-
+inline-block
|
222
|
-
font-size: 11px
|
223
|
-
padding: 5px 10px
|
224
|
-
line-height: 12px
|
225
|
-
margin-top: 4px
|
226
|
-
> .dropdown-menu
|
227
|
-
left: auto
|
228
|
-
right: 3px
|
229
|
-
&:after, &:before
|
230
|
-
left: auto
|
231
|
-
right: 11px
|
232
|
-
&:after
|
233
|
-
margin-left: auto
|
234
|
-
margin-right: -5px
|
235
|
-
&:before
|
236
|
-
margin-left: auto
|
237
|
-
margin-right: -6px
|
238
|
-
|
239
213
|
.panel-heading .label
|
240
214
|
line-height: 16px
|
241
215
|
padding: 4px 10px
|
242
216
|
margin: 3px 0 3px 5px
|
243
217
|
font-size: 12px
|
244
|
-
|
245
|
-
|
218
|
+
display: inline-block
|
219
|
+
border-radius: 3px
|
246
220
|
&.pulsate
|
247
|
-
-webkit-animation: pulsate 1s ease-out
|
248
|
-
-webkit-animation-iteration-count: infinite
|
249
|
-
-moz-animation: pulsate 1s ease-out
|
250
|
-
-moz-animation-iteration-count: infinite
|
251
221
|
animation: pulsate 1s ease-out
|
252
222
|
animation-iteration-count: infinite
|
253
223
|
|
@@ -257,7 +227,7 @@ ul.panel-controls > li
|
|
257
227
|
left: 0
|
258
228
|
top: 0
|
259
229
|
background: #FFF
|
260
|
-
|
230
|
+
opacity: .5
|
261
231
|
z-index: 3
|
262
232
|
font-size: 21px
|
263
233
|
img
|
@@ -275,11 +245,11 @@ ul.panel-controls > li
|
|
275
245
|
|
276
246
|
.panel-hidden-controls
|
277
247
|
ul.panel-controls > li > a
|
278
|
-
|
248
|
+
opacity: 0
|
279
249
|
&:hover ul.panel-controls > li > a
|
280
|
-
|
250
|
+
opacity: .8
|
281
251
|
&:hover
|
282
|
-
|
252
|
+
opacity: 1
|
283
253
|
|
284
254
|
// Toggle panel
|
285
255
|
.panel-toggled
|
@@ -1,7 +1,5 @@
|
|
1
1
|
@import "variables"
|
2
2
|
|
3
|
-
@import "compass/css3/opacity"
|
4
|
-
|
5
3
|
.sort_link, .sort_link_asc, .sort_link_desc
|
6
4
|
position: relative
|
7
5
|
cursor: pointer
|
@@ -11,20 +9,20 @@
|
|
11
9
|
bottom: 5px
|
12
10
|
right: -15px
|
13
11
|
font-family: FontAwesome
|
14
|
-
|
12
|
+
opacity: .9
|
15
13
|
width: 10px
|
16
14
|
height: 10px
|
17
15
|
display: block
|
18
16
|
|
19
17
|
.sort_link:before
|
20
18
|
content: "\f0dc"
|
21
|
-
|
19
|
+
opacity: .3
|
22
20
|
|
23
21
|
.sort_link.asc:before
|
24
|
-
content: "\
|
22
|
+
content: "\f0d7"
|
25
23
|
|
26
24
|
.sort_link.desc:before
|
27
|
-
content: "\
|
25
|
+
content: "\f0d8"
|
28
26
|
|
29
27
|
.sort_link.asc.disabled:before, .sort_link.desc.disabled:before
|
30
|
-
|
28
|
+
opacity: .1
|
@@ -1,7 +1,5 @@
|
|
1
1
|
@import "variables"
|
2
2
|
|
3
|
-
@import "compass/css3/inline-block"
|
4
|
-
|
5
3
|
.root-tree
|
6
4
|
padding-left: 0
|
7
5
|
> .node
|
@@ -29,7 +27,7 @@
|
|
29
27
|
padding: 5px
|
30
28
|
text-align: center
|
31
29
|
width: 32px
|
32
|
-
|
30
|
+
display: inline-block
|
33
31
|
margin-top: 3px
|
34
32
|
&:focus,
|
35
33
|
&:active,
|
@@ -38,7 +36,7 @@
|
|
38
36
|
|
39
37
|
.node-name
|
40
38
|
margin-top: 3px
|
41
|
-
|
39
|
+
display: inline-block
|
42
40
|
|
43
41
|
.placeholder
|
44
42
|
height: 30px
|