112 lines
1.9 KiB
SCSS
Raw Normal View History

2020-02-14 11:23:46 +09:00
$tablet-s-width: 768px;
2019-12-03 14:32:50 +09:00
@mixin ellipsis($row) {
overflow: hidden;
text-overflow: ellipsis;
@if $row == 1 {
display: block;
white-space: nowrap;
word-wrap: normal;
} @else if $row >= 2 {
display: -webkit-box;
-webkit-line-clamp: $row;
-webkit-box-orient: vertical;
word-wrap: break-word;
2020-01-20 18:54:24 +09:00
line-height: 1.2em;
2019-12-03 14:32:50 +09:00
}
}
.rightDrawer-notice {
width: 100%;
height: calc(100% - 60px);
.table-box {
2020-02-13 20:03:24 +09:00
height: calc(100% - 100px);
2019-12-03 14:32:50 +09:00
overflow: auto;
2020-02-14 11:23:46 +09:00
@media screen and (max-width: #{$tablet-s-width}) {
height: calc(100% - 50px);
}
2019-12-03 14:32:50 +09:00
}
2020-02-04 16:24:39 +09:00
.footer-fix {
width: 100%;
}
2019-12-03 14:32:50 +09:00
}
.mat-table {
width: 100%;
position: relative;
th.infos {
padding: 10px;
2020-01-20 18:54:24 +09:00
text-align: center;
2020-02-14 13:27:28 +09:00
width: 80%;
}
th.regDate {
padding: 10px;
text-align: center;
2019-12-03 14:32:50 +09:00
}
tr.mat-row {
height: 70px;
.notice-info {
padding: 16px;
display: grid;
height: 70px;
.title {
font-weight: 600;
margin-bottom: 2px;
2020-01-20 18:54:24 +09:00
width: 100%;
@include ellipsis(2);
display: flex;
align-items: center;
2019-12-03 14:32:50 +09:00
.important {
color: red;
2020-01-20 18:54:24 +09:00
margin-right: 6px;
2019-12-03 14:32:50 +09:00
}
}
}
2020-01-20 18:54:24 +09:00
.date {
2020-02-14 13:27:28 +09:00
text-align: right;
font-size: 0.8em;
padding-right: 17px;
2020-01-20 18:54:24 +09:00
}
2019-12-03 14:32:50 +09:00
}
}
.mat-paginator-container {
display: flex;
flex-flow: column;
}
.mat-row:hover {
background: rgba(0, 0, 0, 0.04);
cursor: pointer;
}
.footer-fix {
position: absolute;
bottom: 0;
flex-direction: column;
box-sizing: border-box;
display: flex;
border-top: 1px solid #dddddd;
.mat-paginator {
.mat-paginator-container {
justify-content: center;
}
}
2019-12-03 14:32:50 +09:00
.btn-box {
height: 50px;
padding-bottom: 10px;
width: 100%;
background-color: #ffffff;
button {
margin: 5px;
}
}
}
.mat-form-field-appearance-legacy {
.mat-form-field-infix {
padding: 6px;
}
}