Programming

Firefox Brief Theme: About Config

I’ve just finished a usable version of a brief theme called: “About Config“. For those who don’t know what Brief is: it’s a Firefox Extension, an RSS reader. I use this application on almost a daily basis. Very useful sidebar and main viewing area. Simple, powerful and configurable is exactly what I need. Though the default theme was lacking a little.

About Config CSS

/*
	Created by: Yvon Viger
	Created: 11:02 PM 7/14/2011
	No License Yet
*/
@include( 'http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin' );
body {
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    font-family: "Ubuntu", "Lucida Grande", Verdana, sans-serif;
    font-size: 10px;
}

#feed-content {
    padding: 10px 10px 10px;
}

#message-box {
    -moz-user-select: none;
    padding: 0 15px;
}

#main-message {
    margin-top: 200px;
    text-align: center;
    font-size: 19px;
    color: #274b5d;
}

#secondary-message {
    margin: 75px auto 0;
    max-width: 500px;
    text-align: center;
    font-size: 14px;
    color: #4b606c;
}


/* ---------------------------  Article  ------------------------ */

#article-template {
    display: none;
}

.article-container {
    position: relative;
    max-width: 90em;
    min-width: -moz-min-content;
    margin: 0 auto 1.5em !important;
	border-radius: 1em;
	border: 1px solid #a0a0a0;
	background: #fff !important;
	
	padding-bottom: 3em !important;
   /* background: -moz-linear-gradient(top, rgba(211, 231, 242, 1), rgba(211, 231, 242, 0.5) 24px, rgba(211, 231, 242, 0) 40px) #ffffff;
    background-clip: padding-box;
    -moz-background-clip: padding; 
    border-right: 6px #e6e9ed solid;
    -moz-border-right-colors: #fafcff #fafcff #f7f9fc #f3f5f8 #eff0f3 #d8dadc;
    border-left: 6px #e6e9ed solid;
    -moz-border-left-colors: #fafcff #fafcff #f7f9fc #f3f5f8 #eff0f3 #d8dadc;
	*/
	
}

.article-container:last-child {
   
}


/*  ----------------------  Read article  ---------------------- */
.article-container .article-date {
	float: right;
	display: block;
}
.feed-name {
	padding: 0 !important;
	margin: 0 !important;
	width: auto;
	float: left;
	text-align: left;
	display: block;
}
.article-container[read] {
    
}
.article-title-link-box
{
	cursor: pointer;
	width: 100%;
	display: block;
	min-width: -moz-available !important;
	overflow: hidden;
	height: 25px;
	border-bottom: 1px solid #e0e0e0;
}


/* ---------------------  Selected article  ------------------- */

.article-container[selected] {
    z-index: 1;
	margin: 0 auto 2em;
	padding: 0;
	position: static;
	border:1px solid #999; 
	box-shadow: 0px 2px 10px rgba( 33, 33, 33, 0.8);
}

.article-container[selected] .article-authors
{
	display: none;
}
/* ----------------------  Article header  ---------------------- */

.article-header {
	position: relative;
	display: block;
    width: -moz-available !important;
    margin: 30px 20px 0px 100px !important;
    padding: 0 !important;
	font-size: 14pt !important;
	border: 0px solid #c0c0c0 !important;
}

.article-title-link {
	color: black;
	font-size: 19.2px !important;
    font-family: "Segoe UI", "Ubuntu", Arial, sans-serif;
    font-weight: normal !important;
    text-decoration: none;
}

.article-controls {
    display: -moz-box;
    margin: -2px 0 0 5px;

}

/* ----------------------  Article subheader  ---------------------- */

.article-subheader
{
	font-size: 11px;
	padding-top: 3px;
	margin: 0 20px 0 100px !important;
	display: -moz-box !important;
	width: -moz-available !important;
	-moz-box-orient: horizontal !important;
}
.collapsed-article-subheader 
{
	display: block;
	width: 100%;
	position: absolute !important;
	top: 29px;
	left: 0;
	font-size: 11px;
	margin: 0 !important;
	padding: 0 !important;
}


.article-date {
}

