diff options
author | Chris <chris@chrismatic.io> | 2015-02-11 11:50:44 -0700 |
---|---|---|
committer | Chris <chris@chrismatic.io> | 2015-02-11 11:56:48 -0700 |
commit | fd1390713a66b446c99028b37cec2cb7d6f51b2d (patch) | |
tree | cc642ff275e0bdb30fade889359f93e8eca918d9 /src/dyna-rules.html | |
parent | ae884ca7b894df651de2667766011b58d47e4fbe (diff) | |
download | uBlock-fd1390713a66b446c99028b37cec2cb7d6f51b2d.zip uBlock-fd1390713a66b446c99028b37cec2cb7d6f51b2d.tar.gz uBlock-fd1390713a66b446c99028b37cec2cb7d6f51b2d.tar.bz2 |
CSS cleanup: dynamic rules tab (My rules)
For comparison, before: http://chrisly.me/image/1g01441z0F2c
and after: http://chrisly.me/image/1v160U0P2i07
Also:
* give good class names to some element in dyna-rules.html
* select the ul more generically in dyna-rules.js (since a container was added)
Diffstat (limited to 'src/dyna-rules.html')
-rw-r--r-- | src/dyna-rules.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/dyna-rules.html b/src/dyna-rules.html index 409c9fb..435dd1d 100644 --- a/src/dyna-rules.html +++ b/src/dyna-rules.html @@ -14,22 +14,25 @@ <p data-i18n="rulesFormatHint"></p> <div id="diff"> <div class="pane left"> - <div> + <div class="ruleActions"> <h2 data-i18n="rulesPermanentHeader"></h2> <button type="button" id="exportButton" data-i18n="rulesExport"></button> <button type="button" id="revertButton" data-i18n="rulesRevert"></button> - </div> + </div> + <div class="rulesContainer"> <ul></ul> </div> + </div> <div class="pane right"> - <div> + <div class="ruleActions"> <h2 data-i18n="rulesTemporaryHeader"></h2> <button type="button" id="commitButton" data-i18n="rulesCommit"></button> <button type="button" id="editEnterButton" data-i18n="rulesEdit"></button> <button type="button" id="editStopButton" data-i18n="rulesEditSave"></button> <button type="button" id="editCancelButton" data-i18n="rulesEditDiscard"></button> <button type="button" id="importButton" data-i18n="rulesImport"></button> - </div> + </div> + <div class="rulesContainer"> <textarea spellcheck="false"></textarea> <ul></ul> </div> |