contactorama/app/assets/stylesheets/layout.css
2012-04-18 23:30:00 +02:00

580 lines
12 KiB
CSS

/* Layout for desktop version */
html {
font-size: 100.01%;
}
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
font-weight: inherit;
font-style: inherit;
}
body {
background-color: #ffffff; /* grey: #414443; */
line-height: 1.5;
font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
font-size: 0.75em; /* 16px * 0.75 = 12px */
line-height: 1.5em; /* 12px * 1.5 = 18px */
font-style: normal;
font-variant: normal;
font-weight: 400;
}
h1 {
font-size: 3em;
line-height: 1;
margin-bottom: 0.5em;
}
h2 {
font-size: 2em;
line-height: 1;
margin-bottom: 0em;
}
/* Header & Footer */
.header {
background: #f9f9f9; /* very light grey */
box-shadow: 5px 5px 3px #888;
padding-top: 2em;
padding-bottom: 5px;
}
.header_home {
border-right: 1px;
border-right-style: solid #eeeeee;
border-width: thin; /* thin, medium, thick */
padding-right: 15px;
}
.header_menu { padding-top: 0.3em; text-align: right; }
.header_menu a {
background-color: #f0f0f0;
border: 1px solid;
border-top-color: #909090;
border-right-color: #f0f0f0;
/* Gradient. */
border-bottom-color: #ffffff;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0',endColorstr='#ffffff',GradientType=0);
background: -webkit-gradient(linear,left top,left bottom,color-stop,(0%,#f0f0f0),color-stop(100%,#ffffff));
background: -moz-linear-gradient(top,#f0f0f0,#ffffff);
background-image: -o-linear-gradient(#f0f0f0,#ffffff);
border-radius: 5;
color: #909090; /* medium grey */
font-weight: 700;
margin-right: 1ex;
margin-top: 0.5em;
padding-left: 1ex;
padding-right: 1ex;
padding-top: 0.3em;
padding-bottom: 0.3em;
text-decoration: none;
width: 9ex;
}
.header_search { text-align: left; }
.header_search input { background: #f9f9f9; font-size: 110%; }
.header_user { color: #909090; text-align: right; }
.header_actions, .header_actions a {
color: #909090; /* medium grey */
font-weight: bold;
text-decoration: none;
}
.header_email { color: #f2ea79; text-align: right; border-left: solid }
.header_red {
background: #E5000A;
color: #ffffff;
font-weight: bold;
margin-right: 0px;
padding-left: 5px;
}
.header_black, .header_black a {
background: #000000;
color: #ffffff;
font-weight: bold;
margin-left: 0px;
padding-right: 5px;
text-align: right;
}
.logo_contact, .logo_o-rama {
font-weight: bold;
font-size: 150%;
}
.logo_contact {
color: #ed8200; /* orange */
}
.logo_o-rama {
color: #000000;
}
.logo_white { color: #fff; }
.logo_black { color: #000; }
#username { font-weight: bold; }
#menu_filler { background: #ccc; margin-right: 0px; padding-left: 5px; }
#menu { background: #ccc; text-align: right; margin-left: 0px; padding-right: 5px; }
#menu a { text-decoration: none; color: #000; }
#footer {
border-top-color: #ccc;
border-top-style: solid;
border-top-width: 1px;
margin-top: 10px;
color: #333;
text-align: center;
}
#footer a {
text-decoration: none;
color: #333;
}
/* Tabellen */
thead th {
background-color: #D1D1D1;
}
th, td, caption {
padding-top: 4px;
padding-right: 10px;
padding-bottom: 4px;
padding-left: 5px;
font-style: inherit;
font-size: 100%;
font-family: inherit;
}
table, td, th {
vertical-align: middle;
}
caption, th, td {
text-align: left;
font-weight: 400;
}
/* flash messages */
#error {
background-color: red;
}
#alert {
background-color: #ffffe0;
}
#notice {
background-color: green;
color: rgb(249, 249, 249);
}
#alert, #error, #notice {
border-bottom-color: #e6db55;
border-left-color: #e6db55;
border-right-color: #e6db55;
border-top-color: #e6db55;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-style: solid;
border-left-width: 1px;
border-right-style: solid;
border-right-width: 1px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-style: solid;
border-top-width: 1px;
margin-bottom: 16px;
margin-left: 8px;
margin-right: 0px;
margin-top: 0px;
padding-bottom: 12px;
padding-left: 12px;
padding-right: 12px;
padding-top: 12px;
}
.flash {
line-height: 1.75em;
}
/* Login form */
.login {
margin-top: 50px;
}
#user_new {
background-attachment: scroll;
background-clip: border-box;
background-color: #ffffff;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
border-bottom-color: #e5e5e5;
border-bottom-left-radius: 11px;
border-bottom-right-radius: 11px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: #e5e5e5;
border-left-style: solid;
border-left-width: 1px;
border-right-color: #e5e5e5;
border-right-style: solid;
border-right-width: 1px;
border-top-color: #e5e5e5;
border-top-left-radius: 11px;
border-top-right-radius: 11px;
border-top-style: solid;
border-top-width: 1px;
box-shadow: 0px 4px 18px;
font-weight: 400;
margin-left: 8px;
padding-bottom: 40px;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
}
#user_email, #user_password {
background-attachment: scroll;
background-clip: border-box;
background-color: #fbfbfb;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
border-bottom-color: #e5e5e5;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: #e5e5e5;
border-left-style: solid;
border-left-width: 1px;
border-right-color: #e5e5e5;
border-right-style: solid;
border-right-width: 1px;
border-top-color: #e5e5e5;
border-top-style: solid;
border-top-width: 1px;
font-size: 24px;
margin-bottom: 16px;
margin-right: 6px;
margin-top: 2px;
padding-bottom: 3px;
padding-left: 3px;
padding-right: 3px;
padding-top: 3px;
width: 97%;
}
#login_links {
margin-bottom: 0px;
margin-left: 8px;
margin-right: 0px;
margin-top: 0px;
padding-bottom: 16px;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
}
/* contact list */
.contact_summary {
background: #f9f9f9; /* very light grey */
border-bottom-color: #909090; /* medium grey */
border-bottom-style: dotted;
border-bottom-width: 1px;
border-radius: 5;
box-shadow: 3px 3px 2px #888;
margin-top: 2em;
margin-bottom: 1ex;
padding-top: 5px;
padding-bottom: 5px;
}
.name_summary {
font-size: 150%;
font-weight: bold;
}
.contact_summary a, .name_summary a { text-decoration: none; color: #000000; }
/* The avatar in the summary overview. */
.avatar_summary {
padding-left: 3px;
box-shadow: 0 3px 2px #888;
}
/* Styles for entry forms. */
.form_content fieldset {
background: #efe;
}
.form_content legend {
color: #dfd;
background: #141;
font-family: sans-serif;
padding: 0.2em 1em;
}
.form_content label {
width: 5em;
float: left;
text-align: right;
padding-top: 0.2em;
padding-right: 0.1em;
display: block;
}
label {
color: #777777;
font-size: 13px;
}
.form_content select, .form_content textarea, .form_content input {
margin-left: 0.5em;
}
.form_content div {
margin: 0.5em 0;
}
/* tag clouds */
.tagcloud1 { font-size: 1.0em; text-decoration: none; }
.tagcloud2 { font-size: 1.2em; text-decoration: none; }
.tagcloud3 { font-size: 1.4em; text-decoration: none; }
.tagcloud4 { font-size: 1.6em; text-decoration: none; }
/* subtitle, at top right of page */
div.subtitle {
background-color: #efefef;
border-bottom-color: #dedede;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: #dedede;
border-left-style: solid;
border-left-width: 1px;
border-right-color: #dedede;
border-right-style: solid;
border-right-width: 1px;
border-top-color: #dedede;
border-top-style: solid;
border-top-width: 1px;
color: #444444;
margin-top: 20px;
margin-bottom: 20px;
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
text-decoration: none;
vertical-align: baseline;
}
/* The subtitle on the welcome page. */
div.subtitle_welcome {
text-align: right;
}
/* Current development status at the welcome page. */
div.status {
background-color: #efefef;
border-bottom-color: #dedede;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: #dedede;
border-left-style: solid;
border-left-width: 1px;
border-right-color: #dedede;
border-right-style: solid;
border-right-width: 1px;
border-top-color: #dedede;
border-top-style: solid;
border-top-width: 1px;
color: #444444;
margin-top: 20px;
margin-bottom: 20px;
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
text-decoration: none;
outline-style: none;
outline-width: 0px;
display: block;
vertical-align: top;
}
div.status_text {
text-align: center;
}
div.status_text p {
padding-top: 2em;
font-size: 130%;
}
div.status_text a { color: #444444; }
.form {
margin: 0 auto;
width: 600px;
}
.form .form_content {
padding: 33px;
width: 480px;
}
#text_input {
font-size: 28px;
width: 465px;
}
.big_green_button, .submit {
margin:0px;
margin-left: 3em;
border:solid 1px #ccc;
border-top:solid 1px #ddd;
border-left:solid 1px #ddd;
font-size:22px;
color:#fff;
cursor:pointer;
line-height:42px;
height:42px;
padding:0px 15px;
overflow:visible;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
background:#87b500;
border-width:0px;
border-right:solid 1px #689300;
border-bottom:solid 1px #689300;
text-shadow:#719e03 1px 1px;
}
/* app/views/uielements/ */
.uielements {
padding-top: 10px;
padding-bottom: 10px;
}
/* Mailchimp signup-forms.
See: http://kb.mailchimp.com/article/embed-code-css-reference
*/
#mc_embed_signup {
background-color: #ffffff;
color: #444444;
text-align: left;
}
#mc-embedded-subscribe-form {
font-size: 10px;
}
#mc-embedded-subscribe-form fieldset {
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid #ccc;
padding-top: 1.5em;
margin: .5em 0;
background-color: #ffffff;
color: #000;
text-align: left;
}
div.mc-field-group {
background-color: #ffffff;
margin: 1.3em 5%;
clear: both;
overflow: hidden;
}
div.mc-field-group label {
display: block;
margin: .3em 0;
line-height: 1em;
font-weight: bold;
}
div.mc-field-group input {
margin-right: 1.5em;
padding: .2em .3em;
width: 90%;
float: left;
z-index: 999;
}
#mce-responses {
float: left;
top: -1.4em;
padding: 0em .5em 0em .5em;
overflow: hidden;
width: 90%;
margin: 0 5%;
clear: both;
}
#mce-error-response {
display: none;
margin: 1em 0;
padding: 1em .5em .5em 0;
font-weight: bold;
float: left;
top: -1.5em;
z-index: 1;
width: 80%;
background: FBE3E4;
color: #D12F19;
}
#mce-success-response {
display: none;
margin: 1em 0;
padding: 1em .5em .5em 0;
font-weight: bold;
float: left;
top: -1.5em;
z-index: 1;
width: 80%;
background: #E3FBE4;
color: #529214;
}
#mc-embedded-subscribe {
clear: both;
width: auto;
display: block;
margin: 1em 0 1em 5%;
}
#mc_embed_close {
display: none;
}
/* Layout for mobile version */
@media handheld, only screen and (max-width: 767px) {
.examplecontainer {
body {
}
}
/* Provide higher res assets for iPhone 4 */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
/* An example of how to override an image with one twice the size for iPhone 4. Specify the original pixel size with background-size.
.download {
background: url(../img/downarrow@2x.png) no-repeat;
background-size: 27px 28px;
}
*/
}