diff options
author | Joris Guyonvarch | 2015-03-21 13:16:28 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-21 13:20:21 +0100 |
commit | e6ea754a677dc3e17646e6f2bbeb6623cc44e628 (patch) | |
tree | 7f5a9bff6631398d16b5da663f8a227edc83b5bf | |
parent | a01687a3f0479734882eabed82bd100fc811b698 (diff) |
Simplifying header bar style
-rw-r--r-- | design/design.css | 38 | ||||
-rw-r--r-- | src/View/View.elm | 2 |
2 files changed, 19 insertions, 21 deletions
diff --git a/design/design.css b/design/design.css index 187b9a6..820bf29 100644 --- a/design/design.css +++ b/design/design.css @@ -1,35 +1,33 @@ -.title { +.headerBar { + background-color: #111111; + margin-bottom: 30px; + font-size: 70px; + box-shadow: 0px 2px 2px grey; +} + +.headerBar > button { background-color: #111111; color: white; - margin-bottom: 20px; height: 150px; line-height: 150px; font-size: 70px; -} - -.title > button.title { - letter-spacing: 10px; border: none; - padding-left: 50px; - padding-right: 50px; font-family: "DejaVu Serif"; - transition: all 0.4s ease; + transition: color 0.4s ease; +} + +.headerBar > button.title { + letter-spacing: 12px; + padding: 0 50px; } -.title > button.addTimer { +.headerBar > button.addTimer { float: right; - color: white; - border: 5px solid white; - background-color: #111111; - border-radius: 10px; - font-size: 50px; - margin-top: 35px; - margin-right: 50px; - transition: all 0.4s ease; + padding: 0 50px; } -.title > button.addTimer:hover, -.title > button.title:hover { +.headerBar > button:hover, +.headerBar > button:hover { color: #CCCC88; border-color: #CCCC88; } diff --git a/src/View/View.elm b/src/View/View.elm index e86ea52..0500610 100644 --- a/src/View/View.elm +++ b/src/View/View.elm @@ -33,7 +33,7 @@ view model = title : Html title = div - [ class "title" ] + [ class "headerBar" ] [ button [ onClick (Signal.send updates Initialize) , class "title" |