menus mimic dialogs
I think it's better in general, and also eliminates the glitchiness of expandable menus in FF, not to mention possible scroll issues on long style lists with overflow, plus the fact that we could add many menu items in the future without the menu looking ridiculous.
This commit is contained in:
parent
514fa3204f
commit
853ed217f8
16
popup.html
16
popup.html
|
@ -1,4 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<!DOCTYPE html>
|
||||||
<html id="stylus">
|
<html id="stylus">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
@ -47,7 +48,9 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu">
|
<div class="menu" tabindex="-1">
|
||||||
|
<div class="menu-items-wrapper">
|
||||||
|
<b class="menu-title"></b>
|
||||||
<label class="menu-item exclude-by-domain button">
|
<label class="menu-item exclude-by-domain button">
|
||||||
<div class="menu-icon">
|
<div class="menu-icon">
|
||||||
<div class="checkbox-container">
|
<div class="checkbox-container">
|
||||||
|
@ -66,14 +69,11 @@
|
||||||
</div>
|
</div>
|
||||||
<span i18n-text="excludeStyleByUrlLabel"></span>
|
<span i18n-text="excludeStyleByUrlLabel"></span>
|
||||||
</label>
|
</label>
|
||||||
<a href="#" class="menu-item delete">
|
<div class="menu-buttons-wrapper">
|
||||||
<div class="menu-icon">
|
<button class="delete" i18n-text="deleteStyleLabel"></button>
|
||||||
<svg class="svg-icon remove" viewBox="0 0 14 16">
|
<button class="menu-close" i18n-text="confirmClose"></button>
|
||||||
<path fill-rule="evenodd" d="M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"/>
|
</div>
|
||||||
</svg>
|
|
||||||
</div>
|
</div>
|
||||||
<span i18n-text="deleteStyleLabel"></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user