Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance stylelint rule config, remove dead CSS #24472

Merged
merged 5 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stylelintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ rules:
property-no-vendor-prefix: null
rule-empty-line-before: null
rule-selector-property-disallowed-list: null
scale-unlimited/declaration-strict-value: [color, {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor)$/}]
scale-unlimited/declaration-strict-value: [[color, background-color, border-color], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false}]
selector-attribute-name-disallowed-list: null
selector-attribute-operator-allowed-list: null
selector-attribute-operator-disallowed-list: null
Expand Down
20 changes: 0 additions & 20 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1228,8 +1228,6 @@ img.ui.avatar,
}

.following.bar {
z-index: 900;
left: 0;
margin: 0 !important;
}

Expand All @@ -1242,24 +1240,6 @@ img.ui.avatar,
margin-top: 0;
}

.following.bar .top.menu a.item.brand {
padding-left: 0;
}

.following.bar .top.menu a.item:hover,
.following.bar .top.menu .dropdown.item:hover,
.following.bar .top.menu .dropdown.item.active {
background-color: transparent;
}

.following.bar .top.menu a.item:hover {
color: rgba(0, 0, 0, 0.45);
}

.following.bar .top.menu .menu {
z-index: 900;
}

.following.bar .fitted .svg {
margin-right: 0;
vertical-align: middle;
Expand Down
2 changes: 1 addition & 1 deletion web_src/css/repository.css
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@
}

.repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, 0.02) !important;
background-color: var(--color-light) !important;
}

.repository #commits-table td.sha .sha.label,
Expand Down