refinerycms-minimalbackend 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # Minimal Theme for Refinery CMS backend v1
2
+
3
+ The goal of this gem is to provide a clean layout for RefineryCMS admin area.
4
+
5
+ ## How to use this with a Refinery CMS project
6
+
7
+ To set up a Refinery app from scratch, you'll need to install Refinery and create a new app:
8
+
9
+ gem install refinerycms
10
+ refinerycms new_project
11
+ cd new_project
12
+
13
+ Once you have a Refinery app created, add this gem to your GEMFILE:
14
+
15
+ gem 'refinerycms-minimalbackend'
16
+
17
+ Then, on your /config/initializers/refinery/core settings add:
18
+
19
+ config.register_stylesheet "refinerycms-minimal", :media => 'screen'
20
+
21
+ ## TODO
22
+
23
+ Add custom icons.
24
+ Improve consistency.
25
+ Fully test on IE.
@@ -0,0 +1,203 @@
1
+ body{
2
+ background:#E2E0E6 !important;
3
+ }
4
+ a{
5
+ color:#5C7DA0;
6
+ }
7
+ a:hover{
8
+ color:#6AB260;
9
+ }
10
+ /* flash messages */
11
+ .flash_notice, .flash_message {
12
+ border: 1px solid #7BC1A1;
13
+ color: #fff;
14
+ background: 7px 7px no-repeat url(<%= asset_path "refinery/icons/accept.png" %>) #7BC1A1;
15
+ }
16
+ .errorExplanation {
17
+ background: #DA5B59;
18
+ border: 1px solid #DA5B59;
19
+ padding:0px 5px 5px 5px;
20
+ }
21
+ .errorExplanation p, .errorExplanation li{color:#fff}
22
+
23
+ /* menu */
24
+ .jcarousel-clip {
25
+ background:#282B3F;
26
+ }
27
+ #menu a{
28
+ border-top-left-radius: 0px !important;
29
+ border-top-right-radius: 0px !important;
30
+ background:none;
31
+ color:#828394;
32
+ padding: 11px 13px;
33
+ margin-top: 0px;
34
+ margin-right:0;
35
+ }
36
+ #menu a.active, #menu a:hover{
37
+ background:url(<%= asset_path "refinery/nav_inactive_background.png" %>) transparent repeat;
38
+ color:#fff !important;
39
+ }
40
+ #menu a:hover{
41
+ color:#282B3F;
42
+ }
43
+
44
+ /* container */
45
+ #page_container{
46
+ border-bottom-left-radius: 0px !important;
47
+ border-bottom-right-radius: 0px !important;
48
+ border-top-right-radius: 0px !important;
49
+ }
50
+ .preview {
51
+ color: #555;
52
+ }
53
+ #search{
54
+ width:190px !important;
55
+ }
56
+
57
+ /* forms */
58
+
59
+ .field input[type=text], .field input[type=password], .field input[type=number], .field textarea, select {
60
+ border: 1px solid #999 !important;
61
+ padding: 0.4% 0.5%;
62
+ line-height: 20px;
63
+ }
64
+
65
+ .field select{
66
+ min-width: 220px;
67
+ height: 30px;
68
+ }
69
+
70
+ fieldset{
71
+ border: 1px solid #ccc;
72
+ margin: 0;
73
+ margin-top: 20px;
74
+ margin-bottom: 20px;
75
+ }
76
+ legend{
77
+ font-weight:bold;
78
+ }
79
+
80
+ /* optional styling for nested fields (cocoon gem) */
81
+ .nested-fields{
82
+ clear:both;
83
+ }
84
+ .nested-fields .field{
85
+ float:left;
86
+ width:220px !important;
87
+ }
88
+ .nested-fields .remover{
89
+ float:left;
90
+ }
91
+
92
+ /* editing area */
93
+
94
+ .form-actions{
95
+ border-radius:0!important;
96
+ background:#E2E0E6 !important;
97
+ border-color:#E2E0E6 !important
98
+ }
99
+ .wym_skin_refinery{
100
+ background:#E2E0E6;
101
+ border: 1px solid #E2E0E6;
102
+ }
103
+ .ui-tabs li.ui-state-default{
104
+ margin-right:0;
105
+ }
106
+ .ui-tabs .ui-state-default a{
107
+ border-radius:0!important;
108
+ background:#fff;
109
+ color: #555;
110
+ }
111
+ .ui-tabs .ui-state-default a:hover, #content .wym_box a:hover, #content .ui-tabs a:hover{
112
+ background-color:#7BC1A1;
113
+ color:#fff;
114
+ }
115
+ .ui-tabs .ui-state-active a{
116
+ background:#E2E0E6;
117
+ color:#555;
118
+ padding: 8px 13px;
119
+ margin-top:6px;
120
+ }
121
+ #content .wym_box a, #content .ui-tabs a{
122
+ border-radius:0!important;
123
+ }
124
+
125
+ input.button:hover , a.button:hover, #content a.button:hover{
126
+ background-color:#444 !important;
127
+ }
128
+ .form-actions a.confirm-delete, #content .form-actions a.confirm-delete {
129
+ background: #E4635B !important;
130
+ }
131
+ .form-actions a.confirm-delete:hover, #content .form-actions a.confirm-delete:hover {
132
+ background: #444 !important;
133
+ }
134
+
135
+
136
+ /* sidebar*/
137
+ input.button, a.button, #content a.button, span.button-wrapper, span.button-wrapper input{
138
+ background:#7BC1A1;
139
+ border-radius:0!important;
140
+ padding: 0px 23px 0px 23px !important;
141
+ font-size: 15px !important;
142
+ line-height: 28px !important;
143
+ height: 28px !important;
144
+ /* text-shadow:1px 1px 0px #5C7DA0;*/
145
+ }
146
+ input.button.close_dialog:hover, a.button.close_dialog:hover, #content a.button.close_dialog:hover, span.button-wrapper.close_dialog:hover{
147
+ color:#fff !important;
148
+ }
149
+
150
+ #actions li a{
151
+ background-color: #7BC1A1 !important;
152
+ color:#fff;
153
+ text-transform:uppercase;
154
+ border: 1px solid #7BC1A1;
155
+ }
156
+ #actions li a:hover{
157
+ background-color:#444 !important;
158
+ border: 1px solid #444;
159
+ }
160
+
161
+ /* dialog boxes */
162
+ .dialog #content {
163
+ padding: 20px;
164
+ }
165
+ .dialog label.setting_name{
166
+ text-transform: uppercase;
167
+ font-weight: 700;
168
+ font-family: 'Helvetica Neue';
169
+ }
170
+ .ui-dialog .ui-dialog-titlebar{
171
+ background:#444
172
+ }
173
+ .ui-dialog{
174
+ border: 4px solid #444;
175
+ }
176
+ /* upload image dialog */
177
+ .dialog #dialog_menu_left{
178
+ position: relative;
179
+ top:0;
180
+ left:0;
181
+ float: left;
182
+ width:20%;
183
+ }
184
+ .dialog #dialog_main{
185
+ float: left;
186
+ margin-left: 0;
187
+ width: 80%;
188
+ }
189
+ .dialog #existing_image_area_content{
190
+ margin-top:0;
191
+
192
+ }
193
+ /* inquiry plugin specific */
194
+ .record .title a{
195
+ width: 120px;
196
+ float: left;
197
+
198
+ line-height: 35px;
199
+ border: none;
200
+ border-bottom:none !important;
201
+ }
202
+
203
+
@@ -0,0 +1,6 @@
1
+ module RefinerycmsMinimalbackend
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: refinerycms-minimalbackend
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Pedro Sousa - Think Orange
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-02-28 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: railties
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ description: A minimal backend for RefineryCMS 2.0
31
+ email: psousa@thinkorange.pt
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/refinerycms-minimalbackend.rb
37
+ - app/assets/stylesheets/refinerycms-minimal.css.erb
38
+ - README.md
39
+ homepage: http://rubygems.org/gems/refinerycms-minimalbackend
40
+ licenses: []
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 1.8.25
60
+ signing_key:
61
+ specification_version: 3
62
+ summary: A minimal backend for RefineryCMS
63
+ test_files: []
64
+ has_rdoc: