beautiful_scaffold 0.0.1 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +21 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +10 -0
- data/beautiful_scaffold.gemspec +18 -0
- data/lib/generators/USAGE +15 -0
- data/lib/generators/beautiful_locale_generator.rb +34 -0
- data/lib/generators/beautiful_migration_generator.rb +53 -0
- data/lib/generators/beautiful_scaffold_common_methods.rb +104 -0
- data/lib/generators/beautiful_scaffold_generator.rb +158 -0
- data/lib/generators/templates/app/assets/images/bg-bottom-login.jpg +0 -0
- data/lib/generators/templates/app/assets/images/bg-error.png +0 -0
- data/lib/generators/templates/app/assets/images/bg-left.jpg +0 -0
- data/lib/generators/templates/app/assets/images/bg-notice.jpg +0 -0
- data/lib/generators/templates/app/assets/images/bg-notice.png +0 -0
- data/lib/generators/templates/app/assets/images/bg-success.png +0 -0
- data/lib/generators/templates/app/assets/images/bg-top-login.jpg +0 -0
- data/lib/generators/templates/app/assets/images/bg-warning.png +0 -0
- data/lib/generators/templates/app/assets/javascripts/beautiful_scaffold.js +80 -0
- data/lib/generators/templates/app/assets/javascripts/jquery.pjax.js +370 -0
- data/lib/generators/templates/app/assets/javascripts/modernizr.custom.js +4 -0
- data/lib/generators/templates/app/assets/stylesheets/beautiful_scaffold.css.scss +719 -0
- data/lib/generators/templates/app/assets/stylesheets/reset.css +48 -0
- data/lib/generators/templates/app/controllers/base.rb +177 -0
- data/lib/generators/templates/app/controllers/master_base.rb +37 -0
- data/lib/generators/templates/app/helpers/beautiful_helper.rb +130 -0
- data/lib/generators/templates/app/helpers/model_helper.rb +4 -0
- data/lib/generators/templates/app/locales/beautiful_scaffold.en.yml +30 -0
- data/lib/generators/templates/app/locales/beautiful_scaffold.fr.yml +30 -0
- data/lib/generators/templates/app/models/pdf_report.rb +40 -0
- data/lib/generators/templates/app/views/_beautiful_menu.html.erb +9 -0
- data/lib/generators/templates/app/views/_form.html.erb +24 -0
- data/lib/generators/templates/app/views/edit.html.erb +6 -0
- data/lib/generators/templates/app/views/index.html.erb +86 -0
- data/lib/generators/templates/app/views/layout.html.erb +70 -0
- data/lib/generators/templates/app/views/new.html.erb +5 -0
- data/lib/generators/templates/app/views/partials/_form_field.html.erb +37 -0
- data/lib/generators/templates/app/views/partials/_index_batch.html.erb +6 -0
- data/lib/generators/templates/app/views/partials/_index_column.html.erb +19 -0
- data/lib/generators/templates/app/views/partials/_index_header.html.erb +9 -0
- data/lib/generators/templates/app/views/partials/_index_search.html.erb +10 -0
- data/lib/generators/templates/app/views/partials/_show_field.html.erb +14 -0
- data/lib/generators/templates/app/views/show.html.erb +7 -0
- data/lib/generators/templates/markitup/jquery.markitup.js +593 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/bold.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/clean.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/code.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/fonts.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/italic.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/link.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/list-bullet.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/list-item.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/list-numeric.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/picture.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/preview.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/quotes.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/stroke.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/images/underline.png +0 -0
- data/lib/generators/templates/markitup/sets/bbcode/readme.txt +11 -0
- data/lib/generators/templates/markitup/sets/bbcode/set.js +39 -0
- data/lib/generators/templates/markitup/sets/bbcode/style.css +47 -0
- data/lib/generators/templates/markitup/sets/default/images/bold.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/clean.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/image.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/italic.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/link.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/list-bullet.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/list-numeric.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/picture.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/preview.png +0 -0
- data/lib/generators/templates/markitup/sets/default/images/stroke.png +0 -0
- data/lib/generators/templates/markitup/sets/default/set.js +30 -0
- data/lib/generators/templates/markitup/sets/default/style.css +34 -0
- data/lib/generators/templates/markitup/sets/html/images/bold.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/clean.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/h1.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/h2.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/h3.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/h4.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/h5.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/h6.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/image.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/italic.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/link.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/list-bullet.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/list-item.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/list-numeric.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/paragraph.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/picture.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/preview.png +0 -0
- data/lib/generators/templates/markitup/sets/html/images/stroke.png +0 -0
- data/lib/generators/templates/markitup/sets/html/readme.txt +11 -0
- data/lib/generators/templates/markitup/sets/html/set.js +39 -0
- data/lib/generators/templates/markitup/sets/html/style.css +59 -0
- data/lib/generators/templates/markitup/sets/markdown/images/bold.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/code.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/h1.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/h2.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/h3.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/h4.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/h5.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/h6.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/italic.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/link.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/list-bullet.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/list-numeric.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/picture.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/preview.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/images/quotes.png +0 -0
- data/lib/generators/templates/markitup/sets/markdown/readme.txt +11 -0
- data/lib/generators/templates/markitup/sets/markdown/set.js +52 -0
- data/lib/generators/templates/markitup/sets/markdown/style.css +54 -0
- data/lib/generators/templates/markitup/sets/textile/images/bold.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/code.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/h1.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/h2.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/h3.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/h4.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/h5.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/h6.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/italic.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/link.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/list-bullet.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/list-numeric.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/paragraph.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/picture.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/preview.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/quotes.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/images/stroke.png +0 -0
- data/lib/generators/templates/markitup/sets/textile/readme.txt +11 -0
- data/lib/generators/templates/markitup/sets/textile/set.js +40 -0
- data/lib/generators/templates/markitup/sets/textile/style.css +60 -0
- data/lib/generators/templates/markitup/sets/wiki/images/bold.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/code.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/h1.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/h2.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/h3.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/h4.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/h5.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/h6.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/italic.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/link.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/list-bullet.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/list-numeric.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/picture.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/preview.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/quotes.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/stroke.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/images/url.png +0 -0
- data/lib/generators/templates/markitup/sets/wiki/readme.txt +11 -0
- data/lib/generators/templates/markitup/sets/wiki/set.js +37 -0
- data/lib/generators/templates/markitup/sets/wiki/style.css +57 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-container.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-html.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-json.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/bg-editor.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/handle.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/menu.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/images/submenu.png +0 -0
- data/lib/generators/templates/markitup/skins/markitup/style.css +147 -0
- data/lib/generators/templates/markitup/skins/simple/images/handle.png +0 -0
- data/lib/generators/templates/markitup/skins/simple/images/menu.png +0 -0
- data/lib/generators/templates/markitup/skins/simple/images/submenu.png +0 -0
- data/lib/generators/templates/markitup/skins/simple/style.css +118 -0
- data/lib/generators/templates/markitup/templates/preview.css +5 -0
- data/lib/generators/templates/markitup/templates/preview.html +11 -0
- data/lib/generators/templates/modules/beautiful_scaffold_module.rb +28 -0
- metadata +175 -3
@@ -0,0 +1,719 @@
|
|
1
|
+
$bgleft:"../assets/bg-left.jpg";
|
2
|
+
|
3
|
+
$warning:"../assets/bg-warning.png";
|
4
|
+
$success:"../assets/bg-success.png";
|
5
|
+
$error:"../assets/bg-error.png";
|
6
|
+
$notice:"../assets/bg-notice.png";
|
7
|
+
|
8
|
+
$bg-color-warning:#FFFBCC;
|
9
|
+
$bg-color-success:#D5FFCF;
|
10
|
+
$bg-color-error:#FFCECF;
|
11
|
+
$bg-color-notice:#DCE3FF;
|
12
|
+
|
13
|
+
$border-color-warning:#E5DB55;
|
14
|
+
$border-color-success:#9ADF8F;
|
15
|
+
$border-color-error:#DF8F90;
|
16
|
+
$border-color-notice:#A3B3EE;
|
17
|
+
|
18
|
+
$gradient-top:#6fb200;
|
19
|
+
$gradient-bottom:#4b9200;
|
20
|
+
|
21
|
+
$box-title-gradient-top:#e8e8e8;
|
22
|
+
$box-title-gradient-bottom:#dadada;
|
23
|
+
|
24
|
+
$border-spinner:#4b9200;
|
25
|
+
$shadow-spinner:#6fb200;
|
26
|
+
|
27
|
+
$selected-text:#6fb200;
|
28
|
+
$selected-text-bg:white;
|
29
|
+
|
30
|
+
@mixin border-radius($content){
|
31
|
+
-ms-border-radius:$content;
|
32
|
+
-o-border-radius:$content;
|
33
|
+
-webkit-border-radius:$content;
|
34
|
+
-moz-border-radius:$content;
|
35
|
+
border-radius:$content;
|
36
|
+
}
|
37
|
+
@mixin box-shadow($content){
|
38
|
+
-ms-box-shadow:$content;
|
39
|
+
-o-box-shadow:$content;
|
40
|
+
-webkit-box-shadow:$content;
|
41
|
+
-moz-box-shadow:$content;
|
42
|
+
box-shadow:$content;
|
43
|
+
}
|
44
|
+
@mixin gradient($color-top, $color-bottom){
|
45
|
+
background: $color-top; /* Old browsers */
|
46
|
+
background: -moz-linear-gradient(top, $color-top 0%, $color-bottom 100%); /* FF3.6+ */
|
47
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color-top), color-stop(100%,$color-bottom)); /* Chrome,Safari4+ */
|
48
|
+
background: -webkit-linear-gradient(top, $color-top 0%,$color-bottom 100%); /* Chrome10+,Safari5.1+ */
|
49
|
+
background: -o-linear-gradient(top, $color-top 0%,$color-bottom 100%); /* Opera11.10+ */
|
50
|
+
background: -ms-linear-gradient(top, $color-top 0%,$color-bottom 100%); /* IE10+ */
|
51
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$color-top', endColorstr='$color-bottom',GradientType=0 ); /* IE6-9 */
|
52
|
+
background: linear-gradient(top, $color-top 0%,$color-bottom 100%); /* W3C */
|
53
|
+
}
|
54
|
+
::selection{
|
55
|
+
background-color:$selected-text;
|
56
|
+
color:$selected-text-bg;
|
57
|
+
}
|
58
|
+
h1, h2{
|
59
|
+
font-size:27px;
|
60
|
+
font-family:helvetica;
|
61
|
+
}
|
62
|
+
body{
|
63
|
+
background:transparent url($bgleft) repeat;
|
64
|
+
}
|
65
|
+
#left-panel, #right-panel{
|
66
|
+
padding-top:30px;
|
67
|
+
}
|
68
|
+
#left-panel{
|
69
|
+
width:230px;
|
70
|
+
background:transparent url($bgleft) repeat;
|
71
|
+
position:absolute;
|
72
|
+
top:0;
|
73
|
+
left:0;
|
74
|
+
}
|
75
|
+
#right-panel{
|
76
|
+
margin:0px;
|
77
|
+
margin-left:230px;
|
78
|
+
top:0;
|
79
|
+
z-index:10;
|
80
|
+
position: relative;
|
81
|
+
@include box-shadow(0px 0px 10px black);
|
82
|
+
padding-left:20px;
|
83
|
+
padding-right:20px;
|
84
|
+
background-color:#F4F4F4;
|
85
|
+
}
|
86
|
+
#logo{
|
87
|
+
font-size:31px;
|
88
|
+
font-family:helvetica;
|
89
|
+
font-variant:small-caps;
|
90
|
+
color:#EEE;
|
91
|
+
margin-bottom:25px;
|
92
|
+
text-align:center;
|
93
|
+
}
|
94
|
+
#home, #message, #username, a{
|
95
|
+
font-size:11px;
|
96
|
+
font-family:helvetica;
|
97
|
+
color:#CCCCCA;
|
98
|
+
}
|
99
|
+
#home-link, #home, a:hover{
|
100
|
+
color:#6D7B6C;
|
101
|
+
text-align:right;
|
102
|
+
}
|
103
|
+
#home-link, #home{
|
104
|
+
margin-bottom:15px;
|
105
|
+
padding-right:10px;
|
106
|
+
}
|
107
|
+
.subtitle{
|
108
|
+
font-size:17px;
|
109
|
+
font-family:helvetica;
|
110
|
+
color:#555;
|
111
|
+
margin-top:10px;
|
112
|
+
margin-bottom:10px;
|
113
|
+
}
|
114
|
+
.menuelt{
|
115
|
+
transition-property:padding,width;
|
116
|
+
transition-duration:1s;
|
117
|
+
-ms-transition-property:padding,width;
|
118
|
+
-ms-transition-duration:1s;
|
119
|
+
-webkit-transition-property:padding,width;
|
120
|
+
-webkit-transition-duration:1s;
|
121
|
+
-moz-transition-property:padding,width;
|
122
|
+
-moz-transition-duration:1s;
|
123
|
+
-o-transition-property:padding,width;
|
124
|
+
-o-transition-duration:1s;
|
125
|
+
|
126
|
+
font-family:helvetica;
|
127
|
+
position:relative;
|
128
|
+
z-index:5;
|
129
|
+
width:192px;
|
130
|
+
|
131
|
+
font-size:14px;
|
132
|
+
height: 17px;
|
133
|
+
margin: 8px 0px 4px 28px;
|
134
|
+
padding: 11px 15px 7px 0px;
|
135
|
+
|
136
|
+
text-align:right;
|
137
|
+
cursor:pointer;
|
138
|
+
line-height:14px;
|
139
|
+
|
140
|
+
@include border-radius(3px);
|
141
|
+
|
142
|
+
color:white;
|
143
|
+
|
144
|
+
@include gradient($gradient-top,$gradient-bottom);
|
145
|
+
}
|
146
|
+
.menuelt:hover{
|
147
|
+
padding-right:35px;
|
148
|
+
width:172px;
|
149
|
+
}
|
150
|
+
.menuelt.active{
|
151
|
+
z-index:15;
|
152
|
+
background:#F4F4F4;
|
153
|
+
color:#555;
|
154
|
+
}
|
155
|
+
.submenu{
|
156
|
+
display:block;
|
157
|
+
height:auto;
|
158
|
+
}
|
159
|
+
.submenu.hidden{
|
160
|
+
display:none;
|
161
|
+
height:0;
|
162
|
+
}
|
163
|
+
.submenu li{
|
164
|
+
font-size:12px;
|
165
|
+
font-family:helvetica;
|
166
|
+
color:#AAA;
|
167
|
+
text-align:right;
|
168
|
+
margin:10px;
|
169
|
+
}
|
170
|
+
.submenu li:hover{
|
171
|
+
color:white;
|
172
|
+
}
|
173
|
+
.menu-box{
|
174
|
+
@include border-radius(3px);
|
175
|
+
border:1px solid #BCBCBC;
|
176
|
+
color:#333;
|
177
|
+
width:120px;
|
178
|
+
height:20px;
|
179
|
+
margin:10px;
|
180
|
+
padding-top:80px;
|
181
|
+
text-align:center;
|
182
|
+
float:left;
|
183
|
+
font-family:helvetica;
|
184
|
+
font-size:12px;
|
185
|
+
|
186
|
+
background-color:#F4F4F4;
|
187
|
+
background-position:23px 4px;
|
188
|
+
background-repeat:no-repeat;
|
189
|
+
}
|
190
|
+
.menu-box:hover{
|
191
|
+
background-color:white;
|
192
|
+
}
|
193
|
+
.menu-box:first-of-type{
|
194
|
+
margin-left:0px;
|
195
|
+
}
|
196
|
+
#write-article{ background-image:url(../assets/img1.jpg);}
|
197
|
+
#create-page{ background-image:url(../assets/img2.jpg);}
|
198
|
+
#upload-picture{ background-image:url(../assets/img3.jpg);}
|
199
|
+
#add-event{ background-image:url(../assets/img4.jpg);}
|
200
|
+
#manage-comments{ background-image:url(../assets/img5.jpg);}
|
201
|
+
.box{
|
202
|
+
@include border-radius(3px);
|
203
|
+
border:1px solid #CDCDCD;
|
204
|
+
border-top-color:#DDDDDD;
|
205
|
+
background-color:white;
|
206
|
+
clear:left;
|
207
|
+
}
|
208
|
+
.box h2{
|
209
|
+
font-family:helvetica;
|
210
|
+
font-size:13px;
|
211
|
+
font-weight:bold;
|
212
|
+
color:black;
|
213
|
+
padding:6px;
|
214
|
+
margin-top:4px;
|
215
|
+
}
|
216
|
+
.box p{
|
217
|
+
font-family:helvetica;
|
218
|
+
font-size:12px;
|
219
|
+
font-weight:normal;
|
220
|
+
color:#555;
|
221
|
+
padding:6px;
|
222
|
+
}
|
223
|
+
.box-title{
|
224
|
+
font-family:helvetica;
|
225
|
+
font-size:14px;
|
226
|
+
font-weight:bold;
|
227
|
+
color:black;
|
228
|
+
padding:6px;
|
229
|
+
cursor:pointer;
|
230
|
+
@include gradient($box-title-gradient-top,$box-title-gradient-bottom);
|
231
|
+
border-bottom:1px solid #BCBCBC;
|
232
|
+
}
|
233
|
+
form{
|
234
|
+
padding:15px;
|
235
|
+
}
|
236
|
+
.field{
|
237
|
+
clear:left;
|
238
|
+
}
|
239
|
+
select, option, textarea, input[type=text],
|
240
|
+
input[type=color],
|
241
|
+
input[type=date],
|
242
|
+
input[type=datetime],
|
243
|
+
input[type=datetime-local],
|
244
|
+
input[type=email],
|
245
|
+
input[type=file],
|
246
|
+
input[type=image],
|
247
|
+
input[type=month],
|
248
|
+
input[type=number],
|
249
|
+
input[type=password],
|
250
|
+
input[type=range],
|
251
|
+
input[type=reset],
|
252
|
+
input[type=search],
|
253
|
+
input[type=tel],
|
254
|
+
input[type=text],
|
255
|
+
input[type=time],
|
256
|
+
input[type=url],
|
257
|
+
input[type=week]{
|
258
|
+
@include border-radius(3px);
|
259
|
+
background-color:white;
|
260
|
+
border:1px solid #DDD;
|
261
|
+
margin-bottom:15px;
|
262
|
+
clear:left;
|
263
|
+
font-size:13px;
|
264
|
+
padding:3px;
|
265
|
+
font-family:helvetica;
|
266
|
+
font-size:13px;
|
267
|
+
line-height:18px;
|
268
|
+
}
|
269
|
+
option{
|
270
|
+
margin:0;
|
271
|
+
border:0;
|
272
|
+
}
|
273
|
+
select:focus, option:focus, textarea:focus, input[type=text]:focus,
|
274
|
+
input[type=color]:focus,
|
275
|
+
input[type=date]:focus,
|
276
|
+
input[type=datetime]:focus,
|
277
|
+
input[type=datetime-local]:focus,
|
278
|
+
input[type=email]:focus,
|
279
|
+
input[type=file]:focus,
|
280
|
+
input[type=image]:focus,
|
281
|
+
input[type=month]:focus,
|
282
|
+
input[type=number]:focus,
|
283
|
+
input[type=password]:focus,
|
284
|
+
input[type=range]:focus,
|
285
|
+
input[type=reset]:focus,
|
286
|
+
input[type=search]:focus,
|
287
|
+
input[type=tel]:focus,
|
288
|
+
input[type=text]:focus,
|
289
|
+
input[type=time]:focus,
|
290
|
+
input[type=url]:focus,
|
291
|
+
input[type=week]:focus{
|
292
|
+
@include box-shadow(0px 0px 3px #5BA000);
|
293
|
+
border:1px solid #DDD;
|
294
|
+
}
|
295
|
+
label{
|
296
|
+
clear:left;
|
297
|
+
display:block;
|
298
|
+
font-family:helvetica;
|
299
|
+
font-size:13px;
|
300
|
+
color:#444;
|
301
|
+
margin-bottom:7px;
|
302
|
+
}
|
303
|
+
label.label-richtext-type{
|
304
|
+
display:inline;
|
305
|
+
}
|
306
|
+
label.inlabel{
|
307
|
+
display:inline;
|
308
|
+
}
|
309
|
+
.btn, input[type=submit]{
|
310
|
+
display:inline-block;
|
311
|
+
|
312
|
+
font-size:12px;
|
313
|
+
font-family:helvetica;
|
314
|
+
position:relative;
|
315
|
+
z-index:11;
|
316
|
+
margin:4px;
|
317
|
+
padding:6px 10px;
|
318
|
+
text-align:center;
|
319
|
+
|
320
|
+
-moz-box-sizing: content-box;
|
321
|
+
-o-box-sizing: content-box;
|
322
|
+
-ms-box-sizing: content-box;
|
323
|
+
-webkit-box-sizing: content-box;
|
324
|
+
box-sizing: content-box;
|
325
|
+
|
326
|
+
line-height:18px;
|
327
|
+
@include border-radius(3px);
|
328
|
+
border:none;
|
329
|
+
color:white;
|
330
|
+
text-decoration:none;
|
331
|
+
@include gradient($gradient-top,$gradient-bottom);
|
332
|
+
}
|
333
|
+
.btn:hover, input[type=submit]:hover{
|
334
|
+
color:white;
|
335
|
+
text-decoration:none;
|
336
|
+
|
337
|
+
@include gradient($gradient-bottom,$gradient-top);
|
338
|
+
}
|
339
|
+
.content-box{
|
340
|
+
clear:both;
|
341
|
+
margin-top:10px;
|
342
|
+
margin-bottom:10px;
|
343
|
+
}
|
344
|
+
.content-box-left, .content-box-right{
|
345
|
+
width:49%;
|
346
|
+
height:229px;
|
347
|
+
margin-top:10px;
|
348
|
+
margin-bottom:10px;
|
349
|
+
}
|
350
|
+
.content-box-left{
|
351
|
+
float:left;
|
352
|
+
clear:left;
|
353
|
+
}
|
354
|
+
.content-box-right{
|
355
|
+
float:right;
|
356
|
+
clear:right;
|
357
|
+
}
|
358
|
+
.close{
|
359
|
+
height:26px;
|
360
|
+
overflow:hidden;
|
361
|
+
}
|
362
|
+
.index_filter{ display:table-cell;vertical-align: top;width:24%;height:100%;padding-top:52px;}
|
363
|
+
.index_table{ display:block;width:100%;height:100%;}
|
364
|
+
|
365
|
+
.filter-min{
|
366
|
+
display:inline-block;
|
367
|
+
width:98px;
|
368
|
+
margin-right:5px;
|
369
|
+
}
|
370
|
+
.filter-max{
|
371
|
+
display:inline-block;
|
372
|
+
width:99px;
|
373
|
+
}
|
374
|
+
.filter{
|
375
|
+
width:210px;
|
376
|
+
}
|
377
|
+
|
378
|
+
#footer{
|
379
|
+
clear:left;
|
380
|
+
font-family:helvetica;
|
381
|
+
font-size:11px;
|
382
|
+
color:#666;
|
383
|
+
margin-top:8px;
|
384
|
+
padding-top:8px;
|
385
|
+
border-top:1px solid #BBB;
|
386
|
+
height:20px;
|
387
|
+
}
|
388
|
+
#flash-warning,
|
389
|
+
#flash-notice,
|
390
|
+
#flash-success,
|
391
|
+
#flash-error{
|
392
|
+
font-family:helvetica;
|
393
|
+
font-size:12px;
|
394
|
+
border-style:solid;
|
395
|
+
border-width:1px;
|
396
|
+
@include border-radius(3px);
|
397
|
+
padding:8px;
|
398
|
+
padding-left:28px;
|
399
|
+
display:block;
|
400
|
+
color:#333;
|
401
|
+
clear:left;
|
402
|
+
margin:3px 0px;
|
403
|
+
}
|
404
|
+
#flash-warning{
|
405
|
+
border-color:$border-color-warning;
|
406
|
+
background:$bg-color-warning url($warning) no-repeat 7px 8px;
|
407
|
+
}
|
408
|
+
#flash-notice{
|
409
|
+
border-color:$border-color-notice;
|
410
|
+
background:$bg-color-notice url($notice) no-repeat 7px 8px;
|
411
|
+
}
|
412
|
+
#flash-success{
|
413
|
+
border-color:$border-color-success;
|
414
|
+
background:$bg-color-success url($success) no-repeat 7px 8px;
|
415
|
+
}
|
416
|
+
#flash-error{
|
417
|
+
border-color:$border-color-error;
|
418
|
+
background:$bg-color-error url($error) no-repeat 7px 8px;
|
419
|
+
}
|
420
|
+
.successful, .error{
|
421
|
+
font-family:helvetica;
|
422
|
+
font-size:13px;
|
423
|
+
color:#333;
|
424
|
+
padding:0px 0px 5px 28px;
|
425
|
+
margin-top:4px;
|
426
|
+
margin-left:7px;
|
427
|
+
}
|
428
|
+
.successful{
|
429
|
+
background:white url(../assets/bg-success.png) no-repeat 7px 1px;
|
430
|
+
}
|
431
|
+
.error{
|
432
|
+
background:white url(../assets/bg-error.png) no-repeat 7px 1px;
|
433
|
+
}
|
434
|
+
table{
|
435
|
+
margin:10px;
|
436
|
+
border:1px solid #BBB;
|
437
|
+
width:100%;
|
438
|
+
}
|
439
|
+
table tr:first-child{
|
440
|
+
font-weight:bold;
|
441
|
+
text-align:left;
|
442
|
+
border-bottom:1px solid #DDD;
|
443
|
+
border-left:none;
|
444
|
+
border-right:none;
|
445
|
+
background-color:#DDD;
|
446
|
+
}
|
447
|
+
table tr:last-child{
|
448
|
+
border-bottom:1px solid #BBB;
|
449
|
+
}
|
450
|
+
table tr:first-child td, table tr:first-child th{
|
451
|
+
color:#111;
|
452
|
+
}
|
453
|
+
table tr:first-child td a, table tr:first-child th a{
|
454
|
+
text-decoration:none;
|
455
|
+
}
|
456
|
+
table tr td, table tr th{
|
457
|
+
padding:5px 9px 5px 0px;
|
458
|
+
font-family:helvetica;
|
459
|
+
font-size:12px;
|
460
|
+
color:#777;
|
461
|
+
border-bottom:1px solid #DDD;
|
462
|
+
}
|
463
|
+
table tr td a, table tr th a{
|
464
|
+
color:#777;
|
465
|
+
}
|
466
|
+
table tr.line-1{
|
467
|
+
background-color:white;
|
468
|
+
}
|
469
|
+
table tr.line-2{
|
470
|
+
background-color:#EEE;
|
471
|
+
}
|
472
|
+
table tr.line-1:hover, table tr.line-2:hover, table tr:hover{
|
473
|
+
background-color:#DDD;
|
474
|
+
@include box-shadow(0px 0px 7px #777);
|
475
|
+
}
|
476
|
+
/* Login page */
|
477
|
+
html, body{
|
478
|
+
height:100%;
|
479
|
+
}
|
480
|
+
#admin-login{
|
481
|
+
height:100%;
|
482
|
+
}
|
483
|
+
#top-login{
|
484
|
+
background:transparent url(../assets/bg-top-login.jpg);
|
485
|
+
border-bottom:1px solid #eee;
|
486
|
+
height:33%;
|
487
|
+
width:100%;
|
488
|
+
position:relative;
|
489
|
+
}
|
490
|
+
#top-login p{
|
491
|
+
font-family:helvetica;
|
492
|
+
font-weight:bold;
|
493
|
+
font-size:25px;
|
494
|
+
margin-bottom:30px;
|
495
|
+
color:#DFDFDF;
|
496
|
+
text-align:center;
|
497
|
+
position:absolute;
|
498
|
+
bottom:0px;
|
499
|
+
width:100%;
|
500
|
+
}
|
501
|
+
#bottom-login{
|
502
|
+
background:transparent url(../assets/bg-bottom-login.jpg);
|
503
|
+
height:65%;
|
504
|
+
width:100%;
|
505
|
+
}
|
506
|
+
label.login-label span,
|
507
|
+
label.login-label-right span{
|
508
|
+
color:white;
|
509
|
+
font-size:14px;
|
510
|
+
display:inline-block;
|
511
|
+
width:125px;
|
512
|
+
}
|
513
|
+
label.login-label-right span{
|
514
|
+
width:100px;
|
515
|
+
}
|
516
|
+
label.login-label input[type=text]{
|
517
|
+
margin-bottom:0px;
|
518
|
+
}
|
519
|
+
label.login-label, label.login-label-right{
|
520
|
+
margin-bottom:15px;
|
521
|
+
}
|
522
|
+
.submit, label.login-label-right{
|
523
|
+
text-align:right;
|
524
|
+
}
|
525
|
+
#bottom-login form{
|
526
|
+
width:293px;
|
527
|
+
margin-left:auto;
|
528
|
+
margin-right:auto;
|
529
|
+
}
|
530
|
+
.al, .ac, .ar{
|
531
|
+
vertical-align:middle;
|
532
|
+
}
|
533
|
+
.al{
|
534
|
+
text-align:left;
|
535
|
+
}
|
536
|
+
.ac{
|
537
|
+
text-align:center;
|
538
|
+
}
|
539
|
+
.ar{
|
540
|
+
text-align:right;
|
541
|
+
}
|
542
|
+
.box-margintl{
|
543
|
+
margin-left:10px;
|
544
|
+
margin-top:10px;
|
545
|
+
}
|
546
|
+
#export{
|
547
|
+
margin-left:10px;
|
548
|
+
}
|
549
|
+
#export p{
|
550
|
+
margin:0;
|
551
|
+
padding:0;
|
552
|
+
}
|
553
|
+
#export_label{
|
554
|
+
display:block;
|
555
|
+
float:left;
|
556
|
+
margin-left:47px;
|
557
|
+
background:none;
|
558
|
+
color:#777;
|
559
|
+
padding-top:5px;
|
560
|
+
padding-right:10px;
|
561
|
+
}
|
562
|
+
#batch_label{
|
563
|
+
display:inline;
|
564
|
+
color:#777;
|
565
|
+
padding-top:5px;
|
566
|
+
padding-right:10px;
|
567
|
+
}
|
568
|
+
label.allitems{
|
569
|
+
font-size:11px;
|
570
|
+
}
|
571
|
+
#table-items-and-filter{
|
572
|
+
display:table;
|
573
|
+
}
|
574
|
+
form.table-item{
|
575
|
+
display:table-cell;
|
576
|
+
vertical-align:top;
|
577
|
+
}
|
578
|
+
.beautiful_pagination{
|
579
|
+
height:23px;
|
580
|
+
}
|
581
|
+
|
582
|
+
/* http://www.alessioatzeni.com/blog/css3-loading-animation-loop/ */
|
583
|
+
.loader{
|
584
|
+
position:fixed;
|
585
|
+
top:50%;
|
586
|
+
left:50%;
|
587
|
+
width:70px;
|
588
|
+
height:70px;
|
589
|
+
z-index:1000;
|
590
|
+
}
|
591
|
+
.circle {
|
592
|
+
background-color: rgba(0,0,0,0);
|
593
|
+
border:5px solid $border-spinner;
|
594
|
+
opacity:.9;
|
595
|
+
border-right:5px solid rgba(0,0,0,0);
|
596
|
+
border-left:5px solid rgba(0,0,0,0);
|
597
|
+
border-radius:50px;
|
598
|
+
box-shadow: 0 0 35px $shadow-spinner;
|
599
|
+
width:50px;
|
600
|
+
height:50px;
|
601
|
+
margin:0 auto;
|
602
|
+
-moz-animation:spinPulse 1s infinite ease-in-out;
|
603
|
+
-webkit-animation:spinPulse 1s infinite linear;
|
604
|
+
}
|
605
|
+
.circle1 {
|
606
|
+
background-color: rgba(0,0,0,0);
|
607
|
+
border:5px solid $border-spinner;
|
608
|
+
opacity:.9;
|
609
|
+
border-left:5px solid rgba(0,0,0,0);
|
610
|
+
border-right:5px solid rgba(0,0,0,0);
|
611
|
+
border-radius:50px;
|
612
|
+
box-shadow: 0 0 15px $shadow-spinner;
|
613
|
+
width:30px;
|
614
|
+
height:30px;
|
615
|
+
margin:0 auto;
|
616
|
+
position:relative;
|
617
|
+
top:-50px;
|
618
|
+
-moz-animation:spinoffPulse 1s infinite linear;
|
619
|
+
-webkit-animation:spinoffPulse 1s infinite linear;
|
620
|
+
}
|
621
|
+
@-ms-keyframes spinPulse {
|
622
|
+
0% { -ms-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px $shadow-spinner; }
|
623
|
+
50% { -ms-transform:rotate(145deg); opacity:1;}
|
624
|
+
100% { -ms-transform:rotate(-320deg); opacity:0; }
|
625
|
+
}
|
626
|
+
@-ms-keyframes spinoffPulse {
|
627
|
+
0% { -ms-transform:rotate(0deg); }
|
628
|
+
100% { -ms-transform:rotate(360deg); }
|
629
|
+
}
|
630
|
+
@-o-keyframes spinPulse {
|
631
|
+
0% { -o-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px $shadow-spinner; }
|
632
|
+
50% { -o-transform:rotate(145deg); opacity:1;}
|
633
|
+
100% { -o-transform:rotate(-320deg); opacity:0; }
|
634
|
+
}
|
635
|
+
@-o-keyframes spinoffPulse {
|
636
|
+
0% { -o-transform:rotate(0deg); }
|
637
|
+
100% { -o-transform:rotate(360deg); }
|
638
|
+
}
|
639
|
+
@-moz-keyframes spinPulse {
|
640
|
+
0% { -moz-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px $shadow-spinner;}
|
641
|
+
50% { -moz-transform:rotate(145deg); opacity:1; }
|
642
|
+
100% { -moz-transform:rotate(-320deg); opacity:0; }
|
643
|
+
}
|
644
|
+
@-moz-keyframes spinoffPulse {
|
645
|
+
0% { -moz-transform:rotate(0deg); }
|
646
|
+
100% { -moz-transform:rotate(360deg); }
|
647
|
+
}
|
648
|
+
@-webkit-keyframes spinPulse {
|
649
|
+
0% { -webkit-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px $shadow-spinner; }
|
650
|
+
50% { -webkit-transform:rotate(145deg); opacity:1;}
|
651
|
+
100% { -webkit-transform:rotate(-320deg); opacity:0; }
|
652
|
+
}
|
653
|
+
@-webkit-keyframes spinoffPulse {
|
654
|
+
0% { -webkit-transform:rotate(0deg); }
|
655
|
+
100% { -webkit-transform:rotate(360deg); }
|
656
|
+
}
|
657
|
+
|
658
|
+
/* Pagination */
|
659
|
+
.beautiful_pagination {
|
660
|
+
background: white;
|
661
|
+
cursor: default;
|
662
|
+
font-size:12px;
|
663
|
+
margin-left:10px;
|
664
|
+
}
|
665
|
+
.beautiful_pagination a, .beautiful_pagination .previous_page, .beautiful_pagination .next_page{
|
666
|
+
padding:4px 7px 5px 7px;
|
667
|
+
display: block;
|
668
|
+
float: left;
|
669
|
+
margin-right: 1px;
|
670
|
+
|
671
|
+
font-family:helvetica;
|
672
|
+
text-decoration: none;
|
673
|
+
color:$gradient-top;
|
674
|
+
border:none;
|
675
|
+
font-size:12px;
|
676
|
+
|
677
|
+
@include border-radius(3px);
|
678
|
+
|
679
|
+
border:1px solid $gradient-top;
|
680
|
+
}
|
681
|
+
.beautiful_pagination a:hover{
|
682
|
+
color:black;
|
683
|
+
border:1px solid black;
|
684
|
+
}
|
685
|
+
.beautiful_pagination .current{
|
686
|
+
padding:4px 7px 5px 7px;
|
687
|
+
display: block;
|
688
|
+
float: left;
|
689
|
+
margin-right: 1px;
|
690
|
+
|
691
|
+
font-family:helvetica;
|
692
|
+
text-decoration: none;
|
693
|
+
color: #5BA000;
|
694
|
+
border:none;
|
695
|
+
font-size:12px;
|
696
|
+
color:white;
|
697
|
+
|
698
|
+
@include border-radius(3px);
|
699
|
+
@include gradient($gradient-top,$gradient-bottom);
|
700
|
+
|
701
|
+
border:1px solid $gradient-top;
|
702
|
+
}
|
703
|
+
|
704
|
+
.beautiful_pagination .previous_page, .beautiful_pagination .previous_page:hover,
|
705
|
+
.beautiful_pagination .next_page, .beautiful_pagination .next_page:hover{
|
706
|
+
border:none;
|
707
|
+
}
|
708
|
+
.beautiful_pagination .disabled{
|
709
|
+
color:gray;
|
710
|
+
}
|
711
|
+
.beautiful_pagination .gap{
|
712
|
+
padding:4px 7px 5px 7px;
|
713
|
+
display: block;
|
714
|
+
float: left;
|
715
|
+
margin-right: 1px;
|
716
|
+
}
|
717
|
+
.markItUp .markItUpContainer .markItUpHeader a:hover{
|
718
|
+
color:transparent;
|
719
|
+
}
|