Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Commit

Permalink
WebExt settings UI: Backport of unnecessary CSS removal (darrinhenein#13
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Croydon committed Jan 28, 2017
1 parent 80b7a51 commit d158100
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions webextension/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,31 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
<!--<link rel="stylesheet" href="chrome://mozapps/content/preferences/preferences.css">
<link rel="stylesheet" href="chrome://browser/skin/preferences/preferences.css">
<link rel="stylesheet" href="chrome://browser/skin/preferences/in-content/preferences.css">
<link rel="stylesheet" href="chrome://browser/content/preferences/handlers.css">-->
<link rel="stylesheet" href="chrome://mozapps/content/extensions/extensions.css">
<link rel="stylesheet" href="chrome://mozapps/skin/extensions/extensions.css">
<link rel="stylesheet" href="chrome://global/skin/dropmarker.css">
<style>
.preferences-description {
font-size: 90.9%;
color: graytext;
margin-top: -3px;
white-space: pre-wrap;
}

table {
border-collapse: collapse;
}

tr td {
border-top: 1px solid #c1c1c1;
}

select, input {
margin-left: 2px;
}

button {
padding-right: 10px !important;
padding-left: 10px !important;
}

select {
padding: 0.1em 3.5em 0.1em 1em !important;
background-image: url("chrome://global/skin/arrow/arrow-dn.gif") !important;
Expand All @@ -49,7 +42,7 @@
background-repeat: no-repeat !important;
box-sizing: border-box !important;
}

select option {
font-size: 1em;
padding-top: 0.2em;
Expand All @@ -62,14 +55,14 @@

<body class="detail-view-container">
<form>

<table id="settings" style="width: 100%;">
<tr> <td style="width: 40%; max-width: 30%; border: none !important;"> </td> <td style="border: none !important;"> </td> </tr>
</table>

</form>

<script src="options.js"></script>

</body>
</html>

0 comments on commit d158100

Please sign in to comment.