From 145a971911a53dda03b4f1cae6116ae0d0a21c9c Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Tue, 3 Sep 2013 17:49:02 +0200 Subject: [PATCH] built hamburger button --- src/ui/css/style.scss | 37 +++++++++++++++++++++++++++++-------- src/ui/index.html | 35 ++++++++++++++++++++++++++++------- 2 files changed, 57 insertions(+), 15 deletions(-) diff --git a/src/ui/css/style.scss b/src/ui/css/style.scss index c98dcbf..b02441c 100644 --- a/src/ui/css/style.scss +++ b/src/ui/css/style.scss @@ -3,6 +3,8 @@ $default-text-color: #333333; $blue-color: #00c6ff; $lightgrey-color: #f9f9f9; +$blue-box-shadow-color: #A4A4A4; +$lightgrey-box-shadow-color: #D8D8D8; /* global */ @@ -18,13 +20,32 @@ body { color: $default-text-color; } -/* Inbox */ +/* folder name */ -.hamburger { - background-image:url('../img/Inbox.png'); - background-repeat: no-repeat; - width: 55px; - height: 40px; +.folder-name { + position: absolute; + padding: 13px 15px; + + p { + font-size: 1.5em; + } +} + +.hamburger-btn { + float: left; + background-color: $lightgrey-color; + height: 1em; + width: 1.3em; + margin-right: 10px; + + .blue-box { + float: inherit; + background-color: $blue-color; + height: 5px; + width: 100%; + box-shadow: 1px 1px 1px $lightgrey-box-shadow-color; + margin-bottom: 0.16em; + } } /* message list */ @@ -54,7 +75,7 @@ body { height: 0.9em; border-radius: 50%; background: $blue-color; - box-shadow: inset 0.5px 1px 1px #A4A4A4; + box-shadow: inset 0.5px 1px 1px $blue-box-shadow-color; } li { @@ -98,7 +119,7 @@ body { .unread { background: $lightgrey-color; - box-shadow: inset 1px 1px 1px #D8D8D8; + box-shadow: inset 1px 1px 1px $lightgrey-box-shadow-color; } } } diff --git a/src/ui/index.html b/src/ui/index.html index 6f51eb5..9c3db19 100755 --- a/src/ui/index.html +++ b/src/ui/index.html @@ -9,7 +9,17 @@ -
+
+

+ + + + + + Inbox +

+
+
  • @@ -18,19 +28,30 @@

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.

  • -

    welcome@whiteout.io

    +
    +

    Max Mustermann

    Welcome Nico

    -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy

    +

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.

  • -

    welcome@whiteout.io

    +

    Max Mustermann

    Welcome Nico

    -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy

    +

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.

  • -

    welcome@whiteout.io

    +

    Max Mustermann

    Welcome Nico

    -

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy

    +

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.

    +
  • +
  • +

    Max Mustermann

    +

    Welcome Nico

    +

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.

    +
  • +
  • +

    Max Mustermann

    +

    Welcome Nico

    +

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.