.main-content_wrapper {
max-width: 800px;
width: 100%;
margin: auto;
padding: 20px;
}
.main-content_wrapper h1.page-title {
text-align: center;
font-family: 'Noto Sans TC';
font-size: 30px;
font-weight: 700;
}
div#update-alert {
background-color: #858585;
color: #ededed;
padding: 5px 10px;
border: #000;
border-radius: 5px;
position: fixed;
bottom: 10%;
left: 50%;
transform: translateX(-50%);
font-size: 15px;
font-family: 'Noto Sans TC';
z-index: 1000;
display: none;
}
a#add-record-toggle {
margin: auto;
width: 100%;
display: block;
border: 1px solid;
border-radius: 5px;
padding: 5px 10px;
font-size: 15px;
font-family: 'Noto Sans TC';
text-align: center;
}
a#add-record-toggle:hover {
background-color: var(--ast-global-color-1);
color: #FFF;
}
a#add-record-toggle:after {
content:'新增紀錄';
}
a#add-record-toggle.open:after {
content:'收起表單';
}
.record-form {
margin: 30px 0px;
padding: 15px;
border: 1px solid #d6d6d6;
font-size: 15px;
font-family: 'Noto Sans TC';
border-radius: 8px;
gap: 10px;
display: flex;
background-color: #00ac970d;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
}
.record-form .form-group {
display: flex;
flex-direction: column;
align-items: stretch;
}
.record-form .form-group ol {
margin: 1em;
font-size: 12px;
}
.record-form .form-group > label {
font-weight: 600;
}
.record-form .form-group > input {
background: transparent;
padding: 10px;
border-width: 0px 0px 1px 0px;
border-radius: 0px;
border-color: #bdbfbe;
font-size: 15px;
color: #000000;
}
.record-form .form-group > textarea {
background: transparent;
border-color: #bdbfbe;
padding: 10px;
font-size: 15px;
color: #000000;
}
.record-form .form-group p.input-notice,.record-form .form-group p.join-notice {
font-size: 12px;
color: #7d8b83;
margin-bottom: 0px;
line-height: 1.5em;
width: 100%;
}
.record-form .form-group button.btn {
padding: 10px;
font-size: 15px;
color: #FFF;
font-weight: 400;
background: var(--ast-global-color-1);
letter-spacing: 1px;
border-radius: 5px;
margin-top: 10px;
transition: .3s ease;
}
div#records-table_wrapper {
font-size: 16px;
font-family: 'Noto Sans TC';
margin-top: 20px;
border-top: 1px solid #d6d6d6;
padding-top: 20px;
}
div#records-table_wrapper input#dt-search-0 {
font-size: 15px;
border-width: 0px 0px 1px 0px;
border-radius: 0px;
}
div#records-table_wrapper div#records-table_info {
color: #7d8b83;
font-weight: 400;
font-size: 14px;
}
div#records-table_wrapper button.dt-paging-button {
font-size: 16px;
}
table#records-table {
border-width: 0px;
letter-spacing: 0.5px;
}
table#records-table thead {
display: none;
}
table#records-table > thead > tr > th {
border-width: 0px;
}
table#records-table tr {
border-width: 0px !important;
}
table#records-table > tbody > tr > td {
font-size: 16px;
font-family: 'Noto Sans TC';
border-radius: 8px;
border: 1px solid #d6d6d6;
padding: 10px;
margin: 10px 0px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
justify-content: flex-start;
align-items: center;
width: 100%;
column-gap: 20px;
}
table#records-table p.fic-title, table#records-table p.fic-title > a {
color: var(--ast-global-color-1);
width: fit-content;
font-size: 16px;
font-weight: 900;
margin-bottom: 0px;
text-decoration: unset;
}
table#records-table p.fic-author {
font-size: 13px;
margin-bottom: 0px;
}
table#records-table p.fic-author:before {
content: 'By ';
}
table#records-table p.fic-note {
width: 100%;
background-color: #00ac970d;
padding: 10px;
border-radius: 5px;
color: #000;
margin: 10px 0px;
font-size: 15px;
}
table#records-table span.fic-date {
width: fit-content;
font-size: 8px;
color: #7d8b83;
flex-grow: 1;
}
table#records-table span.fic-date:after {
content: ' | ' attr(data-source);
font-size: 8px;
font-weight: 300;
color: #00000054;
}
table#records-table .fic-commtent-toggle:after {
content: '';
display: inline-flex;
width: 17px;
height: 17px;
background-image: url('data:image/svg+xml,<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.33325 16C6.33325 10.6613 10.6612 6.33337 15.9999 6.33337C21.3387 6.33337 25.6666 10.6613 25.6666 16C25.6666 21.3388 21.3387 25.6667 15.9999 25.6667C10.6612 25.6667 6.33325 21.3388 6.33325 16Z" stroke="%237d8b83" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 11.6667V20.3334" stroke="%237d8b83" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.3334 16L11.6667 16" stroke="%237d8b83" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
background-size: contain;
background-repeat: no-repeat;
background-position-x: right;
transition: .3s ease;
}
table#records-table .fic-commtent-toggle.open:after {
transform: rotate(45deg);
}
table#records-table .fic-commtent-toggle {
width: fit-content;
font-size: 12px;
color: #7d8b83;
text-align: end;
display: flex;
flex-direction: row;
align-items: center;
gap: 2px;
cursor: pointer;
}
table#records-table .fic-commtent {
display: none;
width: 100%;
}
table#records-table p.empty-notice {
margin-bottom: 0px;
font-size: 15px;
opacity: .5;
}
table#records-table p.empty-notice:after {
content:'目前無留言';
}
table#records-table .comments-list {
margin: 10px 0px;
padding: 10px 0px;
border-top: 1px solid #0000000d;
border-bottom: 1px solid #0000000d;
}
table#records-table .comment-content {
font-size: 14px;
font-weight: 400;
background-color: #00000005;
padding: 5px 10px;
margin: 5px;
border-radius: 5px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
table#records-table .comment-content:after {
content: attr(data-date) ' | ' attr(data-source);
font-size: 10px;
font-weight: 300;
color: #00000054;
width: 100%;
text-align: end;
}
table#records-table .action {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
column-gap: 10px;
row-gap: 5px;
}
table#records-table .action:after {
content: attr(data-notice);
font-size: 12px;
color: #7d8b83;
margin-bottom: 0px;
line-height: 1em;
width: 100%;
}
table#records-table input.add-comment {
height: 2em;
border: 1px solid #7d8b83;
border-radius: 5px;
width: 60%;
flex-grow: 1;
font-size: 15px;
outline-color: #7d8b83;
}
table#records-table button.add-comment-action {
padding: 5px;
font-size: 15px;
height: 2em;
color: #FFF;
font-weight: 400;
background: var(--ast-global-color-1);
letter-spacing: 1px;
border-radius: 5px;
width: 60px;
transition: .3s ease;
}
table#records-table  button.add-comment-action:hover {
filter: invert(1);
}