definma-ui/src/app/samples/samples.component.scss

224 lines
3.1 KiB
SCSS
Raw Normal View History

@import "~@inst-iot/bosch-angular-ui-components/styles/variables/colors";
2020-05-22 12:52:17 +02:00
.header-addnew {
margin-bottom: 40px;
& > * {
display: inline;
margin-bottom: 10px;
}
2020-07-30 14:23:51 +02:00
rb-icon-button {
2020-05-22 12:52:17 +02:00
float: right;
}
}
2020-07-22 10:45:34 +02:00
rb-table {
width: 100%;
}
td .clickable.rb-ic {
font-size: 1.1rem;
color: $color-gray-silver-sand;
cursor: pointer;
&:hover {
color: #000;
}
}
2020-06-26 11:09:59 +02:00
.status-selection {
overflow: hidden;
margin-bottom: 10px;
float: left;
margin-right: 15px;
label {
display: block;
font-weight: 700;
font-size: 10px;
}
rb-form-checkbox {
float: left;
margin-right: 10px;
margin-top: -10px;
}
}
2020-07-13 10:52:10 +02:00
.selection {
max-width: 230px;
2020-06-26 11:09:59 +02:00
float: left;
}
.paging {
2020-08-11 17:08:47 +02:00
height: 50px;
2020-06-26 11:09:59 +02:00
rb-form-input {
max-width: 50px;
}
> * {
float: left;
}
> button {
margin-top: 18px;
}
> span {
margin-top: 20px;
margin-left: 5px;
}
}
.sort-header {
display: inline-grid;
grid-template-columns: 1fr auto;
grid-column-gap: 5px;
width: 100%;
:first-child {
grid-row: span 2;
}
:nth-child(2) {
margin-bottom: -3px;
cursor: pointer;
}
:nth-child(3) {
margin-top: -3px;
cursor: pointer;
}
}
.sort-active-asc {
color: $color-bosch-dark-blue;
background: linear-gradient(to bottom, #FFF 17%, $color-bosch-light-blue-w50 17%);;
border-radius: 0 0 8px 8px;
}
.sort-active-desc {
color: $color-bosch-dark-blue;
background: linear-gradient(to top, #FFF 17%, $color-bosch-light-blue-w50 17%);;
border-radius: 8px 8px 0 0;
}
2020-07-13 10:52:10 +02:00
.filters:after {
content:"";
clear:both;
display:block;
}
.download {
margin-top: 5px;
float: right;
& > rb-form-checkbox {
display: inline-block;
}
button {
margin-right: 10px;
}
}
.sort-arr-up {
position: relative;
& > span {
width: 0;
height: 0;
border-left: 6.3px solid transparent;
border-right: 6.3px solid transparent;
border-bottom: 6.3px solid #000;
position: absolute;
top: 5px;
display: block;
left: 2px;
}
}
.sort-arr-down {
position: relative;
& > span {
width: 0;
height: 0;
border-left: 6.3px solid transparent;
border-right: 6.3px solid transparent;
border-top: 6.3px solid #000;
position: absolute;
top: 5px;
display: block;
left: 2px;
}
}
.fieldfilters {
clear: both;
& > div {
display: grid;
grid-template-columns: auto auto 1fr;
2020-07-22 10:45:34 +02:00
float: left;
margin-right: 30px;
2020-07-13 10:52:10 +02:00
}
}
.filtermode {
2020-07-22 10:45:34 +02:00
max-width: 80px;
2020-07-13 10:52:10 +02:00
}
textarea.linkmodal {
display: block;
min-width: 600px;
min-height: 200px;
border: none;
}
.filter-inputs > * {
display: inline-block;
2020-07-27 17:52:03 +02:00
width: 220px;
}
.sample-details-table {
::ng-deep .table-wrapper {
max-height: 80vh;
overflow-y: scroll;
}
td {
max-width: none;
}
}
.validation-close {
margin-left: -1px;
}
.samples-table tr.clickable {
background: none;
transition: background-color 0.5s;
&:hover {
background: $color-gray-mercury;
}
}
::ng-deep .samples-table rb-form-checkbox .input-wrapper {
padding-top: 0;
margin-top: -4.5px;
}
2020-08-10 12:34:14 +02:00
.link-dialog {
rb-form-checkbox {
display: inline-block;
}
rb-icon-button {
float: right;
}
}