forked from tsloughter/OpaDo
/
style.css
243 lines (218 loc) · 7.66 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
/**
* @author Ida Swarczewskaja (CSS & design)
*/
html {
background: #600B00 fixed url('/resources/opado-bg-tile.jpg') repeat top left;
}
body {
background:transparent fixed url('/resources/opado-bg-gradient-tile.jpg') repeat-x top left;
color: #6C6B66;
min-height:480px;
}
.topbar {
background:transparent url('/resources/opado-bg-gradient-tile.jpg') repeat-x 0 40%;
border-bottom: 1px solid rgba(0, 0, 0, 0.18);
box-shadow:0 1px 5px rgba(0,0,0,0.15) inset, 0 1px 1px rgba(255,255,255,0.1);
-moz-box-shadow:0 1px 5px rgba(0,0,0,0.15) inset, 0 1px 1px rgba(255,255,255,0.1);
-webkit-box-shadow:0 1px 5px rgba(0,0,0,0.15) inset, 0 1px 1px rgba(255,255,255,0.1);
height:50px;
}
.hero-unit {
position:relative;
top:60px;
margin-bottom:0;
padding:5px 0;
background:transparent;}
/* Links */
a {color:#600B00;text-decoration:none;}
a:hover {color:#480800;}
a img {border: none;}
/* Buttons */
.btn {
background-color: #600B00;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#803C33), to(#600B00));
background-image: -webkit-linear-gradient(#803C33,#600B00);
background-image: -moz-linear-gradient(top, #803C33,#600B00);
background-image: -ms-linear-gradient(#803C33,#600B00);
background-image: -o-linear-gradient(#803C33,#600B00);
background-image: linear-gradient(#803C33,#600B00);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#803C33', endColorstr='#600B00', GradientType=0);
border-color:#600B00;
border-bottom: 1px solid #480800;
}
.btn, .topbar a.btn {
color:#FFE;
text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}
.btn:hover, .topbar a.btn:hover {color:#DDC;}
.btn.large {width:180px;}
.btn > .icon {margin-left:-3px;}
/* Main structure */
/* Topbar */
.topbar a.btn{margin-top:12px;}
.topbar .brand {
background: url('/resources/opado-logo.png') no-repeat 20px 0;
height: 22px;
width:134px;
margin-top:4px;
}
/* Container */
.container {width:460px;}
#todoapp {padding-top:65px;}
/* Main content box */
.content {
background: url('/resources/paper-bg-tile.jpg') repeat 0 0;
border-top:1px solid white;
position:relative;
padding: 0 10px 10px 10px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px 3px 3px 3px;
-webkit-box-shadow: 0 1px 3px #EDECE3 inset, 0 3px 5px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 1px 3px #EDECE3 inset, 0 3px 5px rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 3px #EDECE3 inset, 0 3px 5px rgba(0, 0, 0, 0.3);
text-shadow: 0 1px 1px rgba(255,255,255,0.7);
}
.content h1 {margin-top:10px;}
/* Inputs */
input {
height: 24px;
font-size: 24px;
line-height: 28px;
outline: none;
padding: 6px;
background: #EFEFDF;
border: 1px solid #BBB;
border-bottom: 1px solid white;
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
input, ul#todo_list input[type="checkbox"] {
background: #EFEFDF;
border: 1px solid #BBB;
border-bottom: 1px solid white;
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
input#new_todo {
width:446px;
background:transparent url('/resources/opado-bg-gradient-tile.jpg') repeat-x 0 60%;
border: 1px solid #600B00;
color:#BBA;
text-shadow: 0 1px 1px rgba(0,0,0,0.3);
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset,rgba(255,255,255,0.1) 0 1px 3px;
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset,rgba(255,255,255,0.1) 0 1px 3px;
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset,rgba(255,255,255,0.1) 0 1px 3px;
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset,rgba(255,255,255,0.1) 0 1px 3px;
margin-bottom:5px;
}
#login_box input {
width:270px; /* might be replaced by class .xlarge */
display:block;
margin-bottom:18px;
}
/* Todo list */
ul#todo_list {
border-bottom:1px dashed #F7F7F5;
margin:0 0 10px 0;
padding:0;
}
ul#todo_list li {
border-bottom: 1px dashed #4D4D4D;
border-top: 1px dashed #F7F7F5;
margin:0;
padding:10px 5px 12px 5px;
}
ul#todo_list li:first-child {border-top:none;}
ul#todo_list li:hover {background-color:rgba(0,0,0,0.05);}
ul#todo_list input[type="checkbox"]{
float:left;
margin:4px 10px 4px 0;
position:relative;
display:inline-block;
}
ul#todo_list .icon.icon-remove {
float:right;
display:none;
margin: 4px 0;
position:relative;
}
ul#todo_list .display:hover .icon.icon-remove {display:inline-block;}
.todo_content {padding:0 3px;font-size:18px; line-height:22px;color:#6C6B66;}
.done .todo_content{text-decoration: line-through;}
/* Edit input */
#todo_list .editing .display, #todo_list .edit {display: none;}
#todo_list .editing .edit {display: block;}
/* Bottom */
.well {
background-color: #EED;
background-color:rgba(255,255,255,0.3);
border:1px solid #ccc;
border:1px solid rgba(0, 0, 0, 0.1);
border-top: 1px solid white;
margin-bottom:0;
padding:10px;
-webkit-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 1px 1px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 1px 1px rgba(0, 0, 0, 0.05);
}
#todo_stats .todo_count {margin:5px 0;}
.bold {font-weight:bold;}
/* Footer */
.footer {
width: 480px;
position:relative;
margin: 0 auto;
padding:5px 0;
text-align:center;
font-size:11px;
line-height:16px;
}
.footer span {margin: 0 5px;}
.footer img {margin:3px 0 0 2px;}
.footer span, .footer a, .footer img {vertical-align:top;}
.footer a {color:#ddc;}
.footer, .help-block {color:#aa9;}
/** Mobile Portrait: width 320px **/
@media only screen and (max-width: 480px) {
body {min-height:auto;width:100%;height:100%;}
.container, .container-fluid, .footer { width: 300px;}
.content {text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);}
/* Columns */
.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10,
.span11, .span12, .span12, .span13, .span14, .span15, .span16, .span17, .span18,
.span19, .span20, .span21, .span22, .span23, .span24, .span-one-third, .span-two-thirds {width: 300px;}
/* Offsets */
.row > .offset1, .row > .offset2, .row > .offset3, .row > .offset4, .row > .offset5,
.row > .offset6, .row > .offset7, .row > .offset8, .row > .offset9, .row > .offset10,
.row > .offset11, .row > .offset12, .row > .offset-one-third, .row > .offset-two-thirds {margin-left: 0;}
/* Inputs width */
input.xlarge, #login_box input {width:265px;}
.btn.large {width:277px;font-size:18px;}
input#new_todo{width:285px;}
ul#todo_list input.xlarge {width:210px;}
/* Todo list */
ul#todo_list input[type="checkbox"]{font-size:20px;margin: 3px 6px 0 0;-webkit-appearance:checkbox;}
.well .btn {padding:5px 8px 6px 8px;}
}
/** Mobile Landscape: width 480px **/
@media only screen and (min-width: 480px) and (max-width: 767px) {
html {height:100%;}
body {min-height:auto;width:100%;height:100%;}
.container, .container-fluid, .footer {width: 460px;}
ul#todo_list input.xlarge {width:265px;}
/* Columns */
.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10,
.span11, .span12, .span12, .span13, .span14, .span15, .span16, .span17, .span18,
.span19, .span20, .span21, .span22, .span23, .span24, .span-one-third, .span-two-thirds{width: 460px;}
}
/** Tablet **/
@media only screen and (min-width: 768px) and (max-width: 959px) {
html {height:100%;}
body {width:100%;height:100%;}
.content {text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);}
/* Todo list */
ul#todo_list input[type="checkbox"]{font-size:20px;margin: 3px 6px 0 0;-webkit-appearance:checkbox;}
}