Skip to content

Commit

Permalink
减少按钮按下的阴影扩散效果,这将改进在移动端上的显示效果
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedPartner committed Apr 18, 2023
1 parent a8107d9 commit 4d56662
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions htdocs/luci-static/argon/css/cascade.css
Expand Up @@ -889,7 +889,7 @@ footer a {
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
}
.cbi-button:active {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.19), 0 5px 5px rgba(0, 0, 0, 0.23);
}
.cbi-button:disabled {
cursor: not-allowed;
Expand Down Expand Up @@ -1481,7 +1481,7 @@ td > table > tbody > tr > td,
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
}
::file-selector-button:active {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.19), 0 5px 5px rgba(0, 0, 0, 0.23);
}
/* table */
.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
Expand Down
4 changes: 2 additions & 2 deletions htdocs/luci-static/argon/less/cascade.less
Expand Up @@ -1060,7 +1060,7 @@ footer {
}

.cbi-button:active {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.19), 0 5px 5px rgba(0, 0, 0, 0.23);
}

.cbi-button:disabled {
Expand Down Expand Up @@ -1768,7 +1768,7 @@ td>table>tbody>tr>td,
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
}
::file-selector-button:active {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.19), 0 5px 5px rgba(0, 0, 0, 0.23);
}

/* table */
Expand Down

0 comments on commit 4d56662

Please sign in to comment.