digg-sidebar/chrome/skin/diggsidebar.css

97 lines
2.3 KiB
CSS

/*
Digg Sidebar - Shows Digg stories in the Firefox sidebar in real time.
Copyright (C) 2008 Abhinav Sarkar <abhinav dot sarkar at gmail dot com>
This file is a part of Digg Sidebar.
Digg Sidebar is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Digg Sidebar is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Digg Sidebar. If not, see <http://www.gnu.org/licenses/>.
*/
a {
color: blue;
cursor: pointer;
padding: 1px;
}
a img {
border: none;
}
.storyHeader {
cursor: pointer;
padding: 1px;
}
.storyDetails {
padding: 3px;
display: none;
background-color: #ffffff;
clear: both;
margin: 0px 5px 5px 5px;
}
.storyDetails > div {
clear: both;
padding: 1px 0px;
font-size: x-small;
}
.storyTitle {
font-size: x-small;
font-weight: bold;
width: 100%;
color: #105CB6;
}
.storyCategory {
background-color: rgb(252,243,164);
text-align: center;
}
.storyPopularity {
float: right;
}
.storyHref {
font-weight: bold;
padding: 2px 3px;
vertical-align: middle;
}
.storyDesc {
height: auto!important;
}
.storyHref:hover, .storyUserLink:hover {
color: white;
background-color: blue;
}
.storyDiggs, .storyComments {
font-size: xx-small;
}
#dsStoryListBox richlistitem{
border: 2px solid #E5ECF3;
border-top: none;
color: #000000!important;
-moz-binding: url("chrome://diggsidebar/content/diggstory.xbl#diggstoryitem");
}
richlistitem[selected="true"] {
background-color: #E5ECF3;
color: inherit;
}
.storyHeader:hover {
background-color: rgb(252,243,164);
}
.storyHeader:hover .storyTitle{
color: #000;
}
#diggsidebar-button {
list-style-image: url("chrome://diggsidebar/content/image/digg_this_24.png");
}
toolbar[iconsize="small"] #diggsidebar-button {
list-style-image: url("chrome://diggsidebar/content/image/digg_this_16.png");
}