diaspora/public/stylesheets/application.css
2010-09-08 20:39:05 -07:00

602 lines
13 KiB
CSS

@font-face {
font-family: "BrandonGrotesqueLightRegular";
src: url("brandongrotesque_light/Brandon_light-webfont.eot");
src: local("☺"), url("brandongrotesque_light/Brandon_light-webfont.woff") format("woff"), url("brandongrotesque_light/Brandon_light-webfont.ttf") format("truetype"), url("brandongrotesque_light/Brandon_light-webfont.svg#webfont") format("svg");
font {
weight: normal;
style: normal; } }
body {
padding: 2em;
margin: 0; }
a {
color: #556270;
text-decoration: none; }
a:hover {
color: white;
background-color: #556270; }
.avatar {
width: 50px;
height: 50px; }
#flash_notice,
#flash_error,
#flash_alert {
z-index: 3;
top: 32px;
position: absolute;
color: black;
width: 400px;
margin: 0 0 0 -200px;
left: 50%;
text-align: center;
font-size: 14px;
padding: 3px 0; }
#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 {
z-index: 4;
position: relative;
margin: -2em;
margin-bottom: 2em;
color: black;
background-color: #333333;
padding: 0;
border-bottom: 1px solid #cccccc; }
header #diaspora_text {
z-index: 6;
position: absolute;
display: inline;
font-family: "BrandonGrotesqueLightRegular";
font-size: 16px;
border: none;
color: white;
top: 3px; }
header #diaspora_text a {
color: #999999; }
header #diaspora_text a:hover {
color: white;
background: none; }
header #diaspora_text span.sub_text {
text-shadow: none; }
header #session_action {
position: relative;
display: inline;
float: right;
z-index: 3;
padding-right: 10px; }
header #session_action a.new_requests {
color: #df0101; }
header #group_header {
z-index: 5;
text-shadow: 0 2px 0 white;
background-color: #eeeeee;
border-top: 1px solid #555555;
height: 85px; }
header #group_header h1 {
margin-bottom: 0;
margin-top: 27px; }
#show_filters {
z-index: 100;
position: absolute;
right: 0;
text-align: right; }
#show_filters > a {
border: 1px solid #666666;
padding: 5px; }
#main {
width: 100%; }
ul#stream {
margin: 0;
padding: 0; }
ul#stream > li {
min-height: 50px;
list-style: none;
padding: 12px 0;
border-bottom: 1px solid #eeeeee; }
ul#stream > li:first-child {
padding-top: 0; }
li.message {
position: relative;
line-height: 140%;
font-family: "Lucida Grande", sans-serif;
color: #999999; }
li.message .avatar {
float: left;
margin-right: 15px; }
li.message .delete:hover {
background: #eeeeee; }
li.message .content span.from {
color: black;
font-weight: normal;
margin-right: 0.2em;
font-size: 110%; }
li.message .content div.info {
color: #bababa;
font-size: 70%; }
h1 {
position: relative;
font-size: 21px;
font-weight: bold;
line-height: 36px; }
h1 p.description, h1 span.description, h1 .description {
font-weight: 200;
color: #999999; }
h3 {
position: relativex;
font-size: 18px;
font-weight: bold; }
form {
position: relative;
font-size: 120%;
margin: 1em;
margin-left: 0em; }
#user_name {
margin-bottom: 20px; }
#user_name img {
margin-right: 10px;
display: inline-block;
float: left;
height: 40px; }
#user_name h1 {
margin-bottom: 7px;
line-height: 18px; }
#user_name h1 a {
color: black; }
#user_name span {
size: small;
font-weight: normal;
color: #999999; }
#user_name #latest_message_time {
font-style: italic; }
#user_name ul {
display: inline;
margin: 0;
padding: 0;
list-style: none; }
#user_name ul > li {
display: inline;
margin-right: 1em; }
#stream div.comments {
display: none; }
#stream div.comments .avatar {
width: 30px;
height: 30px;
margin-right: 10px; }
#stream ul.comment_set {
padding: 0;
padding-left: 65px; }
input.comment_submit {
display: none;
margin-right: -10px; }
ul.comment_set {
margin: 0;
margin-top: 1em;
padding: 0;
list-style: none;
width: 495px; }
ul.comment_set textarea {
width: 100%; }
ul.comment_set li.comment {
margin-bottom: 0.5em;
background-color: rgba(10, 81, 109, 0.05);
padding: 0.6em;
border-bottom: 1px solid #cccccc; }
ul.comment_set li.comment .from {
font-weight: normal; }
ul.comment_set li.comment .from a {
font-weight: bold; }
ul.comment_set li.comment div.time {
color: #666666;
font-size: 70%; }
ul.comment_set li.comment form {
margin-top: -5px;
margin-bottom: 0; }
.profile_photo {
float: left;
margin-right: 10px; }
#profile ul {
list-style-type: none; }
#stream img.person_picture, #profile img.person_picture,
.comments img.person_picture {
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
display: inline block;
height: 30px;
display: absolute;
float: left;
margin-right: 10px; }
.pagination a {
padding: 3px; }
.destroy_link, .request_button {
position: absolute;
right: 0;
bottom: 15px; }
.destroy_link a, .request_button a {
color: #999999;
font-weight: normal; }
.destroy_link {
display: none;
font-size: smaller; }
.request_buttons {
position: absolute;
right: 0;
display: inline;
list-style: none;
margin: 0;
padding: 0; }
.request_buttons > li {
display: inline; }
.request_buttons > li:first-child {
margin-right: 1em; }
#show_photo {
text-align: center;
min-height: 200px; }
#show_photo img {
max-width: 100%; }
#show_photo .caption {
margin-top: 10px;
margin-bottom: 25px;
font-size: larger; }
#debug_info {
margin-top: 20px;
color: #cccccc; }
#debug_info h5 {
color: #cccccc; }
input[type='text'], textarea {
font-family: "lucida grande", "sans-serif";
font-size: 14px;
padding: 0.3em;
display: block;
width: 66%;
border-top: 1px solid #666666;
height: auto; }
#submit_block {
text-align: right;
font-size: 12px; }
form p {
position: relative;
padding: 0;
margin: 0; }
label {
color: #999999;
position: absolute;
top: 3px;
left: 0.48em;
font-weight: normal; }
#publisher {
color: #999999;
position: relative;
height: 63px;
margin-top: 20px; }
#publisher .avatar {
float: left;
margin-right: 15px; }
#publisher p {
position: absolute;
left: 0; }
#publisher form {
display: inline; }
#publisher form input[type='submit'] {
float: right;
margin-right: 20px;
margin-top: 26px; }
#publisher textarea {
width: 600px;
height: 40px;
margin-top: 0;
-webkit-box-shadow: 0 1px 0 white; }
#publisher .button {
margin-left: 100px; }
#image_picker .small_photo {
height: 100px;
position: relative;
display: inline-block;
margin-right: 1em;
margin-bottom: 1em; }
#image_picker .small_photo img {
border-radius: 3px; }
#image_picker .small_photo input[type='checkbox'] {
position: absolute; }
#image_picker .selected {
-webkit-box-shadow: 0 3px 6px black;
-moz-box-shadow: 0 3px 6px black;
border: 1px solid white; }
/* cycle it! */
.album {
position: relative;
height: 200px;
width: 200px;
display: inline-block; }
.album img {
width: 200px;
height: 200px; }
.album .name {
position: absolute;
z-index: 6;
padding: 1em;
background: rgba(0, 0, 0, 0.8);
bottom: 20px;
font-size: 18px;
text-shadow: 0 2px 0 black; }
.album .name .time {
font-size: 12px; }
.album .name .time a {
font-weight: normal; }
.album div.image_cycle img {
display: none; }
.field_with_submit input[type='text'] {
width: 82%;
display: inline; }
h1.big_text {
position: relative;
line-height: auto;
border-bottom: 1px solid #666666; }
h1.big_text .right {
top: -6px; }
#content_bottom .right {
top: -5px; }
.right {
display: inline;
float: right; }
.back {
font-size: 12px;
font-weight: normal; }
#content_bottom {
position: relative;
line-height: 36px;
margin: 0 25px;
margin-top: 25px;
margin-bottom: 25px;
min-height: 36px;
border-top: 1px solid #999999;
border-bottom: 2px solid #eeeeee; }
.show_post_comments ul.comment_set {
width: 100%; }
.sub_header {
position: relative;
text-align: center;
font-style: italic;
margin-bottom: 20px;
color: #999999; }
.image_thumb {
display: inline-block;
width: 100px;
min-width: 100px;
height: 100px;
min-height: 100px; }
.image_thumb img {
display: none; }
.image_cycle img {
display: none; }
#group_nav {
position: relative;
color: black; }
#group_nav #group_edit_button {
display: inline;
margin-top: 1px;
font-size: 12px; }
#group_nav #group_edit_button a {
color: #999999; }
#group_nav ul {
margin-bottom: 0;
margin-right: 0;
padding: 0;
padding-bottom: 0px;
padding-top: 35px;
padding-right: 0;
display: inline-block;
list-style: none;
font-size: 14px; }
#group_nav ul > li {
background-color: #444444;
display: inline;
margin-right: 0.5em;
padding: 3px 8px;
border: 1px solid #555555; }
#group_nav ul > li.last-child {
margin-right: 0; }
#group_nav ul > li a {
color: #999999; }
#group_nav ul > li a:hover {
background: none; }
#group_nav ul > li a.editable:hover {
background: yellow; }
#group_nav ul > li:hover {
background-color: #444444; }
#group_nav ul > li:hover a {
color: #999999; }
#group_nav ul > li.selected {
font-weight: bold;
background-color: #eeeeee;
border-bottom: 1px solid #eeeeee;
color: black; }
#group_nav ul > li.selected:hover {
background-color: #efefef; }
#group_nav ul > li.selected a {
color: black; }
#add_photo_loader {
position: absolute;
display: none;
left: -25px;
top: 4px; }
#user_menu {
position: absolute;
z-index: 10;
top: 0;
right: 0;
display: inline-block;
padding: 0;
margin: 0;
list-style: none; }
#user_menu > li {
display: none;
background-color: white;
width: 180px;
height: 29px;
border-left: 2px solid black;
border-right: 2px solid black; }
#user_menu > li:hover {
background-color: #eeeeee; }
#user_menu > li:first-child {
display: block;
background: none;
border-left: 2px solid #333333;
border-right: 2px solid #333333; }
#user_menu > li:first-child a {
color: #999999; }
#user_menu > li:first-child img {
position: absolute;
width: 20px;
height: 20px;
top: 3px;
left: 9px; }
#user_menu > li:last-child {
border-bottom: 2px solid black; }
#user_menu > li a {
display: block;
height: 100%;
padding-left: 40px;
padding-top: 5px;
color: black; }
#user_menu > li a:hover {
background-color: transparent; }
#user_menu .requests {
background-image: url("/images/glyphish-icons/icons/40-inbox.png");
background-repeat: no-repeat;
background-position: 5px; }
#user_menu .settings {
background-image: url("/images/glyphish-icons/icons/20-gear2.png");
background-repeat: no-repeat;
background-position: 5px; }
#user_menu .logout {
background-image: url("/images/glyphish-icons/icons/54-lock.png");
background-repeat: no-repeat;
background-position: 5px; }
#user_menu:hover li {
display: block; }
#global_search {
display: inline;
position: relative;
padding-right: 167px; }
#global_search form {
display: inline; }
#global_search form input {
margin-top: 5px;
display: inline;
font-size: 12px;
border: none;
border-radius: 0; }
#global_search form input[type='text'] {
width: 200px;
padding: 2px;
background-image: url("/images/glyphish-icons/icons/06-magnifying-glass.png");
background-repeat: no-repeat;
background-position: 187px;
background-size: 12px; }
#global_search form label {
font-size: 12px;
margin-top: -3px; }
.editing, .editing:hover {
background-color: yellow;
border: 1px #666666 solid; }
.group {
list-style: none; }
.group ul {
min-height: 20px;
margin: 0;
margin-left: 1em;
margin-bottom: 25px;
background-color: #efefef;
border: 1px solid #cccccc;
border-radius: 3px;
list-style: none;
padding: 15px; }
.group ul li {
margin-left: 0;
padding: 5px;
cursor: move; }
.group ul li img {
display: inline-block; }
.group ul .grey {
font-style: italic;
color: #666666; }