This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 972
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor about:adblock with Aphrodite
Closes #7320 - Remove itemList.less as it has not been used - Remove className - adblockCount - blockedCountTotal - adblockLastChecked - adblockLastETag - Edit the test code TODO: refactor SwitchControl to remove .switchControlRightText in adblock.less Auditors: Test Plan: 1. Open about:adblock 2. Make sure the page is properly rendered and not broken
- Loading branch information
Suguru Hirahara
committed
Feb 25, 2017
1 parent
db6cf28
commit 9ad4b84
Showing
3 changed files
with
42 additions
and
46 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,38 +1,8 @@ | ||
@import "./itemList.less"; | ||
|
||
.adblockDetailsPage { | ||
margin: 20px; | ||
min-width: 704px; | ||
|
||
h2 { | ||
margin-bottom: 10px; | ||
} | ||
|
||
h3 { | ||
margin-top: 20px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
list .listItem { | ||
display: flex; | ||
-webkit-user-select: text; | ||
} | ||
|
||
.adblockDetailsPageContent { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.adblockLists { | ||
margin-top: 10px; | ||
} | ||
@import "./common.less"; | ||
|
||
// TODO: refactor SwitchControl to remove this | ||
div[class^="adblockDetailsPage"] { | ||
.switchControlRightText { | ||
margin-left: 15px; | ||
} | ||
|
||
.adblockSubtext { | ||
font-size: smaller; | ||
font-weight: bold; | ||
margin-bottom: 10px; | ||
} | ||
} |
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