diff options
Diffstat (limited to 'uploader/static/css')
| -rw-r--r-- | uploader/static/css/layout-common.css | 21 | ||||
| -rw-r--r-- | uploader/static/css/layout-large.css | 11 | ||||
| -rw-r--r-- | uploader/static/css/layout-medium.css | 11 | ||||
| -rw-r--r-- | uploader/static/css/layout-small.css | 21 | ||||
| -rw-r--r-- | uploader/static/css/theme.css | 39 |
5 files changed, 68 insertions, 35 deletions
diff --git a/uploader/static/css/layout-common.css b/uploader/static/css/layout-common.css new file mode 100644 index 0000000..9c9d034 --- /dev/null +++ b/uploader/static/css/layout-common.css @@ -0,0 +1,21 @@ +* { + box-sizing: border-box; +} + +body { + display: grid; + grid-gap: 1em; +} + +#header { + margin: -0.7em; /* Fill entire length of screen */ + /* Define layout for the children elements */ + display: grid; +} + +#header #header-nav { + /* Place it in the parent element */ + grid-column-start: 1; + grid-column-end: 2; + display: flex; +} diff --git a/uploader/static/css/layout-large.css b/uploader/static/css/layout-large.css index f1740de..2d53627 100644 --- a/uploader/static/css/layout-large.css +++ b/uploader/static/css/layout-large.css @@ -1,12 +1,6 @@ -* { - box-sizing: border-box; -} - @media screen and (min-width: 20.1in) { body { - display: grid; grid-template-columns: 7fr 3fr; - grid-gap: 1em; } #header { @@ -16,7 +10,7 @@ /* Define layout for the children elements */ display: grid; - grid-template-columns: 8fr 2fr; + grid-template-columns: 1fr 9fr; } #header #header-text { @@ -49,6 +43,8 @@ grid-column-start: 1; grid-column-end: 3; padding: 0 3px; + + margin: -0.3em -0.7em 0 -0.7em; } #main #main-content { @@ -61,5 +57,6 @@ #main #sidebar-content { grid-column-start: 2; grid-column-end: 3; + padding: 1em 0 0 0; } } diff --git a/uploader/static/css/layout-medium.css b/uploader/static/css/layout-medium.css index f504073..50ceeb4 100644 --- a/uploader/static/css/layout-medium.css +++ b/uploader/static/css/layout-medium.css @@ -1,12 +1,6 @@ -* { - box-sizing: border-box; -} - @media screen and (width > 8in) and (max-width: 20in) { body { - display: grid; grid-template-columns: 65fr 35fr; - grid-gap: 1em; } #header { @@ -16,7 +10,7 @@ /* Define layout for the children elements */ display: grid; - grid-template-columns: 8fr 2fr; + grid-template-columns: 2fr 8fr; } #header #header-text { @@ -55,10 +49,9 @@ /* Place it in the parent element */ grid-column-start: 1; grid-column-end: 2; - grid-gap: 5px; /* Define layout for the children elements */ - max-width: 70%; + max-width: 100%; } #main #sidebar-content { diff --git a/uploader/static/css/layout-small.css b/uploader/static/css/layout-small.css index 3a7d18f..2e47217 100644 --- a/uploader/static/css/layout-small.css +++ b/uploader/static/css/layout-small.css @@ -1,12 +1,8 @@ -* { - box-sizing: border-box; -} - @media screen and (max-width: 8in) { body { display: grid; grid-template-columns: 1fr; - grid-template-rows: 1fr 2fr 7fr; + grid-template-rows: 1fr 90fr; grid-gap: 1em; } @@ -35,6 +31,11 @@ grid-column-end: 2; } + #header #header-nav ul { + display: grid; + grid-template-columns: 1fr; + } + #main { /* Place it in the parent element */ grid-column-start: 1; @@ -42,7 +43,7 @@ display: grid; /* Define layout for the children elements */ - grid-template-rows: 1.5em 80% 20%; + grid-template-rows: 1fr 80fr 20fr; grid-template-columns: 1fr; } @@ -53,12 +54,12 @@ } #main #main-content { - grid-row-start: 3; - grid-row-end: 4; + grid-row-start: 2; + grid-row-end: 3; } #main #sidebar-content { - grid-row-start: 2; - grid-row-end: 3; + grid-row-start: 3; + grid-row-end: 4; } } diff --git a/uploader/static/css/theme.css b/uploader/static/css/theme.css index 184999d..6f5cb0c 100644 --- a/uploader/static/css/theme.css +++ b/uploader/static/css/theme.css @@ -8,24 +8,27 @@ body { #header { background-color: #336699; color: #FFFFFF; - border-radius: 3px; min-height: 30px; + border-bottom: solid black 1px; } #header #header-nav .nav li a { /* Content styling */ color: #FFFFFF; - background: #4477AA; - border: solid 5px #336699; - border-radius: 5px; font-size: 0.7em; text-align: center; padding: 1px 7px; + text-decoration: none; } #main #breadcrumbs { - border-radius:3px; text-align: center; + background-color: #D5D5D5; + padding: 0 1em 0 1em; +} + +#main #breadcrumbs .breadcrumb { + padding-top: 0.5em; } #main #main-content { @@ -34,10 +37,10 @@ body { } #main #sidebar-content { - background: #E5E5FF; + background: #FEFEFE; border-radius: 5px; - padding: 0 5px; + padding: 10px 5px; } #main .row { @@ -56,6 +59,10 @@ body { text-transform: capitalize; } +label { + text-transform: Capitalize; +} + input[type="search"] { border-radius: 5px; } @@ -74,8 +81,22 @@ table.dataTable tbody tr.selected td { background-color: #ffee99 !important; } -.form-group { +#frm-add-phenotypes .form-group { margin-bottom: 2em; padding-bottom: 0.2em; - border-bottom: solid gray 1px; + border-bottom: solid #A9A9A9 1px; +} + + +.breadcrumb-item { + text-transform: Capitalize; +} + +.breadcrumb-item a { + text-decoration: none; +} + +.table thead tr th { + text-align: center; + vertical-align: middle; } |
