meta/assets/css/theme.css

308 lines
5.0 KiB
CSS
Raw Permalink Normal View History

/* ---------------- */
/* ! General Styles */
/* ---------------- */
2012-09-12 10:36:43 -04:00
* {
2012-09-13 19:16:51 -04:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2012-09-12 10:36:43 -04:00
}
html, body {
2012-09-13 19:16:51 -04:00
font-weight:200;
2012-09-13 19:16:51 -04:00
color:#312;
}
body {
position:relative;
max-width:800px;
margin: 0 auto;
2012-08-31 16:18:23 -04:00
}
button {
2012-09-13 11:07:31 -04:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2012-08-31 16:18:23 -04:00
color:#312;
2012-09-12 10:36:43 -04:00
padding:0.25em;
border:1px solid #888;
border-radius:5px;
2012-09-12 10:36:43 -04:00
box-shadow:1px 1px #aaa;
min-width:65px;
vertical-align:middle;
}
2012-09-12 12:57:41 -04:00
a, a:visited {
text-decoration:none;
2012-09-13 11:07:31 -04:00
color:#1147BB;
}
a:hover {
text-decoration:underline;
}
2012-08-31 16:18:23 -04:00
legend {
display:block;
}
legend:hover {
cursor:pointer;
}
h1,h2 {
display:inline-block;
2012-09-13 19:16:51 -04:00
margin-right:0.5em;
2012-08-31 16:18:23 -04:00
vertical-align:middle;
2012-09-13 19:16:51 -04:00
/*width:25%;*/
2012-08-31 16:18:23 -04:00
}
2012-09-12 10:36:43 -04:00
ul {
padding-left:2.5em;
margin:0;
}
2012-09-13 19:16:51 -04:00
ul > li {
2012-09-12 10:36:43 -04:00
padding:0.5em 0;
}
2012-09-13 19:16:51 -04:00
dt, dd {
padding:0.25em 0;
}
2012-09-12 10:36:43 -04:00
dd {
margin-left:0.5em;
}
2012-09-13 19:16:51 -04:00
2012-09-13 11:07:31 -04:00
2012-08-31 16:18:23 -04:00
/* Hide forms by default */
2012-09-12 12:57:41 -04:00
fieldset dl {
2012-08-31 16:18:23 -04:00
display:none;
2012-09-12 12:57:41 -04:00
}
#edit_form dl {
display:block;
}
2012-08-31 16:18:23 -04:00
/* form styles */
2012-09-13 19:16:51 -04:00
fieldset {
border-radius:5px;
}
form.add {
margin-bottom:0.75em;
}
form dt, form dd {
display:inline-block;
vertical-align:top;
padding:0.25em 0;
}
form dt {
width:40%;
text-align:right;
}
form dd {
2012-09-12 12:57:41 -04:00
width:58%;
text-align:left;
margin-left:0;
padding-left:.25em;
}
/* ! Edit buttons */
.modify {
position:absolute;
display:none;
margin-left:1em;
2012-09-12 10:36:43 -04:00
vertical-align:middle;
}
2012-09-13 19:16:51 -04:00
li li, li dt {
position:relative;
z-index:3;
}
2015-06-04 16:25:47 -04:00
form dd input {
width:90%;
}
2012-09-13 19:16:51 -04:00
li:hover > .modify, dt:hover > .modify, dd:hover > .modify {
display:inline-block;
2012-09-13 19:16:51 -04:00
vertical-align:top;
}
2012-09-13 19:16:51 -04:00
button.save {
2012-09-13 11:07:31 -04:00
background:#7c7;
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#77cc77', EndColorStr='#559955')"; /* IE9 */
background:-o-linear-gradient(#7c7, #595);
background:-ms-linear-gradient(#7c7, #595);
background:-moz-linear-gradient(#7c7, #595);
background:-webkit-linear-gradient(#7c7, #595);
background:linear-gradient(#7c7, #595);
2012-09-12 10:36:43 -04:00
color:#fff;
}
button.save:hover {
background:#595;
2012-09-13 11:07:31 -04:00
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#559955', EndColorStr='#77cc77')"; /* IE9 */
background:-o-linear-gradient(#595, #7c7);
background:-moz-linear-gradient(#595, #7c7);
background:-webkit-linear-gradient(#595, #7c7);
background:linear-gradient(#595, #7c7);
}
button.edit {
2012-09-12 10:36:43 -04:00
background:#fff;
2012-09-13 11:07:31 -04:00
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dddddd')"; /* IE9 */
2012-09-12 10:36:43 -04:00
background:-o-linear-gradient(#fff, #ddd);
2012-09-13 11:07:31 -04:00
background:-ms-linear-gradient(#fff, #ddd);
2012-09-12 10:36:43 -04:00
background:-moz-linear-gradient(#fff, #ddd);
background:-webkit-linear-gradient(#fff, #ddd);
background:linear-gradient(#fff, #ddd);
}
2012-09-12 10:36:43 -04:00
button.edit:hover {
background:#ddd;
2012-09-13 11:07:31 -04:00
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#dddddd', EndColorStr='#ffffff')"; /* IE9 */
2012-09-12 10:36:43 -04:00
background:-o-linear-gradient(#ddd, #fff);
2012-09-13 11:07:31 -04:00
background:-ms-linear-gradient(#ddd, #fff);
2012-09-12 10:36:43 -04:00
background:-moz-linear-gradient(#ddd, #fff);
background:-webkit-linear-gradient(#ddd, #fff);
background:linear-gradient(#ddd, #fff);
}
button.delete {
2012-09-12 12:57:41 -04:00
background:#f55;
2012-09-13 11:07:31 -04:00
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ff5555', EndColorStr='#995555')"; /* IE9 */
2012-09-12 12:57:41 -04:00
background:-o-linear-gradient(#f55, #955);
2012-09-13 11:07:31 -04:00
background:-ms-linear-gradient(#f55, #955);
2012-09-12 12:57:41 -04:00
background:-moz-linear-gradient(#f55, #955);
background:-webkit-linear-gradient(#f55, #955);
background:linear-gradient(#f55, #955);
2012-09-12 10:36:43 -04:00
color:#fff;
}
button.delete:hover {
background:#955;
2012-09-13 11:07:31 -04:00
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#995555', EndColorStr='#ff5555')"; /* IE9 */
2012-09-12 12:57:41 -04:00
background:-o-linear-gradient(#955, #f55);
2012-09-13 11:07:31 -04:00
background:-ms-linear-gradient(#955, #f55);
2012-09-12 12:57:41 -04:00
background:-moz-linear-gradient(#955, #f55);
background:-webkit-linear-gradient(#955, #f55);
background:linear-gradient(#955, #f55);
}
/* ! Outline styles */
2012-08-31 16:18:23 -04:00
.list {
padding:0;
margin:0;
}
.list dl {
margin-left:0.5em;
}
2012-09-13 19:16:51 -04:00
#outline {
position:absolute;
margin:21px 0;
right:0;
}
2012-09-12 12:57:41 -04:00
dl.outline dd {
2012-09-12 10:36:43 -04:00
border-bottom:1px dotted #555;
2012-09-12 12:57:41 -04:00
margin-bottom:0.5em;
2012-09-12 10:36:43 -04:00
}
2012-09-12 12:57:41 -04:00
dl.outline dd:last-child {
border:0;
}
2012-09-12 10:36:43 -04:00
dl.outline dt {
display:list-item;
list-style:square inside;
}
2015-06-04 14:30:42 -04:00
.list > li {
2012-08-31 16:18:23 -04:00
list-style:none;
2012-09-13 19:16:51 -04:00
2012-08-31 16:18:23 -04:00
}
li h4 {
display:inline;
}
/* ! Data listing styles */
2012-08-31 16:18:23 -04:00
dl.multiline, dl.pair {
border-bottom:1px dotted #312;
}
2015-06-04 14:30:42 -04:00
li dl.multiline:last-of-type {
border-bottom:0;
}
2012-08-31 16:18:23 -04:00
dl.multiline dt {
font-weight:bold;
line-height:1.5;
font-size:1em;
margin:0;
}
dl.multiline dd {
margin:1em;
margin-right:0;
}
dl.pair dt, dl.pair dd {
display:inline-block;
2012-09-13 19:16:51 -04:00
vertical-align:middle;
2012-08-31 16:18:23 -04:00
padding:0.25em 0;
}
dl.pair dt {
width:35%;
}
dl.pair dd {
width:64%;
margin-left:0;
padding-left:0;
}
2012-09-12 10:36:43 -04:00
/* ! Form overlay styles */
#overlay_bg {
background:#777;
2012-09-13 11:07:31 -04:00
background:rgba(85,105,255,0.85);
2012-09-12 10:36:43 -04:00
position:fixed;
display:none;
width:900%;
height:900%;
z-index:5;
left:0;
top:0;
}
#overlay {
position:absolute;
background:#ddd;
2012-09-13 19:16:51 -04:00
width:650px;
2012-09-12 10:36:43 -04:00
padding:0.5em;
border-radius:5px;
display:none;
z-index:25;
}
2012-09-13 19:16:51 -04:00
#edit_form {
position:relative;
overflow:hidden;
}
#edit_form dt {
width:20%;
}
#edit_form dd {
width:78%;
}
2012-08-31 16:18:23 -04:00