mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 12:48:04 -06:00
- Commit a lot of missing files for web interface
This commit is contained in:
43
src/webui/css/dynamicTable.css
Normal file
43
src/webui/css/dynamicTable.css
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
|
||||
/**************************************************************
|
||||
|
||||
Dynamic Table
|
||||
v 0.4
|
||||
|
||||
**************************************************************/
|
||||
|
||||
table {
|
||||
border: 1px solid #ccc;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #eee;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
tr {
|
||||
background-color: #fff;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
tr.alt {
|
||||
background-color: #eee;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
tr.selected {
|
||||
background-color: #354158;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
tr.over {
|
||||
background-color: #ee6600;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
427
src/webui/css/mocha.css
Normal file
427
src/webui/css/mocha.css
Normal file
@@ -0,0 +1,427 @@
|
||||
/* MOCHA UI */
|
||||
|
||||
html {
|
||||
overflow: auto; /* Removes empty vertical scrollbars in IE */
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0; /* Required */
|
||||
}
|
||||
|
||||
#mochaDesktop {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
min-width: 750px; /* Helps keep header content from wrapping */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#mochaDesktopHeader {
|
||||
}
|
||||
|
||||
#mochaDesktopTitlebar {
|
||||
padding: 5px 8px 7px 8px;
|
||||
background: #f0f0f0;
|
||||
border-top: 1px solid #fff;
|
||||
border-bottom: 1px solid #bbb;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
#mochaDesktopTitlebar h1 {
|
||||
margin: 0;
|
||||
padding: 4px 0 0 0;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #e60;
|
||||
}
|
||||
|
||||
#mochaDesktopTitlebar h1 .version {
|
||||
font-size: 12px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar {
|
||||
padding: 0;
|
||||
background: #f0f0f0;
|
||||
border-top: 1px solid #fff;
|
||||
border-bottom: 1px solid #bbb;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar ul li a {
|
||||
padding: 2px 9px 2px 9px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar ul li a:hover {
|
||||
background: #e4e4e4;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar li ul {
|
||||
padding: 2px;
|
||||
border: 1px solid #999;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
width: 148px;
|
||||
left: -999em;
|
||||
z-index: 8000;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar li ul li {
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar li ul li a {
|
||||
padding: 1px 9px 1px 9px;
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar li:hover ul, #mochaDesktopNavbar li.ieHover ul { /* lists nested under hovered list items */
|
||||
left: auto;
|
||||
}
|
||||
|
||||
#mochaDesktopNavbar li:hover, #mochaDesktopNavbar li.hover {
|
||||
position: static;
|
||||
}
|
||||
|
||||
#mochaToolbar {
|
||||
padding: 4px 4px 4px 4px;
|
||||
background: #f0f0f0;
|
||||
border-top: 1px solid #fff;
|
||||
border-bottom: 1px solid #bbb;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mochaToolButton {
|
||||
padding: 4px 4px 4px 4px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
margin-top: 2px;
|
||||
padding-top: 3px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#mochaPageWrapper {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
overflow: auto; /* This can be set to hidden if you want to treat it more like a desktop than a web page */
|
||||
}
|
||||
|
||||
#mochaPage {
|
||||
padding: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
/* Windows */
|
||||
|
||||
div.mocha {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.mochaOverlay {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 3px;
|
||||
}
|
||||
|
||||
div.mocha .mochaTitlebar {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.mocha .mochaTitlebar h3 {
|
||||
font-size: 12px;
|
||||
line-height: 15px;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
margin: 6px 10px 4px 12px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.mocha .mochaTitlebar a {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
div.mocha .mochaContentBorder {
|
||||
border-top: 1px solid #bdbdbd;
|
||||
border-bottom: 1px solid #d7d7d7;
|
||||
}
|
||||
|
||||
div.mocha .mochaContentWrapper { /* Has a fixed height and scrollbars if required */
|
||||
font-size: 11px;
|
||||
background: #fff;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
div.mocha .mochaContent {
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.resizeHandle {
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #000;
|
||||
cursor: se-resize;
|
||||
opacity: .0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
}
|
||||
|
||||
.mochaControls {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
width: 0;
|
||||
height: 14px;
|
||||
background: #f00;
|
||||
opacity: .0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: .0;
|
||||
}
|
||||
|
||||
.minimizeToggle, .maximizeToggle, .mochaClose {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
float: right;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
font-size: 1px;
|
||||
background: #000;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mochaLoadingIcon {
|
||||
position: absolute;
|
||||
bottom: 7px;
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
.mochaIframe {
|
||||
width: 100%;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
/* Slider */
|
||||
|
||||
#slider {
|
||||
position: relative;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
width: 200px;
|
||||
padding-top: 18px;
|
||||
}
|
||||
|
||||
#sliderarea {
|
||||
clear: both;
|
||||
position: relative;
|
||||
height: 10px;
|
||||
width: 200px;
|
||||
font-size: 1px;
|
||||
background: #ddd;
|
||||
margin: 2px 0 10px 0;
|
||||
}
|
||||
|
||||
#sliderknob {
|
||||
position: absolute;
|
||||
height: 10px;
|
||||
width: 20px;
|
||||
font-size: 1px;
|
||||
background: #e60;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#update {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Window Builder Form Elements */
|
||||
|
||||
#mochaDesktop form {
|
||||
margin: 0 0 0 0;
|
||||
padding: 5px 0 0 0;
|
||||
width: 320px;
|
||||
}
|
||||
|
||||
#mochaDesktop textarea, #mochaDesktop input {
|
||||
color: #555;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#mochaDesktop .input {
|
||||
background: #fbfbfb;
|
||||
width: 225px;
|
||||
padding: 1px 0 1px 3px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
#mochaDesktop textarea {
|
||||
background: #fbfbfb;
|
||||
width: 225px;
|
||||
height: 100px;
|
||||
padding: 1px 0 1px 3px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
#mochaDesktop .formLabel {
|
||||
float: left;
|
||||
text-align: right;
|
||||
width: 80px;
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
#mochaDesktop .formField {
|
||||
float: right;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 0 0 0 0;
|
||||
width: 230px;
|
||||
}
|
||||
|
||||
#mochaDesktop form .number {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
/* Modal Windows */
|
||||
|
||||
#mochaModalOverlay {
|
||||
display: none;
|
||||
position: fixed; /* This is fixed rather than absolute to fix Mac FF2 issues */
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
* html #mochaModalOverlay {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* fix for IE6 select z-index issue */
|
||||
|
||||
iframe.zIndexFix {
|
||||
display: none;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
filter: mask();
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
/* Window Minimize Dock */
|
||||
|
||||
#mochaDock {
|
||||
display: none;
|
||||
position: relative;
|
||||
background: #fff;
|
||||
padding: 2px 15px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background-color: #f0f0f0;
|
||||
border-top: 1px solid #bbb;
|
||||
border-bottom: 1px solid #fff;
|
||||
min-height: 20px;
|
||||
height: auto;
|
||||
_height: 20px; /* IE 6.0 hack, for not supporting min-height SFF 12/07/2007*/
|
||||
}
|
||||
|
||||
.mochaDockButton {
|
||||
width: 120px;
|
||||
height: 20px;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
text-align: left;
|
||||
font-size: 10px;
|
||||
background-color: #f0f0f0;
|
||||
border-top: 1px solid #fff;
|
||||
border-right: 1px solid #777;
|
||||
border-bottom: 1px solid #777;
|
||||
border-left: 1px solid #fff;
|
||||
margin: 0 1px 0 0;
|
||||
}
|
||||
|
||||
#mochaDockPlacement {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 2px;
|
||||
width: 10px;
|
||||
height: 9px;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
background: #f00; /* for troubleshooting */
|
||||
cursor: pointer;
|
||||
z-index: 3; /* for IE */
|
||||
}
|
||||
|
||||
#mochaDockAutoHide {
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
left: 2px;
|
||||
width: 10px;
|
||||
height: 9px;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
background: #f00; /* for troubleshooting */
|
||||
cursor: pointer;
|
||||
z-index: 3; /* for IE */
|
||||
}
|
||||
|
||||
/* Accordian */
|
||||
|
||||
.accordianToggler {
|
||||
margin: 0;
|
||||
padding: 4px 10px;
|
||||
background: #eee;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-top: 1px solid #f5f5f5;
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.accordianContent {
|
||||
padding: 10px 10px 5px 10px;
|
||||
}
|
||||
|
||||
/* Screens/Workspaces */
|
||||
|
||||
.screen {
|
||||
display: none;
|
||||
}
|
||||
113
src/webui/css/style.css
Normal file
113
src/webui/css/style.css
Normal file
@@ -0,0 +1,113 @@
|
||||
/* Reset */
|
||||
|
||||
ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,object,iframe { margin: 0; padding: 0; }
|
||||
a img,:link img,:visited img { border: none; }
|
||||
table { border-collapse: collapse; border-spacing: 0; }
|
||||
:focus { outline: none; }
|
||||
|
||||
/* Structure */
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.aside {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
|
||||
h2, h3, h4 {
|
||||
margin: 0;
|
||||
padding: 0 0 5px 0;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#mochaPage h3 {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
padding: 6px 0 6px 0;
|
||||
margin: 0 0 8px 0;
|
||||
border-bottom: 1px solid #bbb;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #e60;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0 0 9px 0;
|
||||
}
|
||||
|
||||
/* List Elements */
|
||||
|
||||
ul {
|
||||
list-style: outside;
|
||||
margin: 0 0 9px 16px;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
padding: 0 0 9px 0;
|
||||
}
|
||||
|
||||
/* Code */
|
||||
|
||||
pre {
|
||||
background-color: #f6f6f6;
|
||||
color: #006600;
|
||||
display: block;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
font-size: 11px;
|
||||
max-height: 250px;
|
||||
overflow: auto;
|
||||
margin: 0 0 10px 0;
|
||||
padding: 10px;
|
||||
border: 1px solid #d1d7dc;
|
||||
}
|
||||
|
||||
/* Dividers */
|
||||
|
||||
hr {
|
||||
background-color: #ddd;
|
||||
color: #ccc;
|
||||
height: 1px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.vcenter {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#urls {
|
||||
width:90%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user