luca 0.8 → 0.8.2
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.
- data/CHANGELOG +5 -1
- data/lib/luca/rails/version.rb +1 -1
- data/src/components/fields/button_field.coffee +4 -3
- data/src/components/fields/checkbox_array.coffee +64 -0
- data/src/components/form_view.coffee +10 -0
- data/src/components/grid_view.coffee +26 -15
- data/src/core/container.coffee +1 -0
- data/src/framework.coffee +2 -2
- data/src/stylesheets/components/grid_view.scss +8 -8
- data/src/stylesheets/containers/tab_view.scss +4 -0
- data/src/templates/components/grid_view.luca +5 -5
- data/src/templates/fields/checkbox_array.luca +5 -0
- data/src/templates/fields/checkbox_array_item.luca +4 -0
- data/vendor/assets/javascripts/luca-ui-base.js +13 -4
- data/vendor/assets/javascripts/luca-ui-spec.js +140 -22
- data/vendor/assets/javascripts/luca-ui.js +140 -22
- data/vendor/assets/javascripts/luca-ui.min.js +3 -3
- data/vendor/assets/stylesheets/luca-ui-bootstrap.css +18 -16
- data/vendor/assets/stylesheets/luca-ui-spec.css +18 -16
- data/vendor/assets/stylesheets/luca-ui.css +18 -16
- metadata +5 -2
@@ -147,7 +147,7 @@ Column container
|
|
147
147
|
margin: 0px auto; }
|
148
148
|
.form-view-footer .toolbar-container .luca-ui-form-toolbar .luca-ui-field, .form-view-footer .toolbar-container .luca-ui-toolbar .luca-ui-field {
|
149
149
|
float: left; }
|
150
|
-
.scrollable-
|
150
|
+
.scrollable-g-view {
|
151
151
|
/* define height and width of scrollable area. Add 16px to width for scrollbar */
|
152
152
|
/* Reset overflow value to hidden for all non-IE browsers. */
|
153
153
|
/* define width of table. IE browsers only */
|
@@ -173,55 +173,55 @@ Column container
|
|
173
173
|
/* define width of TD elements: 1st, 2nd, and 3rd respectively. */
|
174
174
|
/* All other non-IE browsers. */
|
175
175
|
/* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */ }
|
176
|
-
.scrollable-
|
176
|
+
.scrollable-g-view .luca-ui-g-view-body {
|
177
177
|
clear: both;
|
178
178
|
overflow: auto; }
|
179
|
-
.scrollable-
|
179
|
+
.scrollable-g-view .luca-ui-g-view-body {
|
180
180
|
overflow: hidden; }
|
181
|
-
.scrollable-
|
181
|
+
.scrollable-g-view .luca-ui-g-view-body .empty-text-wrapper {
|
182
182
|
display: block;
|
183
183
|
margin: 10px auto;
|
184
184
|
width: 30%;
|
185
185
|
padding: 50px;
|
186
186
|
text-align: center; }
|
187
|
-
.scrollable-
|
187
|
+
.scrollable-g-view .luca-ui-g-view-body .empty-text-wrapper p {
|
188
188
|
color: #aaa; }
|
189
|
-
.scrollable-
|
189
|
+
.scrollable-g-view thead.fixed tr {
|
190
190
|
position: relative; }
|
191
|
-
.scrollable-
|
191
|
+
.scrollable-g-view thead.fixed tr {
|
192
192
|
display: block; }
|
193
|
-
.scrollable-
|
193
|
+
.scrollable-g-view thead.fixed th {
|
194
194
|
font-weight: bold;
|
195
195
|
text-align: left; }
|
196
|
-
.scrollable-
|
196
|
+
.scrollable-g-view thead.fixed a, .scrollable-g-view thead.fixed a:link, .scrollable-g-view thead.fixed a:visited {
|
197
197
|
color: #FFF;
|
198
198
|
display: block;
|
199
199
|
text-decoration: none;
|
200
200
|
width: 100%; }
|
201
|
-
.scrollable-
|
201
|
+
.scrollable-g-view thead.fixed a:hover {
|
202
202
|
color: #FFF;
|
203
203
|
display: block;
|
204
204
|
text-decoration: underline;
|
205
205
|
width: 100%; }
|
206
|
-
.scrollable-
|
206
|
+
.scrollable-g-view tbody.scrollable {
|
207
207
|
display: block;
|
208
208
|
overflow: auto;
|
209
209
|
width: 100%; }
|
210
|
-
.scrollable-
|
210
|
+
.scrollable-g-view thead.fixed th {
|
211
211
|
padding: 5px; }
|
212
|
-
.scrollable-
|
212
|
+
.scrollable-g-view tbody.scrollable td {
|
213
213
|
padding: 5px; }
|
214
214
|
|
215
|
-
.
|
215
|
+
.luca-ui-g-view-footer .toolbar-container {
|
216
216
|
float: left;
|
217
217
|
width: 100%;
|
218
218
|
clear: both;
|
219
219
|
display: block; }
|
220
|
-
.
|
220
|
+
.luca-ui-g-view-footer .toolbar-container .luca-ui-toolbar {
|
221
221
|
display: block;
|
222
222
|
float: right;
|
223
223
|
clear: right; }
|
224
|
-
.
|
224
|
+
.luca-ui-g-view-footer .toolbar-container .luca-ui-toolbar .luca-ui-field {
|
225
225
|
float: left; }
|
226
226
|
.luca-ui-toolbar-wrapper {
|
227
227
|
clear: both;
|
@@ -246,6 +246,8 @@ Column container
|
|
246
246
|
|
247
247
|
.luca-ui-tab-view.tabs-left .tab-selector-container {
|
248
248
|
float: left; }
|
249
|
+
.luca-ui-tab-view.tabs-left .tab-selector-container ul.nav-tabs {
|
250
|
+
padding: 0px; }
|
249
251
|
.luca-ui-tab-view.tabs-left .tab-content {
|
250
252
|
float: left; }
|
251
253
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.8.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -198,6 +198,7 @@ files:
|
|
198
198
|
- src/components/controller.coffee
|
199
199
|
- src/components/development_console.coffee
|
200
200
|
- src/components/fields/button_field.coffee
|
201
|
+
- src/components/fields/checkbox_array.coffee
|
201
202
|
- src/components/fields/checkbox_field.coffee
|
202
203
|
- src/components/fields/file_upload_field.coffee
|
203
204
|
- src/components/fields/hidden_field.coffee
|
@@ -250,6 +251,8 @@ files:
|
|
250
251
|
- src/templates/containers/toolbar_wrapper.luca
|
251
252
|
- src/templates/fields/button_field.luca
|
252
253
|
- src/templates/fields/button_field_link.luca
|
254
|
+
- src/templates/fields/checkbox_array.luca
|
255
|
+
- src/templates/fields/checkbox_array_item.luca
|
253
256
|
- src/templates/fields/checkbox_field.luca
|
254
257
|
- src/templates/fields/file_upload_field.luca
|
255
258
|
- src/templates/fields/hidden_field.luca
|