Skip to content

Commit

Permalink
fix(style): bg color issue when hovering over input count in other th…
Browse files Browse the repository at this point in the history
…emes
  • Loading branch information
Map1en committed Dec 17, 2024
1 parent 0570716 commit cdf5688
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
7 changes: 6 additions & 1 deletion html/src/theme.dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,15 @@ button {
.el-textarea .el-input__count,
.el-input .el-input__count .el-input__count-inner {
color: #fff;
background-color: #444;
background-color: #333;
border: #333;
}

// User dialog memo: input count background color
.x-friend-item:hover .el-input__count {
background: #3e3e3e;
}

.el-input-group__append,
.el-input-group__prepend {
color: #fff;
Expand Down
7 changes: 6 additions & 1 deletion html/src/theme.darkvanilla.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/MintLily/Dark-Vanilla
*/

:root {
:root {
--ThemeName: 'Dark Vanilla';
--ThemeVers: '2.0.2';
--ThemeAuth: 'MintLily';
Expand Down Expand Up @@ -682,3 +682,8 @@ i[class='el-icon-star-off']:not(.el-menu-item div.el-tooltip i) {
::-webkit-scrollbar-thumb {
background: var(--dv_bg-bot);
}

// User dialog memo: input count background color
.x-friend-item:hover .el-input__count {
background-color: transparent;
}
7 changes: 6 additions & 1 deletion html/src/theme.darkvanillaold.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,15 @@ a {
.el-textarea__inner,
.el-textarea .el-input__count,
.el-input .el-input__count .el-input__count-inner {
background: var(--top) !important;
background: transparent;
border: var(--top-border) !important;
}

// User dialog memo: input count background color
.x-friend-item:hover .el-input__count {
background: transparent;
}

.el-table th.is-leaf {
background: var(--top) !important;
/*border: 1px solid var(--top-border) !important;*/
Expand Down
9 changes: 9 additions & 0 deletions html/src/theme.material3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,15 @@ input[type='number'],
border-radius: 25px;
}

.x-friend-item .el-input__count {
background-color: transparent;
}

// User dialog memo: input count background color
.x-friend-item:hover .el-input__count {
background-color: transparent;
}

.x-friend-item .detail {
margin: 0 -2px;
}
Expand Down
5 changes: 5 additions & 0 deletions html/src/theme.pink.scss
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,8 @@ input[type='checkbox']:checked + .el-switch__core {
.el-loading-spinner .path {
stroke: var(--theme);
}

// User dialog memo: input count background color
.x-friend-item:hover .el-input__count {
background-color: var(--lighter-lighter-bg);
}

0 comments on commit cdf5688

Please sign in to comment.