From 178efaf79fb6331698b515ff98b59f4852bf4559 Mon Sep 17 00:00:00 2001 From: Evren Ozkan Date: Mon, 16 Nov 2015 22:55:41 -0500 Subject: [PATCH] Styling fixing for lesion tracker --- LesionTracker/client/body.styl | 46 +++++++++++++++++++ .../lesionTrackerLayout.styl | 19 +++++++- LesionTracker/client/head.html | 6 ++- 3 files changed, 68 insertions(+), 3 deletions(-) diff --git a/LesionTracker/client/body.styl b/LesionTracker/client/body.styl index 0a8bb4e1e..d7f8122d0 100644 --- a/LesionTracker/client/body.styl +++ b/LesionTracker/client/body.styl @@ -22,3 +22,49 @@ table#tblStudyList tbody > tr:hover{ color: white } +table#tblStudyList tbody > tr > td{ + word-wrap: break-word +} + + +/* Toolbar Styles */ + +/* iphone6 Portrait */ + + @media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) { + + table#tblStudyList { + table-layout: fixed + font-size: 0.4em + } + + + #tablist { + width: 84%; + border: solid 1px red; + overflow-x: auto; + + } + #toolbar .btn-group button { + width: 35px; + height: 35px; + } + + } + +/* iphone6 Plus Portrait */ + +@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : portrait) { + #tablist { + width: 84%; + border: solid 1px green; + overflow-x: auto; + } + + #toolbar .btn-group button { + width: 40px; + height: 40px; + } + +} + diff --git a/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.styl b/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.styl index d50323ea2..bf8fd3071 100644 --- a/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.styl +++ b/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.styl @@ -4,20 +4,35 @@ top: 0; right: 0; color: white; + @media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) + width: 15% .navbar-brand display: inline-block - padding: 0; - margin-right: 5px; + padding: 0 + margin-right: 5px + height: 100% + width: 100% img height: 30px float: left margin-right: 10px margin-top: 5px; + /* Media queries for iPhone6*/ + @media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) + height: 20px + margin-top: 10px + margin-bottom: 10px + margin-right: 5px h4.name float: left margin: 10px 0; font-family: "Sanchez" color: #C1C1C1 + @media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) + font-size: 0.3em + font-size: 0.3em + width: 50%; + diff --git a/LesionTracker/client/head.html b/LesionTracker/client/head.html index 3f4f775d3..f963a2f00 100644 --- a/LesionTracker/client/head.html +++ b/LesionTracker/client/head.html @@ -2,7 +2,11 @@ Lesion Tracker - + + + + +