diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-10-01 17:46:40 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-10-01 17:46:40 +0200 |
commit | 7e6845e954da409b07d9e8ccb8c1e1ea6df6cfde (patch) | |
tree | cb6fedeb4c7b9b477c83a228aee6b4df14e54292 /skins | |
parent | 0497ad51f61619b615a76d458c42f46eab28f499 (diff) | |
download | bugzilla-7e6845e954da409b07d9e8ccb8c1e1ea6df6cfde.tar.gz bugzilla-7e6845e954da409b07d9e8ccb8c1e1ea6df6cfde.tar.xz |
Bug 1418378 - Use Material Icons on Bugzilla home page instead of low-res images
Diffstat (limited to 'skins')
-rw-r--r-- | skins/standard/global.css | 2 | ||||
-rw-r--r-- | skins/standard/index.css | 144 | ||||
-rw-r--r-- | skins/standard/index/file-a-bug.png | bin | 3534 -> 0 bytes | |||
-rw-r--r-- | skins/standard/index/help.png | bin | 4111 -> 0 bytes | |||
-rw-r--r-- | skins/standard/index/new-account.png | bin | 4082 -> 0 bytes | |||
-rw-r--r-- | skins/standard/index/search.png | bin | 4828 -> 0 bytes |
6 files changed, 72 insertions, 74 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css index 81a420077..adea088a0 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -243,7 +243,7 @@ } #header .link-file .icon::before { - content: '\E254'; + content: '\E89C'; } #header .link-dashboard .icon::before { diff --git a/skins/standard/index.css b/skins/standard/index.css index 9fe9202db..62b7deb3f 100644 --- a/skins/standard/index.css +++ b/skins/standard/index.css @@ -50,34 +50,6 @@ font-weight: bold; } - .bz_common_actions { - text-align: center; - } - .bz_common_actions ul { - list-style-type: none; - padding: 0; - } - .bz_common_actions ul li { - display: inline; - vertical-align: top; - } - .bz_common_actions ul li a { - display: inline-block; - height: 170px; - width: 145px; - margin: 0 2ex 2em 0; - } - .bz_common_actions ul li a span { - position: relative; - top: 90%; - font-weight: bold; - } - .bz_common_actions a, - .bz_common_actions a:visited, - .bz_common_actions a:hover { - text-decoration: none; - } - #quicksearchForm { clear: both; @@ -110,6 +82,76 @@ padding: 0; } + #tiles { + display: flex; + margin: 32px 0; + padding: 0; + list-style-type: none; + } + + #tiles li { + flex: none; + margin: 0; + padding: 0; + } + + #tiles a { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + border-radius: 8px; + width: 160px; + height: 160px; + } + + #tiles a:hover, + #tiles a:focus, + #tiles a:active { + background-color: rgba(0, 0, 0, .05); + text-decoration: none; + } + + #tiles span { + display: block; + } + + #tiles .icon { + width: 120px; + height: 120px; + font-size: 120px; + line-height: 120px; + font-family: "Material Icons"; + color: #777; + } + + #tile-docs .icon::before { + content: "\E887"; + } + + #tile-search .icon::before { + content: "\E8A0"; + } + + #tile-new-bug .icon::before { + content: "\E89C"; + } + + #tile-prefs .icon::before { + content: "\E8B8"; + } + + #tile-new-account .icon::before, + #tile-login .icon::before { + content: "\E853"; + } + + #tiles .label { + margin-top: 4px; + font-size: 14px; + color: #555; + } + ul.additional_links { list-style: none; @@ -135,49 +177,5 @@ { color: #ccc; } -/* index page (end) */ - - - #enter_bug - { - background: url(../../images/bugzilla-papericon.png) no-repeat; - } - #query - { - background: url(../../images/bugzilla-magnifier.png) no-repeat; - } - #account - { - background: url(../../images/bugzilla-person-alternate.png) no-repeat; - margin-right: 0; - } - #docs - { - background: url(../../images/bugzilla-questionmark2.png) no-repeat !important; - } - - #page-index .intro { display: inline; } - #docs { background: url(../standard/index/help.png) no-repeat; } - - .bz_common_actions - { - display: block; - height: 170px; - width: 145px; - float: left; - margin: 0 2ex 2em 0; - text-align: center; - } - .bz_common_actions span - { - position: relative; - top: 95%; - font-weight: bold; - } - .bz_common_actions, - .bz_common_actions:visited, - .bz_common_actions:hover - { - text-decoration: none; - } +/* index page (end) */ diff --git a/skins/standard/index/file-a-bug.png b/skins/standard/index/file-a-bug.png Binary files differdeleted file mode 100644 index cf4c941b6..000000000 --- a/skins/standard/index/file-a-bug.png +++ /dev/null diff --git a/skins/standard/index/help.png b/skins/standard/index/help.png Binary files differdeleted file mode 100644 index 6f9035b64..000000000 --- a/skins/standard/index/help.png +++ /dev/null diff --git a/skins/standard/index/new-account.png b/skins/standard/index/new-account.png Binary files differdeleted file mode 100644 index 4ad9ff203..000000000 --- a/skins/standard/index/new-account.png +++ /dev/null diff --git a/skins/standard/index/search.png b/skins/standard/index/search.png Binary files differdeleted file mode 100644 index 8d33ebd1e..000000000 --- a/skins/standard/index/search.png +++ /dev/null |