diaspora/public/stylesheets/application.css
2010-07-03 22:43:11 -07:00

260 lines
4.9 KiB
CSS

body {
padding: 2em;
margin: 0; }
a {
color: #316191;
text-decoration: none;
font-weight: bold; }
#flash_notice,
#flash_error,
#flash_alert {
z-index: 60;
position: absolute;
padding: 5px 8px;
margin: 0;
width: 400px;
top: 0px;
margin-left: 230px;
color: #666666; }
#flash_notice {
background-color: #ccffcc;
border: solid 1px #66cc66; }
#flash_error,
#flash_alert {
background-color: #ffcccc;
border: solid 1px #cc6666; }
.fieldWithErrors {
display: inline; }
.error_messages {
width: 400px;
border: 2px solid #cf0000;
padding: 0;
padding-bottom: 12px;
margin-bottom: 20px;
background-color: #f0f0f0;
font-size: 12px; }
.error_messages h2 {
text-align: left;
padding: 5px 5px 5px 15px;
margin: 0;
font-weight: bold;
font-size: 12px;
background-color: #cc0000; }
.error_messages p {
margin: 8px 10px; }
.error_messages ul {
margin: 0; }
header {
position: relative;
margin: -2em;
margin-bottom: 0;
height: 30px;
color: white;
background-color: #1a1a21;
border-bottom: 2px solid #7e96a6;
padding-top: 5px; }
header #diaspora_text {
position: absolute;
border: none;
top: 9px; }
header #diaspora_text:hover {
color: #316191; }
header #session_action {
float: right;
font-size: 110%;
margin-top: 2px;
padding-right: 10px; }
header #session_action a {
color: #cccccc;
border: none; }
#show_filters {
z-index: 100;
position: absolute;
right: 0;
text-align: right; }
#show_filters > a {
border: 1px solid #666666;
padding: 5px; }
ul#stream_filters {
padding: 0;
margin: 0;
margin-bottom: 20px; }
ul#stream_filters li {
display: block;
padding: 8px 0;
border-bottom: 1px #eeeeee solid; }
ul#stream_filters a {
color: #b1cfe3; }
ul#stream_filters a:hover {
color: black; }
#main {
width: 100%; }
ul#stream, ul#friend_stream {
margin: 0;
padding: 0;
color: #666666; }
ul#stream > li, ul#friend_stream > li {
list-style: none;
padding: 1em 0;
border-bottom: 1px solid #f1f1f1;
margin-bottom: 5px; }
li.message {
position: relative;
line-height: 140%;
font-family: "Lucida Grande", sans-serif;
color: #999999; }
li.message span.from {
color: #333333;
font-weight: bold;
margin-right: 0.2em;
font-size: 110%; }
li.message div.time {
color: #bababa;
font-size: 70%; }
h1 {
position: relative;
font-size: 21px;
font-weight: bold;
line-height: 36px; }
h1 p.description, h1 span.description {
font-weight: 200;
color: #999999;
padding: 0.1em; }
h3 {
position: relative;
font-size: 18px;
font-weight: bold; }
form {
font-size: 120%;
margin: 1em;
margin-left: 0em; }
#user_name {
margin-bottom: 1em; }
#user_name a {
color: black; }
#user_name a:hover {
color: #cc1e14; }
div.comments {
display: none; }
ul.comment_set {
margin: 0;
margin-top: 1em;
padding: 0;
padding-left: 1em;
list-style: none;
width: 90%; }
ul.comment_set li.comment {
margin-bottom: 0.5em;
background-color: #f2f8fc;
padding: 0.6em;
border-bottom: 1px solid #cccccc; }
ul.comment_set li.comment .from {
color: #666666;
font-weight: normal; }
ul.comment_set li.comment .from a {
color: #333333;
font-weight: bold; }
ul.comment_set li.comment form {
margin-top: -5px;
padding-bottom: 8px; }
img#profile_picture {
width: 100%; }
img#user_picture {
width: 100%; }
.pagination a {
padding: 3px; }
.destroy_link {
position: absolute;
right: 0;
bottom: 15px;
display: none; }
.destroy_link a {
color: #999999;
font-weight: normal; }
#debug_info {
margin-top: 20px; }
input[type='text'], textarea {
font-family: "lucida grande", "sans-serif";
font-size: 14px;
padding: 0.3em;
display: block;
width: 100%;
-webkit-box-shadow: 0 2px 0px white;
-moz-box-shadow: 0 2px 0px white;
border-top: 1px solid #999999;
height: auto; }
input[type='submit'] {
display: block;
float: right; }
form p {
position: relative;
padding: 0;
margin: 0; }
label {
color: #999999;
position: absolute;
top: 3px;
left: 0.48em; }
ul.nav li > a {
display: block; }
#publisher {
padding: 0.5em 0;
background-color: #f2f8fc;
border-bottom: 1px #eaeaea solid;
margin: 0 -2em;
margin-bottom: 2em; }
#new_blog,
#new_bookmark,
#new_status_message {
display: none; }
ul#publisher_content_pickers {
display: inline;
margin: 0 -10px;
padding: 0;
text-shadow: 0 -2px 0 white; }
ul#publisher_content_pickers li {
display: inline;
padding: 5px 10px;
margin-right: 5px; }
.selected {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid #cccccc;
border-top: 1px solid #333333;
background-color: rgba(255, 255, 255, 0.5);
-webkit-box-shadow: 0 2px 1px white;
-moz-box-shadow: 0 2px 1px white; }