mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Format CSS code with prettier
This commit is contained in:
parent
ee79c196df
commit
65bdc4cf43
4 changed files with 83 additions and 58 deletions
|
@ -43,7 +43,6 @@ Notes:
|
|||
margin-top: 2px;
|
||||
}
|
||||
|
||||
|
||||
/* Theme Specific Adjustments to Default Plugin Styles
|
||||
---------------------------------------------------------------- */
|
||||
|
||||
|
|
|
@ -18,7 +18,8 @@ Required by:
|
|||
/* Layout
|
||||
---------------------------------------------------------------- */
|
||||
|
||||
html, body {
|
||||
html,
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
|
@ -43,7 +44,7 @@ body {
|
|||
position: relative;
|
||||
height: 45px;
|
||||
overflow: hidden;
|
||||
background: #718BA6 url(../images/bg-header.gif) repeat-x;
|
||||
background: #718ba6 url(../images/bg-header.gif) repeat-x;
|
||||
}
|
||||
|
||||
#desktopTitlebar {
|
||||
|
@ -140,7 +141,8 @@ body {
|
|||
background-color: #fff;
|
||||
}
|
||||
|
||||
#desktopNavbar ul li a.arrow-right, #desktopNavbar ul li a:hover.arrow-right {
|
||||
#desktopNavbar ul li a.arrow-right,
|
||||
#desktopNavbar ul li a:hover.arrow-right {
|
||||
background-image: url(../images/arrow-right.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 7px;
|
||||
|
@ -163,7 +165,8 @@ body {
|
|||
left: -999em;
|
||||
}
|
||||
|
||||
#desktopNavbar li ul ul { /* third-and-above-level lists */
|
||||
#desktopNavbar li ul ul {
|
||||
/* third-and-above-level lists */
|
||||
margin: -22px 0 0 163px;
|
||||
}
|
||||
|
||||
|
@ -191,7 +194,7 @@ body {
|
|||
}
|
||||
|
||||
#desktopNavbar li ul li a:hover {
|
||||
background: #6C98D9;
|
||||
background: #6c98d9;
|
||||
color: #fff;
|
||||
-moz-border-radius: 2px;
|
||||
}
|
||||
|
@ -200,16 +203,18 @@ body {
|
|||
background: #fff;
|
||||
}
|
||||
|
||||
/* lists nested under hovered list items */
|
||||
#desktopNavbar li:hover ul,
|
||||
#desktopNavbar li.ieHover ul,
|
||||
#desktopNavbar li li.ieHover ul,
|
||||
#desktopNavbar li li li.ieHover ul,
|
||||
#desktopNavbar li li:hover ul,
|
||||
#desktopNavbar li li li:hover ul { /* lists nested under hovered list items */
|
||||
#desktopNavbar li li li:hover ul {
|
||||
left: auto;
|
||||
}
|
||||
|
||||
#desktopNavbar li:hover { /* For IE7 */
|
||||
/* For IE7 */
|
||||
#desktopNavbar li:hover {
|
||||
position: static;
|
||||
}
|
||||
|
||||
|
@ -246,8 +251,6 @@ li.divider {
|
|||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Panel Layout
|
||||
---------------------------------------------------------------- */
|
||||
|
||||
|
@ -349,7 +352,8 @@ li.divider {
|
|||
line-height: 1px;
|
||||
font-size: 1px;
|
||||
overflow: hidden;
|
||||
background: url(../images/handle-icon-horizontal.gif) center center no-repeat;
|
||||
background: url(../images/handle-icon-horizontal.gif) center center
|
||||
no-repeat;
|
||||
}
|
||||
|
||||
.columnHandle {
|
||||
|
@ -377,7 +381,8 @@ li.divider {
|
|||
.panel-header-toolbox {
|
||||
}
|
||||
|
||||
div.toolbox.divider { /* Have to specify div here for IE6's sake */
|
||||
/* Have to specify div here for IE6's sake */
|
||||
div.toolbox.divider {
|
||||
background: url(../images/toolbox-divider.gif) repeat-y;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,8 @@ Required by:
|
|||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.mocha.isFocused {}
|
||||
.mocha.isFocused {
|
||||
}
|
||||
|
||||
.mochaOverlay {
|
||||
position: absolute; /* This is also set in theme.js in order to make theme transitions smoother */
|
||||
|
@ -86,7 +87,8 @@ div.mochaToolbarWrapper.bottom {
|
|||
border-bottom: 1px solid #dadada;
|
||||
}
|
||||
|
||||
.mochaContentWrapper { /* Has a fixed height and scrollbars if required. */
|
||||
/* Has a fixed height and scrollbars if required. */
|
||||
.mochaContentWrapper {
|
||||
font-size: 12px;
|
||||
overflow: auto;
|
||||
background: #fff;
|
||||
|
@ -104,19 +106,21 @@ div.mochaToolbarWrapper.bottom {
|
|||
z-index: 2;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE8 */
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); /* IE6 and 7*/
|
||||
opacity: .0;
|
||||
-moz-opacity: .0;
|
||||
opacity: 0;
|
||||
-moz-opacity: 0;
|
||||
overflow: hidden;
|
||||
font-size: 1px; /* For IE6 */
|
||||
}
|
||||
|
||||
.mocha .corner { /* Corner resize handles */
|
||||
/* Corner resize handles */
|
||||
.mocha .corner {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background: #f00;
|
||||
}
|
||||
|
||||
.mocha .cornerSE { /* Bottom right resize handle */
|
||||
/* Bottom right resize handle */
|
||||
.mocha .cornerSE {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: #fefefe; /* This is the color of the visible resize handle */
|
||||
|
@ -158,7 +162,9 @@ div.mochaToolbarWrapper.bottom {
|
|||
2. Replcac the background-color with a background-image for each button.
|
||||
|
||||
*/
|
||||
.mochaMinimizeButton, .mochaMaximizeButton, .mochaCloseButton {
|
||||
.mochaMinimizeButton,
|
||||
.mochaMaximizeButton,
|
||||
.mochaCloseButton {
|
||||
float: right;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
|
@ -254,8 +260,11 @@ div.mochaToolbarWrapper.bottom {
|
|||
|
||||
/* The replaced class is used internally when converting CSS values to Canvas. These classes should not be removed. */
|
||||
|
||||
.mocha.replaced, .mochaTitlebar.replaced, .mochaMinimizeButton.replaced,
|
||||
.mochaMaximizeButton.replaced, .mochaCloseButton.replaced {
|
||||
.mocha.replaced,
|
||||
.mochaTitlebar.replaced,
|
||||
.mochaMinimizeButton.replaced,
|
||||
.mochaMaximizeButton.replaced,
|
||||
.mochaCloseButton.replaced {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
|
@ -269,8 +278,10 @@ div.mochaToolbarWrapper.bottom {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.windowClosed .mochaContentBorder, .windowClosed .mochaToolbarWrapper,
|
||||
.windowClosed .mochaTitlebar, .windowClosed .mochaControls,
|
||||
.windowClosed .mochaContentBorder,
|
||||
.windowClosed .mochaToolbarWrapper,
|
||||
.windowClosed .mochaTitlebar,
|
||||
.windowClosed .mochaControls,
|
||||
.windowClosed .mochaCanvasControls {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -317,7 +328,7 @@ div.mochaToolbarWrapper.bottom {
|
|||
.mocha.notification .mochaTitlebar {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE8 */
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); /* IE6 and 7*/
|
||||
opacity: .0;
|
||||
opacity: 0;
|
||||
-moz-opacity: 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
/*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 {
|
||||
a img,
|
||||
:link img,
|
||||
:visited img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
@ -33,7 +35,9 @@ body {
|
|||
|
||||
/* Typography */
|
||||
|
||||
h2, h3, h4 {
|
||||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
margin: 0;
|
||||
padding: 0 0 5px 0;
|
||||
font-size: 12px;
|
||||
|
@ -100,7 +104,7 @@ pre {
|
|||
background-color: #f6f6f6;
|
||||
color: #006600;
|
||||
display: block;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 11px;
|
||||
max-height: 250px;
|
||||
overflow: auto;
|
||||
|
@ -148,12 +152,12 @@ hr {
|
|||
}
|
||||
|
||||
.selectedFilter {
|
||||
background-color: #415A8D;
|
||||
color: #FFFFFF;
|
||||
background-color: #415a8d;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.selectedFilter a {
|
||||
color: #FFFFFF;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#properties {
|
||||
|
@ -236,7 +240,8 @@ a.propButton img {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.contextMenu li a.arrow-right, .contextMenu li a:hover.arrow-right {
|
||||
.contextMenu li a.arrow-right,
|
||||
.contextMenu li a:hover.arrow-right {
|
||||
background-image: url(../images/arrow-right.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
|
@ -247,7 +252,8 @@ a.propButton img {
|
|||
.contextMenu li li.ieHover ul,
|
||||
.contextMenu li li li.ieHover ul,
|
||||
.contextMenu li li:hover ul,
|
||||
.contextMenu li li li:hover ul { /* lists nested under hovered list items */
|
||||
.contextMenu li li li:hover ul {
|
||||
/* lists nested under hovered list items */
|
||||
left: auto;
|
||||
}
|
||||
|
||||
|
@ -258,7 +264,7 @@ a.propButton img {
|
|||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
.contextMenu li input[type=checkbox] {
|
||||
.contextMenu li input[type="checkbox"] {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
@ -384,7 +390,7 @@ label.tristate {
|
|||
display: block;
|
||||
float: left;
|
||||
height: 13px;
|
||||
margin: .15em 8px 5px 0px;
|
||||
margin: 0.15em 8px 5px 0px;
|
||||
overflow: hidden;
|
||||
text-indent: -999em;
|
||||
width: 13px;
|
||||
|
@ -514,7 +520,8 @@ td.generalLabel {
|
|||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
#watched_folders_tab td, #watched_folders_tab th {
|
||||
#watched_folders_tab td,
|
||||
#watched_folders_tab th {
|
||||
padding: 2px 4px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
@ -546,7 +553,8 @@ td.generalLabel {
|
|||
border: none;
|
||||
}
|
||||
|
||||
.select-watched-folder-editable select:focus, .select-editable input:focus {
|
||||
.select-watched-folder-editable select:focus,
|
||||
.select-editable input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
@ -569,7 +577,7 @@ td.generalLabel {
|
|||
|
||||
td.statusBarSeparator {
|
||||
width: 22px;
|
||||
background-image: url('../images/toolbox-divider.gif');
|
||||
background-image: url("../images/toolbox-divider.gif");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center 1px;
|
||||
background-size: 2px 18px;
|
||||
|
@ -582,7 +590,9 @@ td.statusBarSeparator {
|
|||
|
||||
/* Search tab */
|
||||
|
||||
#SearchPanel, #SearchPanel_wrapper, #SearchPanel_pad {
|
||||
#SearchPanel,
|
||||
#SearchPanel_wrapper,
|
||||
#SearchPanel_pad {
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue