lolita 3.3.5 → 3.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/lolita/PIE-custom.htc +87 -87
  3. data/app/assets/stylesheets/lolita/PIE.htc +81 -81
  4. data/app/assets/stylesheets/lolita/application.css +6 -6
  5. data/app/assets/stylesheets/lolita/default.css.erb +169 -169
  6. data/app/assets/stylesheets/lolita/jquery-ui-1.8.16.lolita.css.erb +567 -567
  7. data/app/controllers/lolita/info_controller.rb +4 -5
  8. data/app/helpers/components/lolita/configuration/list_component.rb +10 -10
  9. data/app/views/components/lolita/configuration/column/_first.html.haml +1 -1
  10. data/app/views/components/lolita/configuration/column/header/_first.html.haml +1 -1
  11. data/app/views/components/lolita/configuration/column/header/_sort.html.haml +6 -6
  12. data/app/views/components/lolita/configuration/columns/header/_display.html.haml +5 -5
  13. data/app/views/components/lolita/configuration/field/array/checkbox/_display.html.haml +7 -7
  14. data/app/views/components/lolita/configuration/search/_display.html.haml +2 -2
  15. data/app/views/kaminari/lolita/_first_page.html.erb +11 -11
  16. data/app/views/kaminari/lolita/_gap.html.erb +8 -8
  17. data/app/views/kaminari/lolita/_last_page.html.erb +11 -11
  18. data/app/views/kaminari/lolita/_next_page.html.erb +11 -11
  19. data/app/views/kaminari/lolita/_page.html.erb +12 -12
  20. data/app/views/kaminari/lolita/_paginator.html.erb +23 -23
  21. data/app/views/kaminari/lolita/_prev_page.html.erb +11 -11
  22. data/app/views/lolita/info/index.html.erb +232 -232
  23. data/lib/lolita/adapter/field_helper.rb +18 -18
  24. data/lib/lolita/configuration/field/big_decimal.rb +12 -12
  25. data/lib/lolita/configuration/field/boolean.rb +12 -12
  26. data/lib/lolita/configuration/field/date.rb +12 -12
  27. data/lib/lolita/configuration/field/hidden.rb +12 -12
  28. data/lib/lolita/configuration/field/integer.rb +11 -11
  29. data/lib/lolita/configuration/field/string.rb +16 -16
  30. data/lib/lolita/configuration/field/time.rb +13 -13
  31. data/lib/lolita/configuration/field_set.rb +25 -25
  32. data/lib/lolita/configuration/nested_form.rb +104 -104
  33. data/lib/lolita/configuration/search.rb +104 -104
  34. data/lib/lolita/dbi/base.rb +56 -56
  35. data/lib/lolita/hooks/named_hook.rb +125 -125
  36. data/lib/lolita/lazy_loader.rb +54 -54
  37. data/lib/lolita/navigation/tree.rb +132 -132
  38. data/lib/lolita/ruby_ext/accessors.rb +26 -26
  39. data/lib/lolita/search/simple.rb +75 -75
  40. data/lib/lolita/support/formatter/rails.rb +56 -56
  41. data/lib/lolita/support/formatter.rb +62 -62
  42. data/lib/lolita/test/matchers.rb +77 -77
  43. data/lib/lolita/version.rb +1 -1
  44. data/lib/lolita.rb +2 -2
  45. data/spec/builder_spec.rb +120 -120
  46. data/spec/rails_app/app/controllers/application_controller.rb +3 -3
  47. data/spec/rails_app/app/helpers/application_helper.rb +3 -3
  48. data/spec/rails_app/app/mongoid/address.rb +7 -7
  49. data/spec/rails_app/app/mongoid/comment.rb +5 -5
  50. data/spec/rails_app/app/mongoid/preference.rb +5 -5
  51. data/spec/rails_app/app/mongoid/profile.rb +13 -13
  52. data/spec/rails_app/app/mongoid/tag.rb +3 -3
  53. data/spec/rails_app/app/views/components/lolita/configuration/list/_body_cell.html.erb +1 -1
  54. data/spec/rails_app/config/environment.rb +5 -5
  55. data/spec/rails_app/config/environments/production.rb +37 -37
  56. data/spec/rails_app/config/environments/test.rb +37 -37
  57. data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -7
  58. data/spec/rails_app/config/initializers/inflections.rb +2 -2
  59. data/spec/rails_app/config/initializers/secret_token.rb +1 -1
  60. data/spec/rails_app/lib/lolita/configuration/field/my_custom_collection.rb +13 -13
  61. data/spec/rails_app/log/development.log +14313 -753
  62. data/spec/rails_app/public/javascripts/jquery-1.5.1.min.js +15 -15
  63. data/spec/rails_app/public/javascripts/lolita/main.js +6 -6
  64. data/spec/rails_app/public/javascripts/modernizr-1.7.min.js +1 -1
  65. data/spec/rails_app/public/javascripts/rails.js +137 -137
  66. data/spec/rails_app/public/javascripts/tinymce/langs/en.js +221 -221
  67. data/spec/rails_app/public/javascripts/tinymce/license.txt +504 -504
  68. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/about.htm +52 -52
  69. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/anchor.htm +26 -26
  70. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/charmap.htm +51 -51
  71. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/color_picker.htm +74 -74
  72. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/editor_template_src.js +1328 -1328
  73. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/image.htm +80 -80
  74. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/about.js +73 -73
  75. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/anchor.js +42 -42
  76. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/charmap.js +354 -354
  77. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/color_picker.js +329 -329
  78. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/image.js +247 -247
  79. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/link.js +153 -153
  80. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/source_editor.js +56 -56
  81. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/langs/en.js +68 -68
  82. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +53 -53
  83. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/link.htm +57 -57
  84. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/shortcuts.htm +47 -47
  85. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css +66 -66
  86. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css +117 -117
  87. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css +988 -988
  88. data/spec/rails_app/public/javascripts/tinymce/themes/advanced/source_editor.htm +25 -25
  89. data/spec/rails_app/public/javascripts/tinymce/tiny_mce_popup.js +4 -4
  90. data/spec/rails_app/public/stylesheets/lolita/default.css +169 -169
  91. data/spec/rails_app/public/stylesheets/lolita/style.css +214 -214
  92. data/vendor/assets/javascripts/jquery-numeric.js +279 -279
  93. data/vendor/assets/javascripts/modernizr_1_7_min.js +1 -1
  94. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css +66 -66
  95. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css +117 -117
  96. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css +988 -988
  97. data/vendor/assets/stylesheets/jquery-ui-1.8.16.custom.css +567 -567
  98. metadata +342 -349
  99. data/app/controllers/lolita/field_data_controller.rb~ +0 -45
  100. data/app/views/components/lolita/configuration/field/array/autocomplete/_display.html.haml~ +0 -16
  101. data/app/views/components/lolita/configuration/filter/_display.html.haml~ +0 -9
  102. data/lib/lolita/configuration/filter.rb~ +0 -122
  103. data/lib/lolita/version.rb~ +0 -30
  104. data/spec/configuration/filter_spec.rb~ +0 -167
