diff --git a/ui/.gitignore b/ui/.gitignore new file mode 100644 index 0000000..73dadf8 --- /dev/null +++ b/ui/.gitignore @@ -0,0 +1,2 @@ +.sass-cache +css/style.css diff --git a/ui/css/reset.css b/ui/css/reset.css new file mode 100644 index 0000000..af94440 --- /dev/null +++ b/ui/css/reset.css @@ -0,0 +1,48 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/ui/css/style.scss b/ui/css/style.scss new file mode 100644 index 0000000..5f30252 --- /dev/null +++ b/ui/css/style.scss @@ -0,0 +1,83 @@ +@font-face { + font-family: 'PT Sans'; + font-style: normal; + font-weight: 400; + src: local('PT Sans'), local('PTSans-Regular'), url(../pt-sans.ttf) format('truetype'); +} + +body { + font-family: 'PT Sans', sans-serif; +} + +/* Inbox */ + +.hamburger { + background-image:url('../img/Inbox.png'); + background-repeat: no-repeat; + width: 55px; + height: 40px; +} + +/* message list */ + +@mixin marked { + background-color: #00c6ff; + color: #ffffff; + .from { + color: #ffffff; + } +} + +@mixin unmarked { + color: #000000; + .from { + color: #00c6ff; + } +} + +.message-list { + background-color: #f9f9f9; + padding: 46px 15px; + width: 314px; + + ul { + list-style-type: none; + + .selected { + @include marked; + } + } + + li { + background-color: #ffffff; + font-size: 14px; + margin: 8px 0; + padding-top: 15px; + height: 105px; + + @include unmarked; + + &:hover { + background-color: #f9f9f9; + @include unmarked; + } + &:hover.selected { + @include marked; + } + + .from { + font-size: 24px; + } + .subject { + font-weight: bold; + } + .text-preview { + } + + p { + margin-left: 30px; + margin-right: 30px; + } + } +} + diff --git a/ui/index.html b/ui/index.html new file mode 100755 index 0000000..0a7de7f --- /dev/null +++ b/ui/index.html @@ -0,0 +1,42 @@ + + +
+ + +