diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-06 13:49:14 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-06 13:49:14 (GMT) |
commit | 821413607a0718156f9d25d895e89b1c3d37aa8b (patch) | |
tree | 01c285af734ed5bba64b73b489e1e0226a94a262 /apps/system/style/themes/default/menus.css | |
parent | c110fb485b3af0066c6df7aeac8c055e9d767efa (diff) |
Copy various bits from gaia
Diffstat (limited to 'apps/system/style/themes/default/menus.css')
-rw-r--r-- | apps/system/style/themes/default/menus.css | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/apps/system/style/themes/default/menus.css b/apps/system/style/themes/default/menus.css new file mode 100644 index 0000000..5b36c71 --- /dev/null +++ b/apps/system/style/themes/default/menus.css @@ -0,0 +1,70 @@ +/* ---------------------------------- + * ACTION / OBJECT MENU + * Requires: + menu-dialoges/core.css + * ---------------------------------- */ + +[role="dialog"] menu.actions { + margin: 0; + padding: 0; + border: none; + background: none; + display: block; + overflow: hidden; + position: absolute; + left: 0; + right: 0; + bottom: 0; +} + +[role="dialog"] menu.actions h3 { + display: block; + margin: 0 1.5rem; +} + +[role="dialog"] menu.actions > ul { + list-style: none; + padding: 0; + margin: 0.5rem 0 0 0; + display: block; + overflow: hidden; +} + +[role="dialog"] menu.actions > ul > li { + padding: 1rem 1.5rem 0 1.5rem; + margin: 0; + display: block; + overflow: hidden; + border: none; + height: auto; + line-height: normal; +} + +[role="dialog"] menu.actions > ul > li:last-child { + border-top: solid 1px rgba(255, 255, 255, 0.1); + background: #2d2d2d url(images/ui/pattern.png) repeat left top; + margin-top: 1.5rem; +} + +[role="dialog"] menu.actions > ul > li:not(:last-child) > button, +[role="dialog"] menu.actions > ul > li:not(:last-child) > a[role="button"] { + font-size: 1.4rem; + color: #fff; + text-shadow: none; + text-align: left; + padding: 0 1rem; + background: #4E4E4E padding-box; + border: solid 1px rgba(0, 0, 0, 0.25); +} + +[role="dialog"] menu.actions > ul > li:not(:last-child) > button:active, +[role="dialog"] menu.actions > ul > li:not(:last-child) > a[role="button"]:active { + background-color: #006f86; + color: #333; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); +} + +[role="dialog"] menu.actions > ul > li:last-child > button, +[role="dialog"] menu.actions > ul > li:last-child > a[role="button"] { + margin: 0.5rem 0 1rem 0; +} |