Browse Source

fix lint check

adaptive-webui-private-19844
d47081 1 year ago
parent
commit
cf47f5bf96
  1. 3
      src/webui/www/private/css/Tabs.css
  2. 6
      src/webui/www/private/css/Window.css
  3. 2
      src/webui/www/private/css/dynamicTable.css
  4. 34
      src/webui/www/private/css/palette.css
  5. 10
      src/webui/www/private/css/style.css

3
src/webui/www/private/css/Tabs.css

@ -36,8 +36,8 @@ Required by:
.tab-menu li a { .tab-menu li a {
background-color: var(--color-background-default); background-color: var(--color-background-default);
color: var(--color-text-default);
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
color: var(--color-text-default);
display: block; display: block;
font-weight: normal; font-weight: normal;
margin-left: 8px; margin-left: 8px;
@ -48,6 +48,5 @@ Required by:
.tab-menu li.selected a { .tab-menu li.selected a {
background-color: var(--color-background-blue); background-color: var(--color-background-blue);
color: var(--color-text-white); color: var(--color-text-white);
font-weight: bold; font-weight: bold;
} }

6
src/webui/www/private/css/Window.css

@ -27,8 +27,8 @@ Required by:
.mochaOverlay { .mochaOverlay {
left: 0; left: 0;
position: absolute; /* This is also set in theme.js in order to make theme transitions smoother */ position: absolute; /* This is also set in theme.js in order to make theme transitions smoother */
top: 0;
background-color: var(--color-background-default); background-color: var(--color-background-default);
top: 0;
border-radius: 5px; border-radius: 5px;
height: auto!important; /* #19844 also fixes out of block issue */ height: auto!important; /* #19844 also fixes out of block issue */
} }
@ -45,8 +45,8 @@ Required by:
*/ */
.mochaTitlebar { .mochaTitlebar {
border-radius: 5px;
background-color: var(--color-background-default); background-color: var(--color-background-default);
border-radius: 5px;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
} }
@ -74,8 +74,8 @@ div.mochaToolbarWrapper.bottom {
.mochaToolbar { .mochaToolbar {
border-top: 1px solid var(--color-border-default); border-top: 1px solid var(--color-border-default);
padding-top: 4px;
height: auto !important; height: auto !important;
padding-top: 4px;
width: 100%; /* For IE */ width: 100%; /* For IE */
} }

2
src/webui/www/private/css/dynamicTable.css

@ -53,8 +53,8 @@ tr.dynamicTableHeader {
} }
.dynamicTable td { .dynamicTable td {
padding: 0 4px;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
padding: 0 4px;
white-space: nowrap; white-space: nowrap;
} }

34
src/webui/www/private/css/palette.css

@ -2,19 +2,17 @@
/* Default rules */ /* Default rules */
* { * {
--color-text-blue: hsl(210, 100%, 55%); --color-text-blue: hsl(210deg, 100%, 55%);
--color-text-orange: hsl(26, 100%, 45%); --color-text-orange: hsl(26deg, 100%, 45%);
--color-text-red: hsl(0, 100%, 65%); --color-text-red: hsl(0deg, 100%, 65%);
--color-text-green: hsl(110, 94%, 27%); --color-text-green: hsl(110deg, 94%, 27%);
--color-text-white: hsl(0, 0%, 100%); --color-text-white: hsl(0deg, 0%, 100%);
--color-text-disabled: hsl(0, 0%, 60%); --color-text-disabled: hsl(0deg, 0%, 60%);
--color-text-default: hsl(0, 0%, 33%); --color-text-default: hsl(0deg, 0%, 33%);
--color-background-blue: hsl(210deg, 42%, 48%);
--color-background-blue: hsl(210, 42%, 48%); --color-background-popup: hsl(0deg, 0%, 100%);
--color-background-popup: hsl(0, 0%, 100%); --color-background-default: hsl(0deg, 0%, 94%);
--color-background-default: hsl(0, 0%, 94%); --color-border-default: hsl(0deg, 0%, 85%);
--color-border-default: hsl(0, 0%, 85%);
} }
:root { :root {
@ -37,11 +35,9 @@
} }
* { * {
--color-text-default: hsl(0, 0%, 90%); --color-text-default: hsl(0deg, 0%, 90%);
--color-background-popup: hsl(0deg, 0%, 20%);
--color-background-popup: hsl(0, 0%, 20%); --color-background-default: hsl(0deg, 0%, 30%);
--color-background-default: hsl(0, 0%, 30%); --color-border-default: hsl(0deg, 0%, 33%);
--color-border-default: hsl(0, 0%, 33%);
} }
} }

10
src/webui/www/private/css/style.css

@ -124,8 +124,8 @@ pre {
hr { hr {
background-color: var(--color-background-default); background-color: var(--color-background-default);
color: var(--color-text-default);
border: 0px; border: 0px;
color: var(--color-text-default);
height: 1px; height: 1px;
} }
@ -265,8 +265,8 @@ a.propButton img {
.contextMenu li img { .contextMenu li img {
height: 16px; height: 16px;
margin-bottom: -4px; margin-bottom: -4px;
width: 16px;
margin-right: 0.5em; /*#19844 return missed padding */ margin-right: 0.5em; /*#19844 return missed padding */
width: 16px;
} }
.contextMenu li input[type="checkbox"] { .contextMenu li input[type="checkbox"] {
@ -369,12 +369,12 @@ a.propButton img {
background-image: url("../images/edit-find.svg"); background-image: url("../images/edit-find.svg");
background-position: left; background-position: left;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 1.5em;
background-color: var(--color-background-default); background-color: var(--color-background-default);
background-size: 1.5em;
border: 1px solid var(--color-border-default); border: 1px solid var(--color-border-default);
border-radius: 3px; border-radius: 3px;
padding: 4px 4px 4px 25px;
min-width: 160px; min-width: 160px;
padding: 4px 4px 4px 25px;
} }
#torrentFilesFilterToolbar { #torrentFilesFilterToolbar {
@ -466,8 +466,8 @@ ul.filterList {
ul.filterList a { ul.filterList a {
color: var(--color-text-default); color: var(--color-text-default);
padding: 4px 6px;
display: block; display: block;
padding: 4px 6px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;

Loading…
Cancel
Save