kube-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/README.md +1 -0
  2. data/Rakefile +14 -0
  3. data/lib/generators/kube/install/install_generator.rb +53 -0
  4. data/lib/generators/kube/install/templates/application.css +7 -0
  5. data/lib/generators/kube/install/templates/application.js +10 -0
  6. data/lib/generators/kube/install/templates/bootstrap.coffee +4 -0
  7. data/lib/generators/kube/install/templates/bootstrap_and_overrides.less +28 -0
  8. data/lib/generators/kube/layout/layout_generator.rb +23 -0
  9. data/lib/generators/kube/layout/templates/layout.html.erb +108 -0
  10. data/lib/generators/kube/layout/templates/layout.html.haml +68 -0
  11. data/lib/generators/kube/layout/templates/layout.html.slim +68 -0
  12. data/lib/generators/kube/partial/partial_generator.rb +20 -0
  13. data/lib/generators/kube/partial/templates/_login.html.erb +29 -0
  14. data/lib/generators/kube/partial/templates/_navbar.html.erb +13 -0
  15. data/lib/generators/kube/themed/templates/_form.html.erb +16 -0
  16. data/lib/generators/kube/themed/templates/_form.html.haml +10 -0
  17. data/lib/generators/kube/themed/templates/_form.html.slim +11 -0
  18. data/lib/generators/kube/themed/templates/edit.html.erb +6 -0
  19. data/lib/generators/kube/themed/templates/edit.html.haml +4 -0
  20. data/lib/generators/kube/themed/templates/edit.html.slim +4 -0
  21. data/lib/generators/kube/themed/templates/index.html.erb +40 -0
  22. data/lib/generators/kube/themed/templates/index.html.haml +25 -0
  23. data/lib/generators/kube/themed/templates/index.html.slim +27 -0
  24. data/lib/generators/kube/themed/templates/new.html.erb +6 -0
  25. data/lib/generators/kube/themed/templates/new.html.haml +4 -0
  26. data/lib/generators/kube/themed/templates/new.html.slim +4 -0
  27. data/lib/generators/kube/themed/templates/show.html.erb +23 -0
  28. data/lib/generators/kube/themed/templates/show.html.haml +15 -0
  29. data/lib/generators/kube/themed/templates/show.html.slim +17 -0
  30. data/lib/generators/kube/themed/templates/simple_form/_form.html.erb +14 -0
  31. data/lib/generators/kube/themed/templates/simple_form/_form.html.haml +11 -0
  32. data/lib/generators/kube/themed/templates/simple_form/_form.html.slim +12 -0
  33. data/lib/generators/kube/themed/themed_generator.rb +104 -0
  34. data/lib/kube/rails/engine.rb +13 -0
  35. data/lib/kube/rails/kube.rb +2 -0
  36. data/lib/kube/rails/version.rb +5 -0
  37. data/lib/kube-rails.rb +8 -0
  38. data/vendor/kube/base.less +199 -0
  39. data/vendor/kube/blocks.less +27 -0
  40. data/vendor/kube/buttons.less +138 -0
  41. data/vendor/kube/forms.less +219 -0
  42. data/vendor/kube/goodies.less +119 -0
  43. data/vendor/kube/grid.less +149 -0
  44. data/vendor/kube/kube.less +18 -0
  45. data/vendor/kube/mixins.less +76 -0
  46. data/vendor/kube/responsive.less +93 -0
  47. data/vendor/kube/tables.less +41 -0
  48. data/vendor/kube/typo.less +230 -0
  49. data/vendor/kube/variables.less +67 -0
  50. metadata +174 -0
