zURL/res/style.css
Daniel Lo Nigro d867e844e1 - Added error catching for production
- Added some simple statistics (hit graphs)
 - Bug fixes
 - Updated "about" page
2010-02-27 10:49:29 +00:00

190 lines
2.5 KiB
CSS

/*
* zURL.ws website stylesheet
* (c) 2010 Daniel15 (http://dan.cx/)
*/
.errors
{
background-color: #F0CCCC;
border: 1px solid #C00;
margin: 0.5em 0;
}
.errors p, p.errors
{
padding: 0.5em;
margin: 0;
}
.errors p img
{
vertical-align: middle;
}
p#top_message
{
background-color: #EDF0CC;
border: 1px solid #BBCC00;
padding: 0.5em;
}
p#top_message img
{
vertical-align: middle;
}
form br
{
clear: left;
}
/* Shortening form */
form#shorten
{
background-color: #e6f0f0;
border: 2px solid #AAA;
border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
padding: 1em;
}
form#shorten input#url
{
width: 90%;
}
form#shorten input#shorten
{
width: 8%;
}
/* Registration Form */
form#register label
{
float: left;
width: 10em;
text-align: right;
padding-right: 0.3em;
}
form#register input
{
margin-bottom: 0.2em;
}
/* Shortened */
#copy_clipboard
{
margin-left: 2em;
border: 1px solid black;
padding: 0.5em;
background-color: #DDD;
}
#copy_clipboard.hover
{
background-color: white;
}
#copy_clipboard.active
{
background-color: #AAA;
}
/* Form fields with no value entered */
input.no-value
{
color: #AAA;
}
/* Stuff that's hidden by default */
div#shorten_another
{
display: none;
}
.icon
{
cursor: pointer;
}
img.favicon
{
vertical-align: middle;
}
/* Some table styles - Column widths */
table
{
margin-top: 1em;
}
th.date { width: 7em; }
th.shorturl { width: 15.5em; }
th.datetime { width: 13em; }
/* Charts */
div#chart_container
{
width: 900px;
margin: 1em auto;
}
div#chart_area
{
border: 1px solid #C3C3C3;
height: 400px;
width: 100%;
margin-bottom: 1em;
background-color: white;
}
div#chart
{
height: 100%;
width: 100%;
}
/* The tab bar itself */
ul#types
{
padding: 3px 0 2px 0;
height: 17px;
}
/* Tabs */
ul#types li
{
cursor: pointer;
display: inline;
border-style: solid;
border-color: #C3C3C3; /* AAA */
border-width: 1px 1px 0 1px;
background-color: #EFEFEF;
padding: 2px 5px 3px 5px;
margin-right: 0.2em;
/* TODO: Update this once Opera gains support for it :-) */
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
}
ul#types li.selected
{
border-bottom: 1px solid white;
background-color: white;
cursor: default;
font-weight: bold;
}
p#loading_chart
{
text-align: center;
padding-top: 2em;
}