forked from forgejo/forgejo
add stylelint-stylistic
(#25285)
Add [stylelint-stylistic](https://github.com/elirasza/stylelint-stylistic), autofix all issues with two manual tweaks. This restores all the stylistic rules removed in Stylelint 15.
This commit is contained in:
parent
69b1e2f103
commit
3ee8970419
13 changed files with 108 additions and 27 deletions
|
@ -95,7 +95,6 @@ a.btn:hover {
|
|||
background: var(--color-hover);
|
||||
}
|
||||
|
||||
|
||||
.ui.basic.buttons .button:active,
|
||||
.ui.basic.button:active,
|
||||
.ui.basic.buttons .active.button,
|
||||
|
|
8
web_src/css/modules/normalize.css
vendored
8
web_src/css/modules/normalize.css
vendored
|
@ -144,9 +144,9 @@ Correct the inability to style clickable types in iOS and Safari.
|
|||
*/
|
||||
|
||||
button,
|
||||
[type='button'],
|
||||
[type='reset'],
|
||||
[type='submit'] {
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,7 @@ Correct the cursor style of increment and decrement buttons in Safari.
|
|||
2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type='search'] {
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
top: 12px;
|
||||
right: 8px;
|
||||
pointer-events: none;
|
||||
content: '';
|
||||
content: "";
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
mask-size: cover;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue