diff --git a/Foundation.hs b/Foundation.hs index 6458f3d..9d1299e 100755 --- a/Foundation.hs +++ b/Foundation.hs @@ -117,7 +117,8 @@ renderLayout widget = do , js_picturefill_js ]) $(combineStylesheets 'StaticR - [ css_bootstrap_min_css + [ css_dropdown_css + , css_bootstrap_min_css , css_style_global_css ]) $(widgetFile "default-layout") diff --git a/static/css/dropdown.css b/static/css/dropdown.css new file mode 100644 index 0000000..88453f6 --- /dev/null +++ b/static/css/dropdown.css @@ -0,0 +1,50 @@ +#user-nav { + list-style: none; + font-weight: bold; + margin-bottom: 10px; + position: relative; +} + +#user-nav ul { + display: none; + position: absolute; +} + +#user-nav li { + margin-right: 20px; +} + +#user-nav li a { + padding: 10px 20px 10px; + border-radius: 5px; + background-color: white; +} + +#user-nav input[type="checkbox"]:checked + ul { + display: block; + background-color: white; + border-radius: 5px; + z-index: 99; +} + +#user-nav a { + display: block; + text-decoration: none; + color: #d64760; +} + +#user-nav a:hover { + color: black; + transition-timing-function: linear + transition-duration: 0.25s; +} + +#user-nav label { + margin: 0; +} + +.vanish { + /*position: absolute; + left: -9999px;*/ + display: none; +} diff --git a/static/css/style-desktop.css b/static/css/style-desktop.css index 2418e93..0d7ab71 100755 --- a/static/css/style-desktop.css +++ b/static/css/style-desktop.css @@ -101,7 +101,7 @@ #header { padding: 2em 3em; - xmin-height: 212px; + min-height: 212px; vertical-align: middle; } diff --git a/static/css/style-global.css b/static/css/style-global.css index 1dab272..aea47c8 100755 --- a/static/css/style-global.css +++ b/static/css/style-global.css @@ -277,3 +277,7 @@ outline: 0px none; box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255,249,183, 0.6); } + + nav { + min-height: 0 !important; + } diff --git a/templates/bulkUpload.hamlet b/templates/bulkUpload.hamlet index 05d4d7b..82910a1 100755 --- a/templates/bulkUpload.hamlet +++ b/templates/bulkUpload.hamlet @@ -1,5 +1,4 @@