@@ -0,0 +1,219 @@
1
+ /* =Forms
2
+ -----------------------------------------------------------------------------*/
3
+ .forms label {
4
+ display: block;
5
+ margin-bottom: 2px;
6
+ }
7
+ .descr {
8
+ color: @colorGrayLight;
9
+ font-size: @smallFontSize;
10
+ line-height: @baseLine/@em;
11
+ }
12
+ div.descr {
13
+ margin: 4px 0;
14
+ }
15
+ .columnar div.descr {
16
+ margin-bottom: 10px;
17
+ }
18
+ .forms ul {
19
+ list-style: none;
20
+ margin: 0;
21
+ }
22
+ .forms ul li {
23
+ margin-bottom: 10px;
24
+ }
25
+ .forms.columnar ul li {
26
+ margin-bottom: 15px;
27
+ }
28
+
29
+ /* liner fieldset */
30
+ fieldset.liner {
31
+ border: none;
32
+ padding: 0;
33
+ }
34
+ fieldset.liner legend {
35
+ padding: 0;
36
+ width: 100%;
37
+ padding-bottom: 12px;
38
+ }
39
+ fieldset.liner legend span {
40
+ padding: 0;
41
+ padding-bottom: 8px;
42
+ border-bottom: 1px solid #eee;
43
+ display: block;
44
+ }
45
+ /* multicolumn */
46
+ .forms ul.multicolumn {
47
+ .clearfixing();
48
+ }
49
+ .forms ul.multicolumn li {
50
+ float: left;
51
+ margin-right: 12px;
52
+ margin-bottom: 0;
53
+ line-height: 1.8em;
54
+ }
55
+ .forms ul.multicolumn li label {
56
+ margin-bottom: 0;
57
+ }
58
+ .forms ul.multicolumn li.width-50 {
59
+ width: 48%;
60
+ margin-right: 2%;
61
+ }
62
+ .forms ul.multicolumn li.width-33 {
63
+ width: 31%;
64
+ margin-right: 2%;
65
+ }
66
+ /* columnar */
67
+ .forms.columnar legend {
68
+ margin-bottom: 1em;
69
+ }
70
+ .forms.columnar label {
71
+ float: left;
72
+ width: @columnarWidth;
73
+ text-align: right;
74
+ margin-right: @columnarMargin;
75
+ }
76
+ .forms.columnar .push, .forms.columnar div.descr {
77
+ margin-left: @columnarWidth + @columnarMargin;
78
+ }
79
+ .forms.columnar li fieldset label {
80
+ float: none;
81
+ width: auto;
82
+ text-align: left;
83
+ margin-right: 0;
84
+ }
85
+ .forms.columnar li fieldset {
86
+ border: none;
87
+ padding: 0;
88
+ margin: 0;
89
+ padding-left: @columnarWidth + @columnarMargin;
90
+ position: relative;
91
+ }
92
+ .forms.columnar li fieldset section {
93
+ padding: 0;
94
+ position: absolute;
95
+ width: @columnarWidth;
96
+ text-align: right;
97
+ left: 0;
98
+ top: 0;
99
+ }
100
+ .forms.columnar li fieldset section label {
101
+ float: none;
102
+ width: auto;
103
+ margin-right: 0;
104
+ text-align: right;
105
+ }
106
+ .forms.columnar li fieldset div.descr {
107
+ margin-left: 0;
108
+ }
109
+
110
+
111
+ /* section */
112
+ .forms li.form-section {
113
+ font-weight: bold;
114
+ border-bottom: 1px solid #eee;
115
+ padding: 1.5em 0 .7em 0;
116
+ font-size: 1.1em;
117
+ margin-bottom: 1.5em;
118
+ }
119
+ .columnar li.form-section {
120
+ padding-left: @columnarWidth + @columnarMargin;
121
+ }
122
+
123
+
124
+ /* tableforms */
125
+ table.tableforms td {
126
+ font-size: 90%;
127
+ padding: 1px 10px 3px 0 !important;
128
+ border: none;
129
+ }
130
+ table.tableforms tr.labels td {
131
+ padding-top: .8em !important;
132
+ font-weight: bold;
133
+ }
134
+
135
+ input[type="radio"],
136
+ input[type="checkbox"] {
137
+ position: relative;
138
+ top: -1px;
139
+ }
140
+
141
+ input[type="text"],
142
+ input[type="password"],
143
+ input[type="email"],
144
+ textarea {
145
+ position: relative;
146
+ z-index: 2;
147
+ font-family: @inputFontFamily;
148
+ height: 23px;
149
+ border: 1px solid #ccc;
150
+ margin: 0;
151
+ padding: 1px 2px;
152
+ background-color: white;
153
+ color: #333;
154
+ font-size: 13px;
155
+ line-height: 1;
156
+ border-radius: 1px;
157
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .2) inset;
158
+ .transition(border .3s ease-in);
159
+ }
160
+ textarea {
161
+ line-height: 1.4em;
162
+ }
163
+
164
+ /* Errors and Success */
165
+ .error,
166
+ .success {
167
+ margin-left: 5px;
168
+ font-weight: normal;
169
+ font-size: @smallFontSize;
170
+ }
171
+ input.input-error, textarea.input-error, select.input-error, .input-error {
172
+ border-color: #da3e5a;
173
+ box-shadow: 0 0 0 2px rgba(218, 62, 90, .3),0 1px 2px rgba(0, 0, 0, .2) inset;
174
+
175
+ }
176
+ input.input-success, textarea.input-success, select.input-success, .input-success {
177
+ border-color: #18a011 ;
178
+ box-shadow: 0 0 0 2px rgba(24, 160, 17, .3),0 1px 2px rgba(0, 0, 0, .2) inset;
179
+ }
180
+ input.input-gray, textarea.input-gray, select.input-gray, .input-gray {
181
+ border-color: #ccc;
182
+ box-shadow: 0 0 0 2px rgba(204, 204, 204, .3),0 1px 2px rgba(0, 0, 0, .2) inset;
183
+ }
184
+
185
+ input:focus, textarea:focus {
186
+ outline: none;
187
+ border-color: #5ca9e4;
188
+ box-shadow: 0 0 0 2px rgba(70, 161, 231, .3), 0 1px 2px rgba(0, 0, 0, .2) inset;
189
+
190
+
191
+ }
192
+ input.input-search, input[type="search"] {
193
+ padding-right: 10px;
194
+ padding-left: 10px;
195
+ margin-bottom: 0;
196
+ border-radius: 15px;
197
+ }
198
+ .input-append, .input-prepend {
199
+ display: inline-block;
200
+ background-color: #eee;
201
+ height: 23px;
202
+ border: 1px solid #ccc;
203
+ margin: 0;
204
+ padding: 1px 8px;
205
+ color: #333;
206
+ font-size: 14px;
207
+ line-height: 23px;
208
+ }
209
+ .input-prepend {
210
+ margin-right: -1px;
211
+ }
212
+
213
+ .input-append {
214
+ position: relative;
215
+ z-index: 1;
216
+ margin-left: -1px;
217
+ }
218
+
219
+
@@ -0,0 +1,119 @@
1
+ /* =Goodies
2
+ -----------------------------------------------------------------------------*/
3
+ .image-left {
4
+ float: left;
5
+ margin: 0 @floatingMargin @floatingMargin 0;
6
+ }
7
+ .image-right {
8
+ float: right;
9
+ margin: 0 0 @floatingMargin @floatingMargin;
10
+ }
11
+ .image-left img, .image-right img {
12
+ position: relative;
13
+ top: .4em;
14
+ }
15
+ p.lead {
16
+ font-size: @bigFontSize;
17
+ }
18
+ .supersmall {
19
+ font-size: @superSmallFontSize;
20
+ }
21
+ .small {
22
+ font-size: @smallFontSize;
23
+ }
24
+ .big {
25
+ font-size: @bigFontSize;
26
+ }
27
+ input.big {
28
+ padding: 2px 0;
29
+ font-size: @bigFontSize;
30
+ }
31
+ .text-centered {
32
+ text-align: center;
33
+ }
34
+ .uppercase {
35
+ text-transform: uppercase;
36
+ }
37
+ .nowrap {
38
+ white-space: nowrap;
39
+ }
40
+ .clear {
41
+ clear: both;
42
+ }
43
+ .last {
44
+ margin-right: 0 !important;
45
+ }
46
+ .end {
47
+ margin-bottom: 0 !important;
48
+ }
49
+ .handle {
50
+ cursor: move;
51
+ }
52
+ .normal {
53
+ font-weight: normal;
54
+ }
55
+ .bold {
56
+ font-weight: bold;
57
+ }
58
+ .italic {
59
+ font-style: italic;
60
+ }
61
+ .req, .required {
62
+ font-weight: normal;
63
+ color: @colorRed;
64
+ }
65
+ .highlight {
66
+ background-color: #e5ecf5 !important;
67
+ }
68
+
69
+ /* Width */
70
+ .width-33 {
71
+ width: 33%;
72
+ }
73
+ .width-50 {
74
+ width: 50%;
75
+ }
76
+ .width-100 {
77
+ width: 100%;
78
+ }
79
+ input.width-100 {
80
+ width: 98.6%;
81
+ }
82
+ textarea.width-100 {
83
+ width: 99.4%;
84
+ }
85
+ select.width-100 {
86
+ width: 99.4%;
87
+ }
88
+
89
+ /* Colors */
90
+ .black {
91
+ color: @colorBlack;
92
+ }
93
+ .gray-dark {
94
+ color: @colorGrayDark;
95
+ }
96
+ .gray {
97
+ color: @colorGray;
98
+ }
99
+ .gray-light {
100
+ color: @colorGrayLight;
101
+ }
102
+ .white {
103
+ color: @colorWhite;
104
+ }
105
+ .red, .error {
106
+ color: @colorRed;
107
+ }
108
+ .green, .success {
109
+ color: @colorGreen;
110
+ }
111
+
112
+ /* Link Colors Hover */
113
+ a.white:hover {
114
+ color: darken(@colorWhite, 15%);
115
+ color: rgba(255, 255, 255, .8);
116
+ }
117
+ a.green:hover, a.red:hover, a.error:hover {
118
+ color: @colorBlack;
119
+ }
@@ -0,0 +1,149 @@
1
+
2
+ /* =Grid
3
+ -----------------------------------------------------------------------------*/
4
+ .row {
5
+ margin-bottom: @baseLine/@em;
6
+ }
7
+ .container.row {
8
+ margin-bottom: 0;
9
+ }
10
+ .container:after, .row:after {
11
+ content: ".";
12
+ display: block;
13
+ height: 0;
14
+ clear: both;
15
+ visibility: hidden;
16
+ }
17
+
18
+ .half,
19
+ .third,
20
+ .quarter,
21
+ .fifth,
22
+ .sixth,
23
+ .twothird,
24
+ .twofifth,
25
+ .threefifth,
26
+ .fourfifth,
27
+ .fivesixth,
28
+ .threequarter {
29
+ margin-left: @gridGutterWidth/(@gridWidth/100)*1%;
30
+ float: left;
31
+ min-height: 1px;
32
+ }
33
+ .half:first-child,
34
+ .third:first-child,
35
+ .quarter:first-child,
36
+ .fifth:first-child,
37
+ .sixth:first-child,
38
+ .twothird:first-child,
39
+ .twofifth:first-child,
40
+ .threefifth:first-child,
41
+ .fourfifth:first-child,
42
+ .fivesixth:first-child,
43
+ .threequarter:first-child {
44
+ margin-left: 0;
45
+ }
46
+
47
+ .sixth { .column(6); }
48
+ .fifth { .column(5); }
49
+ .quarter { .column(4); }
50
+ .third { .column(3); }
51
+ .half { .column(2); }
52
+
53
+ .threequarter { .columns(3, 4); }
54
+ .twothird { .columns(2, 3); }
55
+ .twofifth { .columns(2, 5); }
56
+ .threefifth { .columns(3, 5); }
57
+ .fourfifth { .columns(4, 5); }
58
+ .fivesixth { .columns(5, 6); }
59
+
60
+
61
+ .push-half,
62
+ .push-threequarter,
63
+ .push-quarter,
64
+ .push-third,
65
+ .push-twothird,
66
+ .push-fifth,
67
+ .push-twofifth,
68
+ .push-threefifth,
69
+ .push-fourfifth,
70
+ .push-sixth,
71
+ .push-fivesixth {
72
+ position: relative;
73
+ }
74
+
75
+
76
+ .push-half { .column-push(2); }
77
+ .push-third { .column-push(3); }
78
+ .push-quarter { .column-push(4); }
79
+ .push-fifth { .column-push(5); }
80
+ .push-sixth { .column-push(6); }
81
+
82
+ .push-threequarter { .columns-push(3, 4); }
83
+ .push-twothird { .columns-push(2, 3); }
84
+ .push-twofifth { .columns-push(2, 5); }
85
+ .push-threefifth { .columns-push(3, 5); }
86
+ .push-fourfifth { .columns-push(4, 5); }
87
+ .push-fivesixth { .columns-push(5, 6); }
88
+
89
+
90
+ .split .half,
91
+ .split .third,
92
+ .split .quarter,
93
+ .split .fifth,
94
+ .split .sixth,
95
+ .split .twothird,
96
+ .split .twofifth,
97
+ .split .threefifth,
98
+ .split .fourfifth,
99
+ .split .fivesixth,
100
+ .split .threequarter {
101
+ margin-left: 0;
102
+
103
+ }
104
+
105
+ .split .half { width: 50%; }
106
+ .split .threequarter { width: 75%; }
107
+ .split .quarter { width: 25%; }
108
+ .split .third { width: 33.3%; }
109
+ .split .twothird { width: 66.6%; }
110
+ .split .fifth { width: 20%; }
111
+ .split .twofifth { width: 40%; }
112
+ .split .threefifth { width: 60%; }
113
+ .split .fourfifth { width: 80%; }
114
+ .split .sixth { width: 16.6%; }
115
+ .split .fivesixth { width: 83.4%; }
116
+
117
+ .inner {
118
+ padding: @baseLine/@em;
119
+ }
120
+ .inner-left {
121
+ padding-left: @baseLine/@em;
122
+ }
123
+ .inner-right {
124
+ padding-right: @baseLine/@em;
125
+ }
126
+ .inner-nobottom {
127
+ padding-bottom: 1px;
128
+ }
129
+ .inner-double {
130
+ padding: (@baseLine*2)/@em;
131
+ }
132
+ .inner-double-left {
133
+ padding-left: (@baseLine*2)/@em;
134
+ }
135
+ .inner-double-right {
136
+ padding-right: (@baseLine*2)/@em;
137
+ }
138
+ .inner-double-nobottom {
139
+ padding-bottom: 1px;
140
+ }
141
+
142
+ .row .push-right {
143
+ float: right;
144
+ }
145
+
146
+ .row .centered {
147
+ float: none;
148
+ margin: 0 auto;
149
+ }
@@ -0,0 +1,18 @@
1
+ @import "variables.less";
2
+ @import "mixins.less";
3
+
4
+ @import "base.less";
5
+ @import "typo.less";
6
+
7
+ @import "tables.less";
8
+ @import "forms.less";
9
+
10
+ @import "buttons.less";
11
+
12
+ @import "grid.less";
13
+ @import "blocks.less";
14
+
15
+ @import "goodies.less";
16
+
17
+
18
+ @import "responsive.less";
@@ -0,0 +1,76 @@
1
+ // Dropshadows
2
+ .box-shadow(@shadow: 0 1px 3px #999) {
3
+ -webkit-box-shadow: @shadow;
4
+ -moz-box-shadow: @shadow;
5
+ box-shadow: @shadow;
6
+ }
7
+
8
+ .box-shadow-inset(@shadow: 0 1px 3px #999 inset) {
9
+ -webkit-box-shadow: @shadow;
10
+ -moz-box-shadow: @shadow;
11
+ box-shadow: @shadow;
12
+ }
13
+
14
+ .gradient(@startColor: #555, @endColor: #333) {
15
+ background-color: mix(@startColor, @endColor, 60%);
16
+ background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
17
+ background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10
18
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
19
+ background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
20
+ background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
21
+ background-image: linear-gradient(top, @startColor, @endColor); // The standard
22
+ filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down
23
+ }
24
+
25
+ .transition(@transition) {
26
+ -webkit-transition: @transition;
27
+ -moz-transition: @transition;
28
+ -ms-transition: @transition;
29
+ -o-transition: @transition;
30
+ transition: @transition;
31
+ }
32
+
33
+
34
+ // BorderRadius
35
+ .border-radius(@radius: 5px) {
36
+ -webkit-border-radius: @radius;
37
+ -moz-border-radius: @radius;
38
+ border-radius: @radius;
39
+ }
40
+
41
+ // Opacity
42
+ .opacity(@opacity: 100) {
43
+ filter: e(%("alpha(opacity=%d)", @opacity));
44
+ -moz-opacity: @opacity / 100;
45
+ opacity: @opacity / 100;
46
+ }
47
+
48
+ .clearfixing() {
49
+ &:after {
50
+ content: ".";
51
+ display: block;
52
+ height: 0;
53
+ clear: both;
54
+ visibility: hidden;
55
+ }
56
+ }
57
+
58
+ .block(@num) {
59
+ width: ((@gridWidth - (@gridGutterWidth * @num)) / @num / (@gridWidth / 100)) * 1%;
60
+ }
61
+
62
+ .column(@num) {
63
+ width: ((@gridWidth - (@gridGutterWidth * (@num - 1))) / @num / (@gridWidth / 100)) * 1%;
64
+ }
65
+
66
+ .columns(@factor, @num) {
67
+ width: (((@gridWidth - (@gridGutterWidth * (@num - 1))) / @num / (@gridWidth / 100)) * @factor) + ((@gridGutterWidth / (@gridWidth / 100)) * (@factor - 1)) * 1%;
68
+ }
69
+
70
+ .column-push(@num) {
71
+ left: (((@gridWidth - (@gridGutterWidth * (@num - 1))) / @num / (@gridWidth / 100)) + @gridGutterWidth/(@gridWidth/100)) * 1%;
72
+ }
73
+
74
+ .columns-push(@factor, @num) {
75
+ left: ((((@gridWidth - (@gridGutterWidth * (@num - 1))) / @num / (@gridWidth / 100)) * @factor) + ((@gridGutterWidth / (@gridWidth / 100)) * (@factor - 1)) + @gridGutterWidth/(@gridWidth/100)) * 1%;
76
+ }
@@ -0,0 +1,93 @@
1
+ /* =Responsive Mobile (Portrait)
2
+ -----------------------------------------------------------------------------*/
3
+ @media only screen and (max-width: 767px) {
4
+
5
+ .row .half,
6
+ .row .third,
7
+ .row .quarter,
8
+ .row .fifth,
9
+ .row .sixth,
10
+ .row .twothird,
11
+ .row .twofifth,
12
+ .row .threefifth,
13
+ .row .fourfifth,
14
+ .row .fivesixth,
15
+ .row .threequarter {
16
+ margin-left: 0;
17
+ width: 100%;
18
+ }
19
+
20
+ .push-half,
21
+ .push-threequarter,
22
+ .push-quarter,
23
+ .push-third,
24
+ .push-twothird,
25
+ .push-fifth,
26
+ .push-twofifth,
27
+ .push-threefifth,
28
+ .push-fourfifth,
29
+ .push-sixth,
30
+ .push-fivesixth {
31
+ left: 0;
32
+ }
33
+
34
+ .row .pull-right {
35
+ float: none;
36
+ }
37
+
38
+ /*
39
+ Blocks
40
+ */
41
+ .block-two,
42
+ .block-three,
43
+ .block-four,
44
+ .block-five,
45
+ .block-six {
46
+ margin-left: 0;
47
+ margin-bottom: @baseLine/@em;
48
+ }
49
+
50
+ .block-two > li,
51
+ .block-three > li,
52
+ .block-four > li,
53
+ .block-five > li,
54
+ .block-six > li {
55
+ float: none;
56
+ margin: 0;
57
+ width: 100%;
58
+ }
59
+
60
+ /*
61
+ Forms
62
+ */
63
+ .forms.columnar label {
64
+ float: none;
65
+ text-align: left;
66
+ width: auto;
67
+ }
68
+ .forms.columnar .push, .forms.columnar div.descr {
69
+ margin-left: 0;
70
+ }
71
+ .forms .multicolumn li {
72
+ float: none;
73
+ margin-right: 0;
74
+ }
75
+ .forms .multicolumn li.width-50, .forms .multicolumn li.width-33 {
76
+ width: 100%;
77
+ }
78
+ .forms.columnar li fieldset, .forms.columnar li fieldset section {
79
+ width: 100%;
80
+ padding-left: 0;
81
+ text-align: left;
82
+ position: static;
83
+ }
84
+ .forms fieldset {
85
+ padding: 0;
86
+ padding-top: 1em;
87
+ border: none;
88
+ }
89
+ .forms fieldset legend {
90
+ padding: 0;
91
+ }
92
+
93
+ }
@@ -0,0 +1,41 @@
1
+ /* =Tables
2
+ -----------------------------------------------------------------------------*/
3
+ table caption {
4
+ text-transform: uppercase;
5
+ font-weight: bold;
6
+ padding-left: 0.5em;
7
+ color: #666;
8
+ }
9
+ table.simple td,
10
+ table.simple th {
11
+ border: none;
12
+ padding: ((@baseLine / 2) / @em) 0.7em ((@baseLine / 2) / @em) 0;
13
+ }
14
+ table.bordered td,
15
+ table.bordered th {
16
+ border: 1px solid #ddd;
17
+ }
18
+ table.stroked td,
19
+ table.stroked th {
20
+ border-bottom: 1px solid #eee;
21
+ }
22
+ table.striped tbody tr:nth-child(odd) td {
23
+ background-color: #f8f8f8;
24
+ }
25
+ table.hovered tbody tr:hover td, table.hovered thead tr:hover th {
26
+ background-color: @colorHoveredTable;
27
+ }
28
+
29
+ .thead-gray td, .thead-gray th {
30
+ background-color: #f0f0f0;
31
+ }
32
+ .thead-black td, .thead-black th {
33
+ font-weight: normal;
34
+ color: #f6f6f6;
35
+ color: rgba(255, 255, 255, .9);
36
+ background-color: #222;
37
+ }
38
+ table.bordered .thead-black td,
39
+ table.bordered .thead-black th {
40
+ border: 1px solid #444;
41
+ }