mdd 2.0 → 2.0.1

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.
@@ -1,5 +1,60 @@
1
+ body, input, button, textarea, select, select option {
2
+ font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
3
+ }
4
+
1
5
  body {
2
6
  background: url("<%= asset_path 'mdwa/backend_bg.png' %>");
7
+ height:100%;
8
+ font-size: 13px;
9
+ }
10
+
11
+ a {
12
+ color: #222;
13
+ text-decoration:none;
14
+ }
15
+
16
+ /* Fields */
17
+ div.field {
18
+ padding: 5px;
19
+ }
20
+
21
+ div.field label {
22
+ display: block;
23
+ font-size: 12px;
24
+ }
25
+
26
+ div.field input[type="text"],
27
+ div.field input[type="email"],
28
+ div.field input[type="number"],
29
+ div.field input[type="password"],
30
+ div.field textarea {
31
+ border: 1px solid #888;
32
+ padding: 4px;
33
+ font-size: 13px;
34
+ box-shadow: 0 0 2px #a2a2a2;
35
+ }
36
+
37
+ div.field input[type="text"]:hover,
38
+ div.field input[type="email"]:hover,
39
+ div.field input[type="number"]:hover,
40
+ div.field input[type="password"]:hover {
41
+ border: 1px solid #666;
42
+ box-shadow: 0 0 2px #999;
43
+ }
44
+
45
+ div.field textarea {
46
+ height: 100px;
47
+ }
48
+
49
+ div.actions {
50
+ text-align:center;
51
+ margin: 20px 0;
52
+ }
53
+
54
+ p.description {
55
+ padding: 0;
56
+ margin: 5px;
57
+ font-size: 11px;
3
58
  }
4
59
 
5
60
  /* Header */
@@ -123,15 +178,15 @@ div.tab_header a:hover {
123
178
  div#content {
124
179
  background: #fff;
125
180
  left: auto;
126
- margin-left: 240px;
127
- margin-right: 0;
128
- min-height: 800px;
129
- padding-bottom: 25px;
130
- position: relative;
131
- top: auto;
132
- width: auto;
133
- z-index: 15;
134
- box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.7);
181
+ margin-left: 240px;
182
+ margin-right: 0;
183
+ min-height: 800px;
184
+ padding-bottom: 25px;
185
+ position: relative;
186
+ top: auto;
187
+ width: auto;
188
+ z-index: 15;
189
+ box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.7);
135
190
  }
136
191
 
137
192
  div.inside {
@@ -169,7 +224,7 @@ div.inside {
169
224
  display: inline-block;
170
225
  font-size: 13px;
171
226
  font-weight: normal;
172
- padding: 11px 18px 11px 18px;
227
+ padding: 11px 0;
173
228
  text-decoration: none;
174
229
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
175
230
  width: 100%;
@@ -188,14 +243,15 @@ div.inside {
188
243
  border:none;
189
244
  }
190
245
 
191
- #leftbar ul.submenu li a {
192
- padding-left: 25px;
193
- }
194
-
195
246
  #leftbar ul.submenu li a:hover {
196
247
  background: #5D5D5D !important
197
248
  }
198
249
 
250
+ #leftbar ul li a span {
251
+ padding-left: 15px;
252
+ }
253
+
199
254
  #leftbar ul.submenu li a span {
200
255
  margin:0;
256
+ padding-left: 25px;
201
257
  }
@@ -2,7 +2,7 @@
2
2
  <li>
3
3
  <%= link_to a_administrators_path do %><span><%= t 'menu.administrators' %></span><% end %>
4
4
  <ul class="submenu">
5
- <li><%= link_to t( 'menu.add_administrator' ), new_a_administrator_path %></li>
5
+ <li><%= link_to new_a_administrator_path do %><span><%= t( 'menu.add_administrator' ) %></span><% end %></li>
6
6
  </ul>
7
7
  </li>
8
8
  <li><a href="#"><span><%= t 'menu.settings' %></span></a></li>
data/lib/mdd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mdd
2
- VERSION = "2.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdd
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.0'
4
+ version: 2.0.1
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-06-21 00:00:00.000000000 Z
12
+ date: 2012-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -196,7 +196,6 @@ files:
196
196
  - lib/generators/mdd/sandbox/templates/app/assets/stylesheets/mdwa/system_manifest.css
197
197
  - lib/generators/mdd/sandbox/templates/app/assets/stylesheets/mdwa/template/.DS_Store
198
198
  - lib/generators/mdd/sandbox/templates/app/assets/stylesheets/mdwa/template/backend.css.erb
199
- - lib/generators/mdd/sandbox/templates/app/assets/stylesheets/mdwa/template/backend_base.css.erb
200
199
  - lib/generators/mdd/sandbox/templates/app/assets/stylesheets/mdwa/template/cssbase.css
201
200
  - lib/generators/mdd/sandbox/templates/app/assets/stylesheets/mdwa/template/grid.css
202
201
  - lib/generators/mdd/sandbox/templates/app/assets/stylesheets/mdwa/template/leftbar.css.erb
@@ -1,57 +0,0 @@
1
- body, input, button, textarea, select, select option {
2
- font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
3
- }
4
-
5
- body {
6
- height:100%;
7
- font-size: 13px;
8
- }
9
-
10
- a {
11
- color: #222;
12
- text-decoration:none;
13
- }
14
-
15
- /* Fields */
16
- div.field {
17
- padding: 5px;
18
- }
19
-
20
- div.field label {
21
- display: block;
22
- font-size: 12px;
23
- }
24
-
25
- div.field input[type="text"],
26
- div.field input[type="email"],
27
- div.field input[type="number"],
28
- div.field input[type="password"],
29
- div.field textarea {
30
- border: 1px solid #888;
31
- padding: 4px;
32
- font-size: 13px;
33
- box-shadow: 0 0 2px #a2a2a2;
34
- }
35
-
36
- div.field input[type="text"]:hover,
37
- div.field input[type="email"]:hover,
38
- div.field input[type="number"]:hover,
39
- div.field input[type="password"]:hover {
40
- border: 1px solid #666;
41
- box-shadow: 0 0 2px #999;
42
- }
43
-
44
- div.field textarea {
45
- height: 100px;
46
- }
47
-
48
- div.actions {
49
- text-align:center;
50
- margin: 20px 0;
51
- }
52
-
53
- p.description {
54
- padding: 0;
55
- margin: 5px;
56
- font-size: 11px;
57
- }