From c190f6d48ac289284698ef2dc2057836558dbdd8 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Thu, 28 Aug 2014 12:43:15 +0200 Subject: [PATCH] add tabs for profile & data + button group --- css/style.css | 18 ++++++++++++++++-- index.html | 29 ++++++++++++++++++++++------- js/control/Profile.js | 5 ++++- 3 files changed, 42 insertions(+), 10 deletions(-) diff --git a/css/style.css b/css/style.css index 6a947c6..7e4ce18 100644 --- a/css/style.css +++ b/css/style.css @@ -132,16 +132,21 @@ td { bottom: 0px; } +.tab-content { + padding: 5px 0px; +} +/* #profile_upload input { position: absolute; top: 6px; right: 8px; } +*/ /* http://snook.ca/archives/html_and_css/absolute-position-textarea */ #textarea_container { position: absolute; - top: 32px; + top: 64px; bottom: 6px; left: 8px; right: 8px; @@ -186,6 +191,10 @@ textarea:focus { } } +/* + * Bootstrap + */ + /* override Bootstrap label for Leaflet layer switcher */ .leaflet-control-layers label { max-width: none; @@ -196,4 +205,9 @@ textarea:focus { Leaflet only | 21 | 20 | Bootstrap | 23 | 22 |*/ height: 21px; -} \ No newline at end of file +} + +/* smaller tab height */ +.nav > li > a { + padding: 2px 15px; +} diff --git a/index.html b/index.html index 919430d..d35c197 100644 --- a/index.html +++ b/index.html @@ -51,14 +51,29 @@