.article-authors:not(:empty):after {
    content: " -";
}

.article-tags {
    padding-left: 20px;
    background: url(chrome://brief/skin/icons/tag.png) 1px no-repeat;
}

.article-tags:not(:empty) {
    margin-top: 2px;
}

.article-updated {
    color: #de5b00;
}


/* ----------------------  Article content area   ---------------------- */

.article-content {
    margin: 10px 20px 0px 75px;
	padding-bottom: 0px;
    overflow: auto;
    color: #404040;
    font-size: 13px;
    line-height: 1.4;
    text-align: justify;
}

.article-content:empty {
    padding: 0 0 10px !important;
}

/* Reset the top margin, so that the gap between
   header and content is always the same */
.article-content > *:first-child {
    margin-top: 0 !important;
}

.article-content a {
    color: #003b73;
}

.article-content a:visited {
    color: #4b667e;
}

img {
    margin: 0 !important;
}

blockquote {
    font-style: italic;
}

pre, code {
    font-family: "Courier New", monospace;
    font-size: 1em;
    white-space: pre-wrap;
    width: -moz-available;
}

.search-highlight {
    border: 1px solid #45e500;
    -moz-border-radius: 3px;
    color: black;
    background-color: #adff89;
}


/* ----------------------  Headlines view   ---------------------- */

.article-container[collapsed] {
   
}

.article-container[collapsed] {
    background-image: none;
}

.article-container[collapsed][read] {

}

.article-container[collapsed]:hover {

}

.article-container[collapsed] .article-title-link {
}

.article-container[collapsed] .article-controls {
    position: static;
    z-index: 1;
    top: 4px;
    right: 5px;
    height: 30px; /* Hack */
    margin: 0;
    padding-left: 10px;
    opacity: 1;
}

.article-container[collapsed]:hover .article-controls {
    opacity: 1;
}

.article-container .collapsed-article-subheader {
	position: relative;
	display: block;
    color: #666;
    cursor: default;
}

.article-container[collapsed] .article-date {

}

.article-container[collapsed]:hover .article-date {
opacity: 1;
}



.article-container[collapsed] .article-subheader {
    display: none;
}

.article-container:not([collapsed]) .collapsed-article-subheader {
    display: none;
}

/* Hack */
.article-container[collapsed] .delete-entry,
.article-container[collapsed] .restore-entry {
    position: relative;
    top: -12px;
}


/* ----------------------  Article controls ------------------- */

.article-controls {
	display: none;
}
/*
.article-controls > * {
    display: -moz-box;
}
*/
.mark-read {
    -moz-box-align: center;
    -moz-box-pack: center;
    height: 25px;
    min-width: 84px;
    margin-right: 3px;
    font-family: "Ubuntu", Arial, sans-serif;
    font-size: 12px;
    color: #326585;
    cursor: default;
    -moz-user-select: none;
}

.mark-read:hover {
}

.mark-read:active {
}


#feed-content[trash] .delete-entry {
    display: none;
}

#feed-content:not([trash]) .restore-entry {
    display: none;
}

.delete-entry, .restore-entry {
    width: 29px;
    height: 25px;
}

.delete-entry {
    background-image: url(chrome://brief/skin/delete-button.png);
}

.restore-entry {
    background-image: url(chrome://brief/skin/restore-button.png);
}

.delete-entry:hover,
.restore-entry:hover {
    background-position: 0 -25px;
}

.delete-entry:active,
.restore-entry:active {
    background-position: 0 -50px;
}


.article-star {
	float:left;
	margin-top: 0px;
    width: 24px;
    height: 24px;
    background: url(chrome://brief/skin/icons/entry-star.png) no-repeat;
    background-position: 0 5px;
}

.article-container:not([starred]) .article-star:hover {
    background-position: -24px 5px;
}

.article-container:not([starred]) .article-star:active:hover {
    background-position: -48px 5px;
}

.article-container[starred] .article-star {
    background-position: -48px 5px;
}

.article-container[starred] .article-star:hover {
    background-position: -72px 5px;
}

.article-container[starred] .article-star:active:hover {
    background-position: -96px 5px;
}