forked from mirrors/gecko-dev
This patch makes us commit to the deemphasized color descriptive pattern throughout settings. I also made some changes where some settings were using description and should most likely be using a label instead and vice versa. Quick note that if the descriptive text is tied to an input such as a checkbox or toggle, as opposed to a section heading, we opt for the `.text-deemphasized` class/treatment where not only do we use the `--text-color-deemphasized` color but also shrink the font size. You'll see I opted for such treatment in the Experiments page checkbox list. Differential Revision: https://phabricator.services.mozilla.com/D197615
38 lines
1.5 KiB
HTML
38 lines
1.5 KiB
HTML
# 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/.
|
|
|
|
<!-- Experimental panel -->
|
|
|
|
<script src="chrome://browser/content/preferences/experimental.js"/>
|
|
<html:template id="template-paneExperimental">
|
|
<vbox id="firefoxExperimentalCategory"
|
|
class="subcategory"
|
|
hidden="true"
|
|
data-category="paneExperimental">
|
|
<html:h1 style="flex: 1;" data-l10n-id="pane-experimental-title"/>
|
|
<label><html:h2 id="pane-experimental-subtitle" data-l10n-id="pane-experimental-subtitle"/></label>
|
|
<html:p data-l10n-id="pane-experimental-description2" class="description-deemphasized"/>
|
|
<hbox pack="end">
|
|
<button id="experimentalCategory-reset"
|
|
class="accessory-button"
|
|
data-l10n-id="pane-experimental-reset"/>
|
|
</hbox>
|
|
</vbox>
|
|
|
|
<groupbox data-category="paneExperimental"
|
|
id="pane-experimental-featureGates"
|
|
hidden="true">
|
|
<label class="search-header" hidden="true">
|
|
<html:h2 id="pane-experimental-search-results-header" data-l10n-id="pane-experimental-search-results-header"/>
|
|
</label>
|
|
<html:p data-l10n-id="pane-experimental-description2" class="description-deemphasized"/>
|
|
</groupbox>
|
|
</html:template>
|
|
|
|
<html:template id="template-featureGate">
|
|
<html:div class="featureGate">
|
|
<checkbox class="featureGateCheckbox"/>
|
|
<description class="text-deemphasized featureGateDescription"/>
|
|
</html:div>
|
|
</html:template>
|