adopt-a-hydrant/app/assets/stylesheets/screen.css

162 lines
2.7 KiB
CSS
Raw Normal View History

2011-12-19 09:36:27 +00:00
html {
height: 100%;
}
body {
height: 100%;
2011-12-25 07:23:19 +00:00
margin: 0;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
h1, h2 {
text-align: center;
margin: 20px 0 10px;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
h2 {
font-size: 22px;
margin: 10px 0;
2011-12-25 07:23:19 +00:00
}
form.form-stacked {
padding-left: 10px;
margin-bottom: 0;
}
label, input {
white-space: nowrap;
text-align: left;
}
input {
width: 200px;
}
input, select, option, button, input[type="submit"] {
display: block;
margin-bottom: 10px;
}
input[type="radio"], input[type="checkbox"] {
display: inline;
width: auto;
margin: 0 10px 10px 0;
}
input#user_new {
margin-bottom: 0;
}
button.btn, input[type="submit"].btn {
display: block;
2011-12-19 09:36:27 +00:00
text-align: center;
2011-12-25 07:23:19 +00:00
width: 210px;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
form label.error {
color: #b94a48;
}
form input.error, form textarea.error {
border-color: #ee5f5b;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
form input.error:focus, form textarea.error:focus {
border-color: #e9322d;
-webkit-box-shadow: 0 0 6px #f8b9b7;
-moz-box-shadow: 0 0 6px #f8b9b7;
box-shadow: 0 0 6px #f8b9b7;
}
.table {
display: table;
2011-12-19 09:36:27 +00:00
height: 100%;
2011-12-25 07:23:19 +00:00
width: 100%;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
.table-row {
display: table-row;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
.table-cell {
display: table-cell;
height: 100%;
2011-12-25 16:27:45 +00:00
vertical-align: top;
2011-12-25 07:23:19 +00:00
}
.alert-message {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
2011-12-25 16:53:03 +00:00
text-align: left;
2011-12-25 07:23:19 +00:00
margin-bottom: 10px;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
.sidebar {
width: 250px;
2011-12-19 09:36:27 +00:00
text-align: center;
}
2011-12-25 07:23:19 +00:00
.sidebar form.form-stacked {
padding-left: 20px;
2011-12-19 09:36:27 +00:00
}
2011-12-25 07:23:19 +00:00
.sidebar p {
width: 210px;
}
.sidebar p#tagline {
color: #ffffff;
padding: 10px 20px;
background-color: #c43c35;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));
background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
background-image: linear-gradient(top, #ee5f5b, #c43c35);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #c43c35 #c43c35 #882a25;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2011-12-19 09:36:27 +00:00
text-align: center;
}
2011-12-25 07:23:19 +00:00
.sidebar #logos img {
margin: 10px 5px;
}
2011-12-25 16:27:45 +00:00
.map-container {
2011-12-25 07:23:19 +00:00
width: auto;
2011-12-19 09:36:27 +00:00
}
2011-12-25 16:27:45 +00:00
#map {
height: 100%;
width: 100%;
}
.modal {
max-height: 500px;
overflow: auto;
}
2011-12-19 09:36:27 +00:00
.upcase {
text-transform: uppercase;
}
.alpha {
list-style-type: lower-alpha;
}
.roman {
list-style-type: lower-roman;
}
img.lock {
height: 9px;
width: 7px;
opacity: 0.8;
filter: alpha(opacity=80); /* For IE8 and earlier */
}