From ac46158d653f970db3efb9c772367b81094c24db Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Thu, 26 Jun 2014 01:10:17 +0300 Subject: HTML: some css enhancment Detailed dive view needs more padding just to view normally. Signed-off-by: Gehad elrobey Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/dive_export.html | 10 +++++----- theme/light.css | 22 ++++------------------ theme/list_lib.js | 4 ++-- theme/sand.css | 26 ++++---------------------- 4 files changed, 15 insertions(+), 47 deletions(-) (limited to 'theme') diff --git a/theme/dive_export.html b/theme/dive_export.html index e1b3189b5..b6b771ddc 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -164,20 +164,20 @@ function changeAdvSearch(e){
-

Dive profile

+

Dive profile

-

Dive Information

+

Dive Information

-

Dive equipments

+

Dive equipments

-

Bookmarks

+

Bookmarks

-

Dive stats

+

Dive stats

diff --git a/theme/light.css b/theme/light.css index 74aaa53cd..1dc5f6d10 100644 --- a/theme/light.css +++ b/theme/light.css @@ -40,6 +40,7 @@ th{ .words{ font-size:inherit; font-weight:bold; + padding-right:25px; } .item{ @@ -213,24 +214,9 @@ ul:hover{ padding-right:25px; } -#diveinfo{ - border-style:solid; -} - -#diveprofile{ - border-style:solid; -} - -#dive_equipments{ - border-style:solid; -} - -#divestats{ - border-style:solid; -} - -#bookmarks{ - border-style:solid; +.det_hed{ + background-color:#5f7f8f; + padding:3px; } @media (max-width: 768px) { diff --git a/theme/list_lib.js b/theme/list_lib.js index 882330a4c..fa595d8da 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -817,7 +817,7 @@ function get_cylinder_HTML(cylinder) function get_cylinders_HTML(dive) { var result = ""; - result += '

Dive equipments

'; + result += '

Dive equipments

TypeSizeWork PressureStart PressureEnd PressureO2
'; for (var i in dive.Cylinders) { result += get_cylinder_HTML(dive.Cylinders[i]); } @@ -853,7 +853,7 @@ function get_bookmarks_HTML(dive) */ function get_dive_HTML(dive) { - return '

Dive Information

TypeSizeWork PressureStart PressureEnd PressureO2
Date: ' + dive.date + + return '

Dive Information

Date: ' + dive.date + '     Time: ' + dive.time + '     Location: ' + '' + dive.location + '' + diff --git a/theme/sand.css b/theme/sand.css index a5bbe45b2..1ccde7762 100644 --- a/theme/sand.css +++ b/theme/sand.css @@ -40,6 +40,7 @@ th{ .words{ font-size:inherit; font-weight:bold; + padding-right:25px; } .item{ @@ -211,28 +212,9 @@ ul:hover{ box-shadow: 7px 7px 5px rgba(215, 107, 27, 0.43); } -.Cyl{ - padding-right:25px; -} - -#diveinfo{ - border-style:solid; -} - -#diveprofile{ - border-style:solid; -} - -#dive_equipments{ - border-style:solid; -} - -#divestats{ - border-style:solid; -} - -#bookmarks{ - border-style:solid; +.det_hed{ + background-color:#EFC15F; + padding:3px; } @media (max-width: 768px) { -- cgit v1.2.3-70-g09d2