Index: trunk/mockups/athena/athena.css |
— | — | @@ -1,2 +1,86 @@ |
2 | 2 | /* stub */ |
| 3 | +.bar { |
| 4 | + position: fixed; |
| 5 | + left: 0; |
| 6 | + right: 0; |
| 7 | + height: 48px; |
| 8 | + |
| 9 | + color: white; |
| 10 | + background: black; |
| 11 | +} |
3 | 12 | |
| 13 | +#top-bar { |
| 14 | + top: 0; |
| 15 | +} |
| 16 | + |
| 17 | +#bottom-bar { |
| 18 | + bottom: 0; |
| 19 | +} |
| 20 | + |
| 21 | +.bar .detail { |
| 22 | + background-color: gray; |
| 23 | +} |
| 24 | + |
| 25 | +.bar button { |
| 26 | + width: 48px; |
| 27 | + height: 48px; |
| 28 | + padding: 0; |
| 29 | + padding-top: 24px; |
| 30 | + background-repeat: no-repeat; |
| 31 | + background-position: center 0px; |
| 32 | + background-color: transparent; |
| 33 | + /* background-image added per class */ |
| 34 | + border: none; |
| 35 | + color: white; |
| 36 | + font-size: 11px; |
| 37 | +} |
| 38 | + |
| 39 | +.bar button:active { |
| 40 | + background-color: blue; |
| 41 | +} |
| 42 | + |
| 43 | +.stretch { |
| 44 | + max-width: 99999px; |
| 45 | +} |
| 46 | + |
| 47 | +input { |
| 48 | +} |
| 49 | + |
| 50 | +#search-box input { |
| 51 | + border: none; |
| 52 | + border-radius: 3px; |
| 53 | + -moz-border-radius: 3px; |
| 54 | + -webkit-border-radius: 3px; |
| 55 | + font-size: 16px; |
| 56 | + vertical-align: top; |
| 57 | + margin-top: 10px; |
| 58 | + padding: 4px; |
| 59 | + padding-right: 16px; |
| 60 | + |
| 61 | + background-image: url(images/icons/athena_icon_000000_search.png); |
| 62 | + background-position: center right; |
| 63 | + background-repeat: no-repeat; |
| 64 | +} |
| 65 | + |
| 66 | +.button-main { |
| 67 | + background-image: url(images/icons/athena_icon_efefef_w.png); |
| 68 | +} |
| 69 | +.button-you { |
| 70 | + background-image: url(images/icons/athena_icon_efefef_user.png); |
| 71 | +} |
| 72 | +.button-article { |
| 73 | + background-image: url(images/icons/athena_icon_efefef_puzzle.png); |
| 74 | +} |
| 75 | +.button-history { |
| 76 | + background-image: url(images/icons/athena_icon_efefef_history.png); |
| 77 | +} |
| 78 | +.button-more { |
| 79 | + background-image: url(images/icons/athena_icon_efefef_more.png); |
| 80 | +} |
| 81 | +.button-discuss { |
| 82 | + background-image: url(images/icons/athena_icon_efefef_discussion.png); |
| 83 | +} |
| 84 | +.button-language { |
| 85 | + background-image: url(images/icons/athena_icon_efefef_globe.png); |
| 86 | +} |
| 87 | + |
Index: trunk/mockups/athena/index.html |
— | — | @@ -11,7 +11,27 @@ |
12 | 12 | </head> |
13 | 13 | |
14 | 14 | <body> |
15 | | -Todo: stub mockup UI for Athena skin |
| 15 | + |
| 16 | +<div id="top-bar" class="bar"> |
| 17 | + <button class="button-main">Main</button> |
| 18 | + <span id="search-box" class="stretch"> |
| 19 | + <input id="search" placeholder="Search Wikipedia"> |
| 20 | + </span> |
| 21 | + <button class="button-you">You</button> |
| 22 | +</div> |
| 23 | + |
| 24 | +<div id="page-content"></div> |
| 25 | + |
| 26 | +<div id="bottom-bar" class="bar"> |
| 27 | + <button class="button-article">Article</button> |
| 28 | + <span class="detail stretch"> |
| 29 | + <button class="button-history">History</button> |
| 30 | + <button class="button-more">More</button> |
| 31 | + </span> |
| 32 | + <button class="button-discuss">Discuss</button> |
| 33 | + <button class="button-language">Language</button> |
| 34 | +</div> |
| 35 | + |
16 | 36 | </body> |
17 | 37 | |
18 | 38 | </html> |