@@ -1,214 +1,214 @@
1
- body {background: #f3f3f3; font-size: 13px;}
2
-
3
- a, a:visited, a:active {color: #7ac1ed; text-decoration: none;}
4
-
5
- /* identically looking button styles for links and both types of html buttons */
6
- button, a.button, input[type="button"] {
7
- padding: 4px 10px;
8
- border: none;
9
- font-size: 13px;
10
- text-decoration: none;
11
- -moz-border-radius: 3px;
12
- -webkit-border-radius: 3px;
13
- border-radius: 3px;
14
- -moz-box-sizing: border-box;
15
- -webkit-box-sizing: border-box;
16
- box-sizing: border-box;
17
- }
18
- a.button {padding: 4px 11px; color: #8f8f8f;}
19
- input[type="button"] {vertical-align: top; padding: 3px 9px;}
20
- h1 {font-size: 28px; font-weight: normal; letter-spacing: -1px; line-height: 85px;}
21
-
22
- #container {width: 90%; margin: 0 auto;}
23
-
24
- /* header styles */
25
- header {position: relative; height: 85px;}
26
- header h1 {padding-left: 15px;}
27
- header nav {position: absolute; top: 10px; right: 0;}
28
- header nav .username {margin-right: 15px;}
29
- /* ----------------------------------------------*/
30
-
31
- /* vertical middle container */
32
- #main {position: relative; padding-left: 150px;} /* setting the left portion width for navigation */
33
-
34
- #main .box form {background: #FFF; padding: 30px 25px;}
35
- #main .box form label {color: #c3c3c3; font-size: 13px;}
36
- #main .box form .field {margin: 10px 0;}
37
- #main .box form .field:first-child input {
38
- font-size: 24px;
39
- -moz-border-radius: 5px;
40
- -webkit-border-radius: 5px;
41
- border-radius: 5px;
42
- padding: 5px 10px;
43
- }
44
- #main .box form .field-value { margin-top: 5px;}
45
- #main .box form .field-value input {
46
- border: 1px solid #cdcdcd;
47
- -moz-border-radius: 3px;
48
- -webkit-border-radius: 3px;
49
- border-radius: 3px;
50
- -moz-box-sizing: border-box;
51
- -webkit-box-sizing: border-box;
52
- box-sizing: border-box;
53
- padding: 3px 10px;
54
- width: 100%;
55
- color: #494949;
56
- }
57
- #main .box form .field-value input:focus {background: #ebf9fc;}
58
- #main .box form .field-value textarea {
59
- width: 100%;
60
- -moz-box-sizing: border-box;
61
- -webkit-box-sizing: border-box;
62
- box-sizing: border-box; /* IE7 does not support it, IE8 does */
63
- }
64
-
65
- /* error fields and notifications */
66
- .field_with_errors input,
67
- .field_with_errors textarea {background: #ffe6e7;}
68
-
69
- #flash {
70
- position: fixed;
71
- top: 0;
72
- left: 0;
73
- width: 100%;
74
- padding: 25px 0;
75
- background: rgba(256,256,256,0.9);
76
- font-size: 16px;
77
- text-align: center;
78
- cursor: pointer;
79
- z-index: 2;
80
- }
81
-
82
- /* ---------------------------------- */
83
-
84
- /* save box */
85
- #main .box .save {padding: 20px 10px;}
86
- #main .box .last-save {color: #808080; margin-bottom: 5px;}
87
- #main .box .save button {width: 100%; padding: 10px 0; font-size: 24px; background: #ab8def; color: #ffd;}
88
- /* ---------------------------------- */
89
-
90
-
91
- /* navigation styles on left */
92
- #main nav {position: absolute; left: 0; min-width: 150px; margin-top: 5px;} /* width just for now */
93
- #main nav ul {margin-bottom: 50px;}
94
- #main nav ul li a {display: block; padding: 10px 15px; color: #737373;}
95
- #main nav ul li.active a {
96
- background: #d9d9d9;
97
- background: -moz-linear-gradient(left, #e1e1e1, #d5d5d5);
98
- background: -webkit-linear-gradient(left, #e1e1e1, #d5d5d5);
99
- border: 2px solid #d5d5d5;
100
- border-right: none;
101
- -moz-border-radius: 5px 0 0 5px;
102
- -webkit-border-radius: 5px 0 0 5px;
103
- border-radius: 5px 0 0 5px;
104
- }
105
- /* --------------------------------------------- */
106
-
107
- /* main content part */
108
- #content {overflow: visible; position: relative;} /* overflow for clearing containing floats */
109
- #content .secondary {position: absolute; right: 0; width: 23%;}
110
- #content.with-secondary {padding-right: 25%;}
111
- /* --------------------------------------------- */
112
-
113
- footer {height: 50px;} /* for not leaving empty space in bottom */
114
-
115
- /* boxes that, possibly, will be draggable/droppable */
116
- #main .box { /* list-container for small/big bordered box that takes all available parent width */
117
- border: 5px solid #d5d5d5;
118
- -moz-border-radius: 5px;
119
- -webkit-border-radius: 5px;
120
- border-radius: 5px;
121
- }
122
-
123
- .boxtitle {position: relative;}
124
- .boxtitle h1 {padding: 35px 25px 15px; line-height: 1;} /* h1 contains bgcolor, color and text position because arrow needs different bg and it follows after */
125
- .boxtitle .arrow {
126
- position: absolute;
127
- left: 50%;
128
- border-color: #2f2f2f transparent transparent;
129
- border-style: solid;
130
- border-width: 10px 10px 0;
131
- }
132
-
133
- /* different colors*/
134
- .black {
135
- background: #2f2f2f;
136
- background: -moz-linear-gradient(top, #686868, #2f2f2f);
137
- background: -webkit-linear-gradient(top, #686868, #2f2f2f);
138
- }
139
- .black, a.black {color: #f1f1f1;}
140
- .grey {
141
- background: #ededed; /* for IE, Opera */
142
- background: -moz-linear-gradient(top, #ededed, #e2e2e2);
143
- background: -webkit-linear-gradient(top, #ededed, #e2e2e2);
144
- }
145
- .grey, a.grey {color: #8f8f8f;}
146
- /* --------------------------------------------- */
147
-
148
- /* list view styles */
149
- .tools {overflow: hidden; line-height: 50px; height: 50px; padding-left: 25px; padding-top: 10px;}
150
- .tools .actions {float: left;}
151
- .tools .filters {float: right;}
152
- .tools > div > * {margin-right: 10px;}
153
-
154
- a.create {
155
- display: block;
156
- background: #9d81f8;
157
- background: -moz-linear-gradient(top, #ae91eb, #9d81f8);
158
- background: -webkit-linear-gradient(top, #ae91eb, #9d81f8);
159
- padding-right: 30px;
160
- line-height: 35px;
161
- text-align: right;
162
- color: #efefef;
163
- }
164
- .create img {position: absolute; right: -20px;}
165
-
166
- .list {overflow-x: auto;} /* additional html element that encloses table for horizontal overflow scrollbar if too wide */
167
- .list table {width: 100%;}
168
- .list table td,
169
- .list table th {line-height: 35px; padding: 0 20px; white-space: nowrap;}
170
- .list table td input {vertical-align: middle;}
171
- .list table thead {background: #d5d5d5;}
172
- .list table thead th {text-align: left;}
173
- .list table thead th a {color: #a5a5a5;}
174
- .list table thead th.active a {color: #6c6c6c;} /* Style for active header */
175
- .list table tbody tr {border-bottom: 1px solid #e3e3e3;}
176
- .list table tbody tr:last-child {border-bottom: none;} /* CSS3 selector for now, may be enough */
177
- .list table tbody tr:hover { /* Style was for in-place editing, using now on hover for demonstration purposes */
178
- background: #ebf9fc;
179
- -moz-box-shadow: inset 0px 1px 1px #ddd;
180
- -webkit-box-shadow: inset 0px 1px 1px #ddd;
181
- box-shadow: inset 0px 1px 1px #ddd;
182
- }
183
-
184
- /* --------------------------------------------- */
185
-
186
- /* TinyMCE advanced theme's skin "Cirkuit" overrides */
187
-
188
- #content .cirkuitSkin table.mceLayout {
189
- border: 0;
190
- }
191
- #content .cirkuitSkin td.mceToolbar {
192
- -moz-border-radius: 5px 5px 0 0;
193
- -webkit-border-radius: 5px 5px 0 0;
194
- border-radius: 5px 5px 0 0;
195
- border: 1px solid #ebebeb;
196
- background: #ededed; /* for IE, Opera */
197
- background: -moz-linear-gradient(top, #ededed, #e2e2e2);
198
- background: -webkit-linear-gradient(top, #ededed, #e2e2e2);
199
- padding: 10px;
200
- }
201
- #content .cirkuitSkin .mceIframeContainer {
202
- border: 1px solid #ebebeb;
203
- border-top: 0;
204
- }
205
- #content .cirkuitSkin .mceIframeContainer iframe {
206
- padding: 10px;
207
- -moz-box-sizing: border-box;
208
- -webkit-box-sizing: border-box;
209
- box-sizing: border-box; /* IE7 does not support it, IE8 does */
210
- }
211
-
212
- /* --------------------------------------------- */
213
-
214
-
1
+ body {background: #f3f3f3; font-size: 13px;}
2
+
3
+ a, a:visited, a:active {color: #7ac1ed; text-decoration: none;}
4
+
5
+ /* identically looking button styles for links and both types of html buttons */
6
+ button, a.button, input[type="button"] {
7
+ padding: 4px 10px;
8
+ border: none;
9
+ font-size: 13px;
10
+ text-decoration: none;
11
+ -moz-border-radius: 3px;
12
+ -webkit-border-radius: 3px;
13
+ border-radius: 3px;
14
+ -moz-box-sizing: border-box;
15
+ -webkit-box-sizing: border-box;
16
+ box-sizing: border-box;
17
+ }
18
+ a.button {padding: 4px 11px; color: #8f8f8f;}
19
+ input[type="button"] {vertical-align: top; padding: 3px 9px;}
20
+ h1 {font-size: 28px; font-weight: normal; letter-spacing: -1px; line-height: 85px;}
21
+
22
+ #container {width: 90%; margin: 0 auto;}
23
+
24
+ /* header styles */
25
+ header {position: relative; height: 85px;}
26
+ header h1 {padding-left: 15px;}
27
+ header nav {position: absolute; top: 10px; right: 0;}
28
+ header nav .username {margin-right: 15px;}
29
+ /* ----------------------------------------------*/
30
+
31
+ /* vertical middle container */
32
+ #main {position: relative; padding-left: 150px;} /* setting the left portion width for navigation */
33
+
34
+ #main .box form {background: #FFF; padding: 30px 25px;}
35
+ #main .box form label {color: #c3c3c3; font-size: 13px;}
36
+ #main .box form .field {margin: 10px 0;}
37
+ #main .box form .field:first-child input {
38
+ font-size: 24px;
39
+ -moz-border-radius: 5px;
40
+ -webkit-border-radius: 5px;
41
+ border-radius: 5px;
42
+ padding: 5px 10px;
43
+ }
44
+ #main .box form .field-value { margin-top: 5px;}
45
+ #main .box form .field-value input {
46
+ border: 1px solid #cdcdcd;
47
+ -moz-border-radius: 3px;
48
+ -webkit-border-radius: 3px;
49
+ border-radius: 3px;
50
+ -moz-box-sizing: border-box;
51
+ -webkit-box-sizing: border-box;
52
+ box-sizing: border-box;
53
+ padding: 3px 10px;
54
+ width: 100%;
55
+ color: #494949;
56
+ }
57
+ #main .box form .field-value input:focus {background: #ebf9fc;}
58
+ #main .box form .field-value textarea {
59
+ width: 100%;
60
+ -moz-box-sizing: border-box;
61
+ -webkit-box-sizing: border-box;
62
+ box-sizing: border-box; /* IE7 does not support it, IE8 does */
63
+ }
64
+
65
+ /* error fields and notifications */
66
+ .field_with_errors input,
67
+ .field_with_errors textarea {background: #ffe6e7;}
68
+
69
+ #flash {
70
+ position: fixed;
71
+ top: 0;
72
+ left: 0;
73
+ width: 100%;
74
+ padding: 25px 0;
75
+ background: rgba(256,256,256,0.9);
76
+ font-size: 16px;
77
+ text-align: center;
78
+ cursor: pointer;
79
+ z-index: 2;
80
+ }
81
+
82
+ /* ---------------------------------- */
83
+
84
+ /* save box */
85
+ #main .box .save {padding: 20px 10px;}
86
+ #main .box .last-save {color: #808080; margin-bottom: 5px;}
87
+ #main .box .save button {width: 100%; padding: 10px 0; font-size: 24px; background: #ab8def; color: #ffd;}
88
+ /* ---------------------------------- */
89
+
90
+
91
+ /* navigation styles on left */
92
+ #main nav {position: absolute; left: 0; min-width: 150px; margin-top: 5px;} /* width just for now */
93
+ #main nav ul {margin-bottom: 50px;}
94
+ #main nav ul li a {display: block; padding: 10px 15px; color: #737373;}
95
+ #main nav ul li.active a {
96
+ background: #d9d9d9;
97
+ background: -moz-linear-gradient(left, #e1e1e1, #d5d5d5);
98
+ background: -webkit-linear-gradient(left, #e1e1e1, #d5d5d5);
99
+ border: 2px solid #d5d5d5;
100
+ border-right: none;
101
+ -moz-border-radius: 5px 0 0 5px;
102
+ -webkit-border-radius: 5px 0 0 5px;
103
+ border-radius: 5px 0 0 5px;
104
+ }
105
+ /* --------------------------------------------- */
106
+
107
+ /* main content part */
108
+ #content {overflow: visible; position: relative;} /* overflow for clearing containing floats */
109
+ #content .secondary {position: absolute; right: 0; width: 23%;}
110
+ #content.with-secondary {padding-right: 25%;}
111
+ /* --------------------------------------------- */
112
+
113
+ footer {height: 50px;} /* for not leaving empty space in bottom */
114
+
115
+ /* boxes that, possibly, will be draggable/droppable */
116
+ #main .box { /* list-container for small/big bordered box that takes all available parent width */
117
+ border: 5px solid #d5d5d5;
118
+ -moz-border-radius: 5px;
119
+ -webkit-border-radius: 5px;
120
+ border-radius: 5px;
121
+ }
122
+
123
+ .boxtitle {position: relative;}
124
+ .boxtitle h1 {padding: 35px 25px 15px; line-height: 1;} /* h1 contains bgcolor, color and text position because arrow needs different bg and it follows after */
125
+ .boxtitle .arrow {
126
+ position: absolute;
127
+ left: 50%;
128
+ border-color: #2f2f2f transparent transparent;
129
+ border-style: solid;
130
+ border-width: 10px 10px 0;
131
+ }
132
+
133
+ /* different colors*/
134
+ .black {
135
+ background: #2f2f2f;
136
+ background: -moz-linear-gradient(top, #686868, #2f2f2f);
137
+ background: -webkit-linear-gradient(top, #686868, #2f2f2f);
138
+ }
139
+ .black, a.black {color: #f1f1f1;}
140
+ .grey {
141
+ background: #ededed; /* for IE, Opera */
142
+ background: -moz-linear-gradient(top, #ededed, #e2e2e2);
143
+ background: -webkit-linear-gradient(top, #ededed, #e2e2e2);
144
+ }
145
+ .grey, a.grey {color: #8f8f8f;}
146
+ /* --------------------------------------------- */
147
+
148
+ /* list view styles */
149
+ .tools {overflow: hidden; line-height: 50px; height: 50px; padding-left: 25px; padding-top: 10px;}
150
+ .tools .actions {float: left;}
151
+ .tools .filters {float: right;}
152
+ .tools > div > * {margin-right: 10px;}
153
+
154
+ a.create {
155
+ display: block;
156
+ background: #9d81f8;
157
+ background: -moz-linear-gradient(top, #ae91eb, #9d81f8);
158
+ background: -webkit-linear-gradient(top, #ae91eb, #9d81f8);
159
+ padding-right: 30px;
160
+ line-height: 35px;
161
+ text-align: right;
162
+ color: #efefef;
163
+ }
164
+ .create img {position: absolute; right: -20px;}
165
+
166
+ .list {overflow-x: auto;} /* additional html element that encloses table for horizontal overflow scrollbar if too wide */
167
+ .list table {width: 100%;}
168
+ .list table td,
169
+ .list table th {line-height: 35px; padding: 0 20px; white-space: nowrap;}
170
+ .list table td input {vertical-align: middle;}
171
+ .list table thead {background: #d5d5d5;}
172
+ .list table thead th {text-align: left;}
173
+ .list table thead th a {color: #a5a5a5;}
174
+ .list table thead th.active a {color: #6c6c6c;} /* Style for active header */
175
+ .list table tbody tr {border-bottom: 1px solid #e3e3e3;}
176
+ .list table tbody tr:last-child {border-bottom: none;} /* CSS3 selector for now, may be enough */
177
+ .list table tbody tr:hover { /* Style was for in-place editing, using now on hover for demonstration purposes */
178
+ background: #ebf9fc;
179
+ -moz-box-shadow: inset 0px 1px 1px #ddd;
180
+ -webkit-box-shadow: inset 0px 1px 1px #ddd;
181
+ box-shadow: inset 0px 1px 1px #ddd;
182
+ }
183
+
184
+ /* --------------------------------------------- */
185
+
186
+ /* TinyMCE advanced theme's skin "Cirkuit" overrides */
187
+
188
+ #content .cirkuitSkin table.mceLayout {
189
+ border: 0;
190
+ }
191
+ #content .cirkuitSkin td.mceToolbar {
192
+ -moz-border-radius: 5px 5px 0 0;
193
+ -webkit-border-radius: 5px 5px 0 0;
194
+ border-radius: 5px 5px 0 0;
195
+ border: 1px solid #ebebeb;
196
+ background: #ededed; /* for IE, Opera */
197
+ background: -moz-linear-gradient(top, #ededed, #e2e2e2);
198
+ background: -webkit-linear-gradient(top, #ededed, #e2e2e2);
199
+ padding: 10px;
200
+ }
201
+ #content .cirkuitSkin .mceIframeContainer {
202
+ border: 1px solid #ebebeb;
203
+ border-top: 0;
204
+ }
205
+ #content .cirkuitSkin .mceIframeContainer iframe {
206
+ padding: 10px;
207
+ -moz-box-sizing: border-box;
208
+ -webkit-box-sizing: border-box;
209
+ box-sizing: border-box; /* IE7 does not support it, IE8 does */
210
+ }
211
+
212
+ /* --------------------------------------------- */
213
+
214
+