-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed link's underline from settings UI
fix brave/brave-browser#26091 Below upstream's change enabled underline. https://chromium-review.googlesource.com/c/chromium/src/+/3855278 WebUI: Decorate links with underline This is part 1 of decorating all links and all buttons that look like links with the underline to help users better differentiate between normal text and actionable links. This CL updates links on Settings, Extensions, Management, Downloads, and Welcome, as well as updating a couple of global WebUI styles.
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
patches/chrome-browser-resources-settings-settings_shared.css.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/chrome/browser/resources/settings/settings_shared.css b/chrome/browser/resources/settings/settings_shared.css | ||
index b28284ade36d1ad8a695e6532b74edc406dcc067..e82a56cecd818b5636f0b59373353a2fda19b3f3 100644 | ||
--- a/chrome/browser/resources/settings/settings_shared.css | ||
+++ b/chrome/browser/resources/settings/settings_shared.css | ||
@@ -9,7 +9,8 @@ | ||
* #import=//resources/cr_elements/search_highlight_style.css.js | ||
* #import=./settings_vars.css.js | ||
<if expr='not chromeos_ash'> | ||
- * #include=cr-shared-style search-highlight-style | ||
+ * #import=//resources/page_specific/settings/br_settings_shared.css.js | ||
+ * #include=cr-shared-style search-highlight-style br-settings-shared | ||
</if> | ||
<if expr='chromeos_ash'> | ||
* #import=//resources/cr_elements/chromeos/cros_color_overrides.m.js |
12 changes: 12 additions & 0 deletions
12
ui/webui/resources/page_specific/settings/br_settings_shared.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* Copyright (c) 2022 The Brave Authors. All rights reserved. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* you can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
/* #css_wrapper_metadata_start | ||
* #type=style | ||
* #css_wrapper_metadata_end */ | ||
|
||
a[href] { | ||
text-decoration: none !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters