transmission/web/stylesheets/common.css

1027 lines
20 KiB
CSS

/*--------------------------------------
*
* G L O B A L
*
*--------------------------------------*/
html {
margin: 0;
/* setting border: 0 hoses ie6 win window inner well border */
padding: 0;
height: 100%;
}
body {
font: 62.5% "lucida grande", Tahoma, Verdana, Arial, Helvetica, sans-serif; /* Resets 1em to 10px */
color: #222 !important;
background: #FFF;
text-align: center;
margin: 0 0 30px;
overflow: hidden;
z-index: 1;
}
img {
border: none;
}
a {
outline: 0;
-moz-outline: none;
}
/*--------------------------------------
*
* T O P M E N U
*
*--------------------------------------*/
div.torrent_global_menu {
width: 100%;
height: 75px;
margin: 0;
background: transparent url('../images/graphics/chrome.png') left top repeat-x;
position: fixed;
left: 0;
right: 0;
top: 0;
border-bottom: 1px solid #888;
z-index: 3;
overflow: hidden;
-moz-user-select: none;
-webkit-user-select: none;
}
div.torrent_global_menu h1 {
height: inherit;
width: 205px;
text-indent: -9000px !important;
padding: 0;
margin: 0 0 0 5px;
}
div.torrent_global_menu ul {
height: 50px;
margin: 0;
padding: 0 7px;
text-align: center;
}
div.torrent_global_menu ul li {
list-style-type: none;
list-style-image: none;
float: left;
padding: 0;
margin: 13px 0 0 0;
vertical-align: middle;
height: 50px;
}
div.torrent_global_menu ul li#filter,
div.torrent_global_menu ul li#inspector {
float: right;
}
div.torrent_global_menu ul li > div {
color: #000;
font-size: 1.1em;
text-decoration: none;
padding: 0 8px;
display: block;
margin: 0;
text-shadow: 0 1px 0 #ccc;
min-width: 32px;
cursor: pointer;
}
div.torrent_global_menu ul li div.toolbar_image {
width: 32px;
height: 32px;
margin: 0 auto 5px;
background-image: url('../images/buttons/toolbar_buttons.png');
}
li#open div div.toolbar_image, li#open.disabled div:active div.toolbar_image {
background-position: left 0;
}
li#open div:active div.toolbar_image {
background-position: right 0;
}
li#remove div div.toolbar_image, li#remove.disabled div:active div.toolbar_image {
background-position: left -32px;
}
li#remove div:active div.toolbar_image {
background-position: right -32px;
}
li#resume_selected div div.toolbar_image, li#resume_selected.disabled div:active div.toolbar_image {
background-position: left -96px;
}
li#resume_selected div:active div.toolbar_image {
background-position: right -96px;
}
li#pause_selected div div.toolbar_image, li#pause_selected.disabled div:active div.toolbar_image {
background-position: left -64px;
}
li#pause_selected div:active div.toolbar_image {
background-position: right -64px;
}
li#pause_all div div.toolbar_image, li#pause_all.disabled div:active div.toolbar_image {
background-position: left -128px;
}
li#pause_all div:active div.toolbar_image {
background-position: right -128px;
}
li#resume_all div div.toolbar_image, li#resume_all.disabled div:active div.toolbar_image {
background-position: left -160px;
}
li#resume_all div:active div.toolbar_image {
background-position: right -160px;
}
li#filter div div.toolbar_image, li#filter.disabled div:active div.toolbar_image {
background-position: left -192px;
}
li#filter div:active div.toolbar_image {
background-position: right -192px;
}
li#inspector div div.toolbar_image, li#inspector.disabled div:active div.toolbar_image {
background-position: left -224px;
}
li#inspector div:active div.toolbar_image {
background-position: right -224px;
}
div.torrent_global_menu ul li.disabled > div {
text-shadow: 0 1px 0 #fff;
opacity: 0.25;
cursor: default;
}
div.torrent_global_menu ul li.divider {
width: 0;
border-right: 1px dotted black;
opacity: 0.2;
margin: 14px 4px 0;
height: 49px;
}
/*--------------------------------------
*
* G L O B A L D E T A I L S
*
*--------------------------------------*/
div.torrent_global_details {
width: 100%;
height: 20px;
margin: 0;
background: #ddd url('../images/graphics/filter_bar.png') repeat-x left -51px;
font-size: 1.1em;
font-weight: normal;
border-bottom: 1px solid #888;
position: fixed;
left: 0;
right: 0;
top: 76px;
z-index: 2;
color: #000;
text-shadow: 0 1px 0 #f4f4f4;
}
div.torrent_global_details div {
padding: 0 10px 1px 10px;
margin: 3px 0 0 0;
}
div.torrent_global_details div#torrent_global_transfer {
clear: left;
float: left;
}
div.torrent_global_details div#torrent_global_upload,
div.torrent_global_details div#torrent_global_download {
float: right;
padding-left: 13px;
}
div.torrent_global_details div#torrent_global_upload {
background: url('../images/graphics/transfer_arrows.png') left -11px no-repeat;
}
div.torrent_global_details div#torrent_global_download {
background: url('../images/graphics/transfer_arrows.png') left 2px no-repeat;
}
/*--------------------------------------
*
* T O R R E N T F I L T E R B A R
*
*--------------------------------------*/
div#torrent_filter_bar {
margin: 0;
height: 24px;
background: #ddd url('../images/graphics/filter_bar.png') repeat-x bottom left;
border-bottom: 1px solid #888;
position: fixed;
left: 0;
right: 0px;
top: 97px;
z-index: 2;
display: none;
overflow: hidden;
}
div#torrent_filter_bar ul {
height: 17px;
margin: 0;
padding: 0;
text-align: left;
display: inline;
}
div#torrent_filter_bar ul li {
list-style-type: none;
list-style-image: none;
float: left;
padding: 0;
margin: 4px 0 0 5px;
vertical-align: middle;
height: 17px;
}
div#torrent_filter_bar ul li a {
font-size: 1.2em;
color: #222;
text-shadow: 0 1px 0 #fff;
text-decoration: none;
font-weight: bold;
padding: 0 7px 0 0;
margin: 0 0 0 7px;
height: 17px;
display: block;
cursor: default;
}
div#torrent_filter_bar ul li.selected, div#torrent_filter_bar ul li.selected a, div#torrent_filter_bar ul li:hover, div#torrent_filter_bar ul li:hover a, div#torrent_filter_bar ul li:active, div#torrent_filter_bar ul li:active a {
background-image: url('../images/graphics/filter_bar.png');
background-repeat: no-repeat;
text-shadow: 0 1px 0 #444;
color: #fff !important;
}
div#torrent_filter_bar ul li:hover {
background-position: left -17px;
}
div#torrent_filter_bar ul li:hover a {
background-position: right -17px;
}
div#torrent_filter_bar ul li:active {
background-position: left -34px;
}
div#torrent_filter_bar ul li:active a {
background-position: right -34px;
}
div#torrent_filter_bar ul li.selected {
background-position: left top;
}
div#torrent_filter_bar ul li.selected a {
background-position: right top;
}
div#torrent_filter_bar input#torrent_search {
float: right;
height: 15px;
width: 100px;
border: solid 0 #fff;
padding: 0 2px;
margin: 4px 5px 0 0;
}
/* Safari-look filter input for Firefox */
@-moz-document url-prefix() {
div#torrent_filter_bar input#torrent_search {
background: #FFF url('../images/graphics/filter_icon.png') top left no-repeat;
border: 1px solid #5D80A1;
margin-top: 3px;
padding: 1px 10px 1px 18px;
width: 76px;
-moz-border-radius: 10px;
}
div#torrent_filter_bar input#torrent_search.blur {
border-color: #CCC;
}
}
div#torrent_filter_bar input#torrent_search.blur {
color: #999;
}
/*--------------------------------------
*
* T O R R E N T C O N T A I N E R
*
*--------------------------------------*/
div#torrent_container {
position: fixed;
top: 97px;
bottom: 22px;
right: 0px;
left: 0px;
padding: 0px;
margin: 0px;
overflow: auto;
z-index: 1;
}
ul.torrent_list {
width: 100%;
margin: 0;
padding: 0;
text-align: left;
z-index: 1;
cursor: default;
}
ul.torrent_list li {
list-style-type: none;
list-style-image: none;
clear: both;
display: block;
vertical-align: middle;
-moz-user-select: none;
-webkit-user-select: none;
}
ul.torrent_list li.torrent {
border-bottom: 1px solid #ccc;
padding: 4px 30px 5px 10px; /* Make space for buttons on the right */
margin: 0 !important;
color: #666;
}
ul.torrent_list li.torrent a img {
position: relative;
right: -10px;
}
ul.torrent_list li.torrent.even {
background-color: #EDF3FE;
}
ul.torrent_list li.torrent.selected {
background-color: #3879D7;
color: #FFF;
}
ul.torrent_list li.torrent div.torrent_name {
font-size: 1.3em;
font-weight: bold;
word-wrap: break-word;
overflow: hidden;
color: #222;
margin-bottom: 2px;
}
ul.torrent_list li.torrent.selected div.torrent_name {
color: #fff;
}
ul.torrent_list li.torrent div.torrent_progress_details,
ul.torrent_list li.torrent div.torrent_peer_details {
font-size: 1em;
}
ul.torrent_list li.torrent div.torrent_progress_bar {
height: 10px;
margin: 3px 0;
float: left;
line-height: 1px;
font-size: 1px;
width: 100%;
background-image: url('../images/progress/progress.png');
background-repeat: repeat-x;
background-color: transparent;
}
ul.torrent_list li.torrent div.torrent_progress_bar.complete {
background-position: left -10px;
border: 1px solid #29AD35;
}
ul.torrent_list li.torrent div.torrent_progress_bar.in_progress {
background-position: left 0px;
border: 1px solid #3F79EE;
border-right: none;
}
ul.torrent_list li.torrent div.torrent_progress_bar.incomplete {
margin-right: -10px;
background-position: left -20px;
border: 1px solid #C8CACD;
border-left: none;
}
ul.torrent_list li.torrent div.torrent_progress_bar.incomplete_stopped {
background-position: left -30px;
border: 1px solid #939393;
border-right: none;
}
ul.torrent_list li.torrent div.torrent_progress_bar.complete_stopped {
background-position: left -30px;
border: 1px solid #939393;
}
ul.torrent_list li.torrent div.torrent_progress_bar.empty {
border-color: #c8cacd;
}
li.torrent a div {
float: right;
position: relative;
right: -22px;
top: -16px;
background: url('../images/buttons/torrent_buttons.png');
height: 14px;
width: 14px;
}
li.torrent a div.torrent_pause {
background-position: left top;
}
li.torrent a:hover div.torrent_pause {
background-position: left center;
}
li.torrent a:active div.torrent_pause {
background-position: left bottom;
}
li.torrent a div.torrent_resume {
background-position: center top;
}
li.torrent a:hover div.torrent_resume {
background-position: center center;
}
li.torrent a:active div.torrent_resume {
background-position: center bottom;
}
/*--------------------------------------
*
* T O R R E N T I N S P E C T O R
*
*--------------------------------------*/
div#torrent_inspector {
position: fixed;
top: 97px;
bottom: 22px;
right: 0px;
width: 350px;
background-color: #ddd;
border-left: 1px solid #888;
z-index: 2;
text-align: left;
}
div#torrent_inspector #torrent_inspector_name {
margin: 0;
overflow: hidden;
}
div#torrent_inspector #torrent_inspector_size {
font-size: 1.2em;
margin: 3;
display: block;
padding-top: 2px;
}
div#inspector_header {
clear: both;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
}
div#inspector_tabs {
margin: 0 auto;
padding-top: 10px;
width: 140px;
}
.inspector_tab {
float: left;
background: transparent url('../images/buttons/tab_backgrounds.png') left -1px repeat-x;
border: 1px solid #888;
margin: 0px 1px;
padding: 3px 15px; /* 3px == ((bg image height - fg image height) / 2) */
cursor: pointer;
}
#inspector_tabs > .selected {
background-position: left -26px; /* the highlighted part of the image */
}
.inspector_container {
margin: 10px;
width: 330px; /* inspector_width==350 - ((margin==10)*2) */
}
.inspector_group {
display: table;
width: 100%;
border-top: 1px solid #888;
margin: 10px 0px;
padding: 10px 0px;
}
.inspector_group_label {
display: table-header-group;
font-weight: bold;
}
.inspector_row {
display: table-row;
}
.inspector_row > .inspector_label {
display: table-cell;
width: 100px; /* this + the next 230 == inspector_container_with */
}
.inspector_row > div {
display: table-cell;
padding-top: 10px;
width: 230px; /* inspector_container_width==330 - inspector_label_width==100 */
}
/*--------------------------------------
*
* T O R R E N T F O O T E R
*
*--------------------------------------*/
div.torrent_footer {
width: 100%;
height: 22px;
margin: 0;
padding: 0;
border-top: 1px solid #555;
background: #aaa url('../images/graphics/chrome.png') left bottom repeat-x;
position: fixed;
left: 0px;
right: 0px;
bottom: 0;
z-index: 2;
color: #000;
text-shadow: 0 1px 0 #ccc;
}
div.torrent_footer ul#settings_menu li#button {
height: 22px;
width: 32px !important;
background: transparent url('../images/graphics/chrome.png') left -75px no-repeat;
margin: 0 0 0 3px;
padding: 0;
float: left;
position: relative;
-moz-user-select: none;
-webkit-user-select: none;
}
div.torrent_footer ul#settings_menu li#button:active {
/background: transparent url('../images/graphics/chrome.png') -32px -75px no-repeat;
}
div.torrent_footer ul#settings_menu li#button:hover {
/background: transparent url('../images/graphics/chrome.png') -32px -75px no-repeat;
}
div.torrent_footer div#disk_space_container {
float: right;
font-size: 1.1em;
line-height: 22px;
vertical-align: middle;
margin: 0 20px 0 0;
padding: 0px;
}
/*--------------------------------------
*
* D I A L O G S
*
*--------------------------------------*/
div.dialog_container {
position: absolute;
top: 0;
left: 0px;
margin: 0px;
width: 100%;
height: 100%;
z-index: 2;
text-align: center;
color: black;
font-size: 1.1em;
}
div.dialog_container div.dialog_window {
background-color: #eee;
margin: -210px auto 0;
filter: alpha(opacity=95);
-moz-opacity: .95;
opacity: .95;
border-top: none;
text-align: left;
width: 420px;
height: 145px;
position: relative;
-webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.7);
top: 50%;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
div.dialog_container div.dialog_window {
top: 0;
margin-top: 71px;
}
}
div#prefs_container div.dialog_window {
width: 410px;
height: 420px;
padding: 0 15px;
line-height: 14pt;
}
div.dialog_container div.dialog_window img {
margin: 20px 20px 0 20px;
float: left;
}
div.dialog_container div.dialog_window h2.dialog_heading {
display: block;
float: left;
width: 305px;
font-size: 1.2em;
color: black;
margin-top: 20px;
}
div.dialog_container div.dialog_window div.dialog_message {
float: left;
padding-left: 3px;
margin-left: -3px;
width: 305px;
height: 55px;
overflow: hidden;
}
div.dialog_container div.dialog_window a {
display: block;
float: right;
margin: 10px 20px 0 -8px;
padding: 5px;
background-color: #EEE;
border: 1px solid #787878;
width: 50px;
text-align: center;
font-weight: bold;
text-decoration: none;
color: #323232;
-webkit-appearance: button;
font: -webkit-control;
cursor: default;
}
div.dialog_container div.dialog_window a:hover,
div.dialog_container div.dialog_window a:active {
background: #C0C8D6 url('../images/graphics/filter_bar_bg.png') repeat-x;
}
div#upload_container div.dialog_window {
height: 200px !important;
position: relative;
}
div#upload_container div.dialog_window div.dialog_message {
height: 110px;
}
div#upload_container div.dialog_window div.dialog_message label {
margin-top: 15px;
display: block;
}
div#upload_container div.dialog_window div.dialog_message input {
width: 249px;
margin: 10px 0 0 0;
display: block;
}
div#upload_container div.dialog_window div.dialog_message input[type=text] {
width: 245px;
padding: 2px;
}
div.dialog_container div.dialog_window form {
margin: 0;
padding: 0px;
}
iframe#torrent_upload_frame {
display: block; /* Don't change this : safari forms won't target hidden frames (they open a new window) */
position: absolute;
top: -1000px;
left: -1000px;
width: 0px;
height: 0px;
border: none;
padding: 0;
margin: 0;
}
div#prefs_container label {
display: block;
}
div#prefs_container label.category {
clear: both;
font-size: 1.2em;
margin: 0 0 0 2px;
}
div#prefs_container label.item {
font-size: 11px !important;
margin: 0 5px 0 20px;
float: left;
}
div#prefs_container label.suffix {
margin: 0 5px 0 10px;
float: left;
}
div#prefs_container div.formdiv.checkbox label.item {
margin: 0 5px 0 2px;
}
div#prefs_container div.limit_total label.item {
width: 91px;
}
div#prefs_container div.preference input[type=checkbox] {
float: left;
margin-left: 20px;
margin-top: 9px;
}
@-moz-document url-prefix() {
div#prefs_container div.preference input[type=checkbox] {
margin-top: 8px;
}
}
div#prefs_container div.preference input[type=text] {
width: 50px;
padding: 0px !important;
height: 18px;
margin-top: 2px;
}
div#prefs_container div.preference input {
float: left;
}
div#prefs_container div.download_location input {
width: 256px !important;
}
div#prefs_container div.download_location .checkbox input {
width: auto !important;
}
div#prefs_container div.formdiv {
clear: both;
line-height: 30px;
}
div#prefs_container a {
clear: left;
margin: 10px 5px 10px 7px;
}
div#prefs_container h2.dialog_heading {
display: none;
}
div#prefs_container div#pref_error {
display: none;
width: 395px;
margin: 6px auto 6px auto;
padding: 3px 0 3px 0;
border: 2px solid #cc3333;
color: #cc3333;
font-size: 1.2em;
vertical-align: middle;
text-align: center;
height: 20px;
line-height: 20px;
background-color: #FFEFEF;
}
/*--------------------------------------
*
* U N S U P P O R T E D B R O W S E R
*
*--------------------------------------*/
div#unsupported_browser {
position: absolute;
top: 0px;
left: 0px;
margin: 0px;
width: 100%;
height: 100%;
z-index: 3;
text-align: center;
background: #fff;
}
div#unsupported_browser div.dialog_window {
position: relative;
top: 150px;
width: 450px;
height: 250px;
margin: 0 auto;
border: 1px solid #979797;
}
div#unsupported_browser div.dialog_window img {
margin: 10px;
}
div#unsupported_browser div.dialog_window img.logo {
display: block;
margin: 20px auto 0;
}
div#unsupported_browser div.dialog_window h2 {
margin: 40px auto 0;
width: 305px;
}
div#unsupported_browser div.dialog_window p {
clear: both;
font-size: 1.4em;
}
/*--------------------------------------
*
* T R A N S M E N U
*
*--------------------------------------*/
.trans_menu {
margin: 0;
padding: 0;
cursor: default;
}
.trans_menu, .trans_menu ul {
list-style: none;
}
.trans_menu ul {
min-width: 210px;
background-color: #fff;
filter: alpha(opacity=98);
-moz-opacity: .98;
opacity: .98;
padding: 5px 0;
text-align: left;
list-style: none;
-webkit-border-radius: 5px;
-webkit-box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.trans_menu ul ul {
min-width: 150px;
}
.trans_menu ul ul#footer_sort_menu {
min-width: 175px;
}
.trans_menu li {
margin: 0;
padding: 0 10px 2px 20px !important;
color: #000;
font-size: 14px;
cursor: default;
text-indent: auto !important;
width: inherit;
}
.trans_menu li.hover {
z-index: 1 !important; /* the hover z-index has to be below the normal one the hovering items may be drawn over a submenu */
background-color: #24e;
color: #fff;
text-shadow: none;
}
.trans_menu li.separator, .trans_menu li.separator.hover {
border-top: 1px solid #ddd;
margin: 5px 0;
padding: 0px;
background: transparent;
}
.trans_menu li span.arrow {
float: right;
margin: 3px 0 0;
font-size: 11px;
color: #333;
text-shadow: none;
}
.trans_menu li.hover li.hover span.arrow, .trans_menu li.hover li.hover li.hover span.selected {
color: #fff;
}
.trans_menu span.selected {
margin: 0 3px 0 -15px;
font-size: 14px;
color: #666;
float: left;
}
.trans_menu div.outerbox {
display: none;
background: transparent;
border: 1px solid rgba(0,0,0,0.1);
-webkit-border-radius: 5px;
}
.trans_menu div.inner {
left: 0;
margin: 0;
}
.trans_menu li.main {
float: left;
padding: 0 !important;
width: 30px !important;
}
.trans_menu li.main li {
z-index: 2;
min-width: 78px;
}
.trans_menu li.main.active {
background: transparent url('../images/graphics/chrome.png') right -75px no-repeat !important;
}
.trans_menu a {
text-decoration: none;
cursor: default;
}
/*--------------------------------------
*
* C O N T E X T M E N U
*
*--------------------------------------*/
div#jqContextMenu {
-webkit-border-radius: 5px;
border: 1px solid rgba(0,0,0,0.1);
-moz-user-select: none;
-webkit-user-select: none;
}
div#jqContextMenu ul {
filter: alpha(opacity=98);
-moz-opacity: .98;
opacity: .98;
-webkit-box-shadow: 0 10px 25px rgba(0,0,0,0.4);
-webkit-border-radius: 5px;
}
div#jqContextMenu li.separator, div#jqContextMenu li.separator:hover {
background: inherit !important;
border-top: 1px solid #ddd !important;
margin: 5px 0 !important;
padding: 0px;
}