2019-08-13 21:36:46 +02:00
|
|
|
@import './../../design/styles/common/form.styl'
|
|
|
|
|
@import './../../design/styles/common/global.styl'
|
|
|
|
|
|
|
|
|
|
$study-list-padding = 8%;
|
|
|
|
|
$study-list-toolbar-height = 75px;
|
|
|
|
|
$body-cell-height = 40px;
|
2019-10-28 19:47:57 +01:00
|
|
|
$body-cell-top-bottom-padding = 16px;
|
2019-08-13 21:36:46 +02:00
|
|
|
|
|
|
|
|
$tablePaddingMediumScreen = 5px
|
|
|
|
|
$tablePaddingBigScreen = 3%
|
|
|
|
|
$tablePaddingLargeScreen = 5%
|
|
|
|
|
|
|
|
|
|
// TODO: move this to a common mixin files
|
|
|
|
|
placeholder-color(c)
|
|
|
|
|
&::-webkit-input-placeholder
|
|
|
|
|
color: c
|
|
|
|
|
&:-moz-placeholder
|
|
|
|
|
color: c
|
|
|
|
|
&::-moz-placeholder
|
|
|
|
|
color: c
|
|
|
|
|
&:-ms-input-placeholder
|
|
|
|
|
color: c
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
.study-list-header
|
|
|
|
|
.addNewStudy
|
|
|
|
|
margin: 0 10px
|
2019-08-13 21:36:46 +02:00
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
label
|
|
|
|
|
font-weight: 400
|
|
|
|
|
cursor: pointer
|
|
|
|
|
display: inline-block;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
|
|
input
|
|
|
|
|
width: 0.1px;
|
|
|
|
|
height: 0.1px
|
|
|
|
|
opacity: 0
|
|
|
|
|
overflow: hidden
|
|
|
|
|
position: absolute
|
|
|
|
|
z-index: -1
|
|
|
|
|
|
|
|
|
|
color: var(--text-secondary-color)
|
|
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
|
color: var(--hover-color)
|
|
|
|
|
|
|
|
|
|
&:active
|
|
|
|
|
color: var(--active-color)
|
|
|
|
|
|
|
|
|
|
.study-list-header
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2019-08-13 21:36:46 +02:00
|
|
|
background-color: var(--ui-gray-darker)
|
|
|
|
|
height: $study-list-toolbar-height
|
|
|
|
|
margin-bottom: 2px
|
|
|
|
|
padding: 0 $study-list-padding
|
2019-10-28 19:47:57 +01:00
|
|
|
line-height: $study-list-toolbar-height
|
2019-08-13 21:36:46 +02:00
|
|
|
|
|
|
|
|
.header
|
|
|
|
|
font-size: 22px
|
|
|
|
|
font-weight: 300
|
|
|
|
|
color: var(--table-text-secondary-color)
|
|
|
|
|
line-height: $study-list-toolbar-height
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
.actions
|
|
|
|
|
display: flex;
|
2019-08-13 21:36:46 +02:00
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
.study-count
|
2019-08-13 21:36:46 +02:00
|
|
|
color: var(--large-numbers-color)
|
|
|
|
|
font-size: 40px
|
|
|
|
|
font-weight: 100
|
|
|
|
|
line-height: $study-list-toolbar-height
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
/*
|
|
|
|
|
* Dark gray background with blue border
|
|
|
|
|
* Spans width of page to create a distinct area for table filters
|
|
|
|
|
*/
|
|
|
|
|
.table-head-background
|
2019-08-13 21:36:46 +02:00
|
|
|
height: 121px
|
|
|
|
|
position: absolute
|
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
|
|
&:before, &:after
|
|
|
|
|
content: ''
|
|
|
|
|
display: block
|
|
|
|
|
left: 0
|
|
|
|
|
position: absolute
|
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
|
|
&:before
|
|
|
|
|
background-color: var(--ui-gray-darker)
|
|
|
|
|
height: 100%
|
|
|
|
|
top: 0
|
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
|
|
&:after
|
|
|
|
|
background-color: var(--ui-border-color-active)
|
|
|
|
|
bottom: -1px
|
|
|
|
|
height: 1px
|
|
|
|
|
z-index: 2
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
|
|
|
|
|
.study-list-container
|
2019-08-13 21:36:46 +02:00
|
|
|
width: 100%
|
|
|
|
|
padding: 0 $study-list-padding
|
|
|
|
|
position: absolute
|
|
|
|
|
z-index: 2
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
table.table
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
border-spacing: 0;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
table-layout: fixed;
|
2019-10-31 19:41:08 +01:00
|
|
|
color: var(--table-text-primary-color)
|
|
|
|
|
font-weight: 300
|
2019-10-28 19:47:57 +01:00
|
|
|
|
|
|
|
|
> tbody tr
|
|
|
|
|
padding: 5px
|
|
|
|
|
background-color: black
|
|
|
|
|
|
2019-10-31 19:41:08 +01:00
|
|
|
> tbody td
|
|
|
|
|
padding: $body-cell-top-bottom-padding 8px;
|
|
|
|
|
height: $body-cell-height
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
/* Striped Variant */
|
|
|
|
|
&.table--striped > tbody tr:nth-child(even)
|
|
|
|
|
background-color: var(--ui-gray-darker)
|
2019-10-22 20:40:23 +02:00
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
/* Hover Variant */
|
|
|
|
|
&.table--hoverable > tbody tr
|
|
|
|
|
&:hover, &:active, &.active
|
|
|
|
|
background-color: var(--table-hover-color)
|
|
|
|
|
&.no-hover
|
|
|
|
|
&:hover, &:active, &.active
|
|
|
|
|
background-color: var(--ui-gray-darker)
|
|
|
|
|
|
2019-10-31 19:41:08 +01:00
|
|
|
.empty-value
|
|
|
|
|
color: var(--ui-gray-light)
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
.study-list-container > table.table > tr
|
|
|
|
|
height: 20px
|
|
|
|
|
|
|
|
|
|
.study-list-container > table.table > thead
|
|
|
|
|
::-webkit-datetime-edit-year-field:not([aria-valuenow]),
|
|
|
|
|
::-webkit-datetime-edit-month-field:not([aria-valuenow]),
|
|
|
|
|
::-webkit-datetime-edit-day-field:not([aria-valuenow])
|
|
|
|
|
color: transparent
|
|
|
|
|
|
|
|
|
|
.study-list-container > table.table > thead > tr > th
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-bottom: 1px solid var(--ui-border-color-active);
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
border-top: 0;
|
|
|
|
|
|
|
|
|
|
.study-list-container > table.table > thead > tr > th.studyDate
|
|
|
|
|
min-width: 230px
|
2019-10-31 19:41:08 +01:00
|
|
|
.study-list-container > table.table .modalities
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
min-height: 20px;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
2019-10-28 19:47:57 +01:00
|
|
|
|
|
|
|
|
.study-list-container
|
|
|
|
|
.filters
|
|
|
|
|
label
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-width: 95px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
color: var(--table-text-primary-color);
|
|
|
|
|
font-weight: 400;
|
2019-11-18 22:30:47 +01:00
|
|
|
padding: 20px 8px;
|
2019-10-28 19:47:57 +01:00
|
|
|
user-select: none;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
|
color: var(--active-color);
|
|
|
|
|
|
|
|
|
|
&.active, &:active
|
|
|
|
|
color: var(--active-color);
|
|
|
|
|
i
|
|
|
|
|
margin: 0 5px;
|
|
|
|
|
|
|
|
|
|
input
|
|
|
|
|
height: 40px
|
|
|
|
|
margin: 0 5px 20px 5px
|
|
|
|
|
padding: 0 20px
|
|
|
|
|
cursor: pointer
|
|
|
|
|
border: none
|
|
|
|
|
background-color: var(--input-background-color)
|
|
|
|
|
color: var(--input-placeholder-color)
|
|
|
|
|
font-size: 10pt
|
|
|
|
|
font-weight: normal
|
|
|
|
|
border-radius: 4px
|
|
|
|
|
width: calc(100% - 10px); /* Just use padding? */
|
|
|
|
|
transition(all 0.15s ease)
|
|
|
|
|
placeholder-color(var(--input-placeholder-color))
|
|
|
|
|
|
|
|
|
|
&:active, &:hover
|
|
|
|
|
background-color: var(--input-background-color)
|
|
|
|
|
|
|
|
|
|
.loading-text
|
|
|
|
|
color: var(--table-text-secondary-color)
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 30px
|
2019-08-13 21:36:46 +02:00
|
|
|
|
|
|
|
|
.notFound
|
|
|
|
|
color: var(--table-text-secondary-color)
|
|
|
|
|
font-size: 30px
|
|
|
|
|
font-weight: 200
|
|
|
|
|
text-align: center
|
|
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
@media only screen and (max-width: 768px)
|
|
|
|
|
.study-list-header
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
|
|
|
|
|
.study-list-container
|
|
|
|
|
padding: 0;
|
2019-08-13 21:36:46 +02:00
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
.study-list-container > table.table > thead > tr > th
|
|
|
|
|
padding: 0 13px;
|
2019-08-13 21:36:46 +02:00
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
.study-list-container > table.table > tbody > tr > td
|
|
|
|
|
padding: 8px;
|
2019-08-13 21:36:46 +02:00
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
.study-list-container .filters label
|
|
|
|
|
padding: 8px;
|
2019-08-13 21:36:46 +02:00
|
|
|
|
2019-10-28 19:47:57 +01:00
|
|
|
@media only screen and (max-width: 500px)
|
|
|
|
|
.hide-xs
|
|
|
|
|
display: none;
|