838 lines
14 KiB
SCSS
838 lines
14 KiB
SCSS
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
|
|
//
|
|
// Index
|
|
//
|
|
// Member Index
|
|
// ## Gerneral styles for Index
|
|
.scrtabs-tab-container {
|
|
margin-top: 1em;
|
|
}
|
|
th.sorting_disabled {
|
|
@media(max-width:768px){
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
.member-pic{
|
|
img{
|
|
border-radius: 1em;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
[data-list="pd_title"]{
|
|
display: none;
|
|
}
|
|
|
|
.member-data-value-name{
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
a {
|
|
color: $theme-color-second;
|
|
|
|
}
|
|
}
|
|
.member-data{
|
|
.table-striped>tbody>tr:nth-of-type(odd)>* {
|
|
--bs-table-bg-type: transparent;
|
|
}
|
|
@media(min-width:769px){
|
|
table {
|
|
table-layout: auto !important;
|
|
}
|
|
|
|
th, td {
|
|
width: auto;
|
|
}
|
|
|
|
// // 類別欄:縮到剛好容納內容
|
|
// th{
|
|
// width: 1% !important;
|
|
// white-space: nowrap;
|
|
// padding-left: 1em;
|
|
// padding-right: 1em;
|
|
// }
|
|
}
|
|
}
|
|
.i-member-profile-data-wrap a {
|
|
color:$theme-color-second;
|
|
}
|
|
.i-member-profile-item{
|
|
a{
|
|
word-wrap: break-word;
|
|
}
|
|
}
|
|
.i-member-profile-item{
|
|
list-style: none;
|
|
}
|
|
// .i-member-pic-wrap{
|
|
// overflow: hidden;
|
|
// }
|
|
.i-member-item{
|
|
&:hover{
|
|
.i-member-pic-wrap{
|
|
overflow: hidden;
|
|
.i-member-pic{
|
|
transform: scale(1.05) !important;
|
|
-webkit-transition: .3s ease-out;
|
|
-moz-transition: .3s ease-out;
|
|
-ms-transition: .3s ease-out;
|
|
-o-transition: .3s ease-out;
|
|
transition: .3s ease-out;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.search-member{
|
|
.index-member-1 input[type="submit"] {
|
|
background: $theme-color-second;
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 12px;
|
|
padding: 10px 20px;
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
-webkit-appearance: none;
|
|
transition: background 0.2s;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
form {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
border-radius: 16px;
|
|
margin-bottom: 16px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.member_search {
|
|
flex: 1;
|
|
display: flex !important;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 1em;
|
|
}
|
|
label {
|
|
color: #8e8e93;
|
|
white-space: nowrap;
|
|
margin: 0 6px 0 0;
|
|
width: 100%;
|
|
}
|
|
input[type="submit"] {
|
|
background: $theme-color-second;
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 0.5em;
|
|
padding: 10px 20px;
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background 0.2s;
|
|
letter-spacing: 0.01em;
|
|
&:hover{
|
|
color:$theme-color-second!important ;
|
|
outline: $theme-color-second solid #14324f !important;
|
|
background: transparent!important;
|
|
}
|
|
}
|
|
input[type="text"] {
|
|
flex: 1;
|
|
border: 1px solid #ccc;
|
|
border-radius: 0.5em;
|
|
outline: none;
|
|
background: transparent;
|
|
font-size: 1em;
|
|
color: #1c1c1e;
|
|
padding: 10px 4px;
|
|
width: 100%;
|
|
-webkit-appearance: none;
|
|
}
|
|
/* ✅ 清除按鈕 */
|
|
.btn.btn-primary {
|
|
background: #ff3b30;
|
|
border: none;
|
|
border-radius: 12px;
|
|
padding: 10px 20px;
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
margin-top: 0;
|
|
-webkit-appearance: none;
|
|
}
|
|
}
|
|
// Index 1
|
|
.index-member-1 {
|
|
.i-member__status-title {
|
|
@extend .unity-title;
|
|
}
|
|
.member-data-value-name, .member-data-value-2 {
|
|
white-space: nowrap;
|
|
}
|
|
.i-member-tr-head {
|
|
&:nth-child(1n+2) {
|
|
display: none;
|
|
}
|
|
|
|
th {
|
|
background: $theme-color-main;
|
|
color: #fff;
|
|
}
|
|
}
|
|
@media(max-width:580px) {
|
|
thead { display: none; }
|
|
td {
|
|
display: flex;
|
|
&:before {
|
|
content: attr(data-title);
|
|
display: inline-block;
|
|
width: auto;
|
|
padding-right: 1em;
|
|
min-width: fit-content;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Index 2
|
|
.index-member-2 {
|
|
.i-member-item{
|
|
border-bottom: 1px solid #e2e2e2;
|
|
&:nth-child(odd) {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
}
|
|
.member-data-title-name{
|
|
display: none;
|
|
}
|
|
.i-member-section {
|
|
max-width: 31.25em;
|
|
margin: auto;
|
|
}
|
|
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background: none;
|
|
border-radius: 0.25rem;
|
|
padding: 1.5em 1rem;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
height: auto;
|
|
@media(max-width:768px){
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
}
|
|
|
|
.i-member-pic {
|
|
width: 100%;
|
|
padding: 0;
|
|
border-radius: 1em;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
// RWD
|
|
@media screen and (min-width: $screen-sm) {
|
|
.i-member-section {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Index 3
|
|
.index-member-3 {
|
|
.member-data-title-name{
|
|
display: none;
|
|
}
|
|
.i-member-section {
|
|
margin: auto;
|
|
}
|
|
.i-member-list {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
margin: 0;
|
|
}
|
|
.i-member-item {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 0.3125em;
|
|
float: none;
|
|
margin:0 0.5em 1em;
|
|
padding: 1.25em;
|
|
width: 48%;
|
|
|
|
|
|
}
|
|
.i-member-item-inner {
|
|
height: auto !important;
|
|
}
|
|
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background: none;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
height: auto;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.i-member-pic {
|
|
width: 100%;
|
|
border-radius: 1em;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
.i-member-item:nth-child(odd) {
|
|
clear: both;
|
|
}
|
|
|
|
.i-member-item-inner {}
|
|
|
|
.i-member-pic-wrap {
|
|
padding: 0;
|
|
}
|
|
|
|
// RWD
|
|
@media screen and (min-width: $screen-sm) {
|
|
.i-member-section {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: $screen-md) {
|
|
.i-member-pic-wrap {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
@media screen and (max-width: $screen-xs) {
|
|
.i-member-item {
|
|
width: 100%;
|
|
}
|
|
.i-member-pic-wrap { width: 100%; }
|
|
.i-member-profile-data-wrap { width: 100%; }
|
|
}
|
|
}
|
|
|
|
// Index 4
|
|
.index-member-4 {
|
|
.member-data-title-name{
|
|
display: none;
|
|
}
|
|
.i-member-section {
|
|
max-width: 31.25em;
|
|
margin: auto;
|
|
}
|
|
.i-member-item.col-md-3 {
|
|
padding: 0.5em;
|
|
margin: 0;
|
|
}
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background: none;
|
|
border-radius: 0.25rem;
|
|
padding: 0.75em 1rem;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
margin-bottom: 0.5em;
|
|
|
|
word-break: break-word;
|
|
}
|
|
|
|
.i-member-item:nth-child(4n+1) {
|
|
clear: both;
|
|
}
|
|
.i-member-item-inner {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
// RWD
|
|
@media screen and (min-width: $screen-sm) {
|
|
.i-member-section {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
//index 5
|
|
.index-member-5 {
|
|
.i-member-section {
|
|
margin: auto;
|
|
}
|
|
.i-member-list {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
margin: 0;
|
|
}
|
|
.i-member-item {
|
|
float: none;
|
|
padding: 15px;
|
|
|
|
@media (max-width:1280px) {
|
|
width: calc( 100% / 3 );
|
|
}
|
|
@media (max-width:767px) {
|
|
width: calc( 100% / 2 );
|
|
}
|
|
@media (max-width:580px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.i-member-item-inner {
|
|
height: auto !important;
|
|
}
|
|
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background: none;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
height: auto;
|
|
// @media(max-width:580px) {
|
|
// overflow: hidden;
|
|
// border-radius: 50%;
|
|
// height: 14em;
|
|
// width: 14em;
|
|
// margin: 1.5em auto 1em auto;
|
|
// }
|
|
}
|
|
|
|
.i-member-pic {
|
|
width: 100%;
|
|
border-radius: 1em;
|
|
object-position: top;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
text-align: center;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
font-size: 1em;
|
|
line-height: 1.3;
|
|
padding-top: 0.5em;
|
|
letter-spacing: 1px;
|
|
}
|
|
.i-member-title { display: none; }
|
|
.i-member-item:nth-child(4n+1) {
|
|
clear: both;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
padding: 0;
|
|
aspect-ratio: 3 / 3;
|
|
}
|
|
}
|
|
//index 7
|
|
.index-member-7 {
|
|
.i-member-section {
|
|
margin: auto;
|
|
}
|
|
.i-member-list {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
margin: 0;
|
|
}
|
|
.i-member-item {
|
|
float: none;
|
|
padding: 15px;
|
|
|
|
@media (max-width:1280px) {
|
|
width: calc( 100% / 3 );
|
|
}
|
|
@media (max-width:767px) {
|
|
width: calc( 100% / 2 );
|
|
}
|
|
@media (max-width:580px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.i-member-item-inner {
|
|
height: auto !important;
|
|
}
|
|
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background: none;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
height: auto;
|
|
}
|
|
|
|
.i-member-pic {
|
|
width: 100%;
|
|
border-radius: 1em;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
text-align: center;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
font-size: 1em;
|
|
letter-spacing: 1px;
|
|
}
|
|
.i-member-title { display: none; }
|
|
.i-member-item:nth-child(4n+1) {
|
|
clear: both;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
padding: 0;
|
|
}
|
|
}
|
|
//index 8
|
|
.index-member-8 {
|
|
.member-data-value-name,.member-data-value-2{
|
|
white-space: unset!important;
|
|
}
|
|
.i-member-item{
|
|
background-color: transparent!important;
|
|
}
|
|
|
|
.i-member-section {
|
|
margin: auto;
|
|
}
|
|
.i-member-list {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
margin: 0;
|
|
}
|
|
.i-member-item {
|
|
float: none;
|
|
padding: 15px;
|
|
|
|
@media (max-width:1280px) {
|
|
width: calc( 100% / 3 );
|
|
}
|
|
@media (max-width:767px) {
|
|
width: calc( 100% / 2 );
|
|
}
|
|
@media (max-width:580px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.i-member-item-inner {
|
|
height: auto !important;
|
|
display: block;
|
|
}
|
|
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background-color: rgba($theme-color-second, 0.1)!important;
|
|
border-radius: 1em;
|
|
overflow: hidden;
|
|
padding: 0 0 1em;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
aspect-ratio:3 / 3 ;
|
|
}
|
|
|
|
.i-member-pic {
|
|
width: 100%;
|
|
object-position: top;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
text-align: center;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
padding-top: 0.5em;
|
|
line-height: 1.3;
|
|
letter-spacing: 1px;
|
|
}
|
|
.i-member-title { display: none; }
|
|
.i-member-item:nth-child(4n+1) {
|
|
clear: both;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
padding: 0;
|
|
}
|
|
}
|
|
//index 11
|
|
.index-member-11 {
|
|
.i-member-section {
|
|
margin: auto;
|
|
}
|
|
.i-member-list {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
margin: 0;
|
|
}
|
|
.i-member-item {
|
|
float: none;
|
|
padding: 15px;
|
|
|
|
@media (max-width:1280px) {
|
|
width: calc( 100% / 3 );
|
|
}
|
|
@media (max-width:767px) {
|
|
width: calc( 100% / 2 );
|
|
}
|
|
@media (max-width:580px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.i-member-item-inner {
|
|
height: auto !important;
|
|
}
|
|
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background: none;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
overflow: hidden;
|
|
border-radius: 50%;
|
|
height: 14em;
|
|
width: 14em;
|
|
margin: 1.5em auto 1em auto;
|
|
}
|
|
|
|
.i-member-pic {
|
|
width: 100%;
|
|
border-radius: 1em;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
text-align: center;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
font-size: 1em;
|
|
line-height: 1.3;
|
|
padding-top: 0.5em;
|
|
letter-spacing: 1px;
|
|
}
|
|
.i-member-title { display: none; }
|
|
.i-member-item:nth-child(4n+1) {
|
|
clear: both;
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
padding: 0;
|
|
}
|
|
}
|
|
// Show page
|
|
.show-member {
|
|
font-family: $sub-font;
|
|
.member-data-title-name{
|
|
display: none;
|
|
}
|
|
.memberul{
|
|
padding: 0;
|
|
li{
|
|
margin-bottom: 0.5em;
|
|
list-style: none;
|
|
}
|
|
}
|
|
|
|
.member-plugins {
|
|
margin: 0;
|
|
li{
|
|
list-style: none;
|
|
}
|
|
}
|
|
.nav-link:focus, .nav-link:hover {
|
|
color:#fff;
|
|
}
|
|
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
|
|
background-color: $theme-color-second;
|
|
}
|
|
.nav-pills>li>a {
|
|
border-radius: unset;
|
|
background-color: #eee;
|
|
transition: all 0.5s;
|
|
}
|
|
.nav>li>a:focus, .nav>li>a:hover {
|
|
background-color: darken($color: #eee, $amount: 10%);
|
|
}
|
|
.tab-content {
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
.custom-scroll-arrow {
|
|
border: unset;
|
|
border-top: none;
|
|
color: #428bca;
|
|
font-size: 1.25em;
|
|
margin-bottom: 0;
|
|
padding-left: 6px;
|
|
padding-right: 5px;
|
|
padding-top: 6px;
|
|
width: 20px;
|
|
&:hover {
|
|
background-color: unset;
|
|
color: darken($color: #428bca, $amount: 10);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 580px) {
|
|
.row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.member-pic { width: 80%; margin: 0 auto 10px; }
|
|
.member-data { width: 100%; }
|
|
}
|
|
}
|
|
.show-member{
|
|
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
|
|
border: 0;
|
|
}
|
|
}
|
|
// Index 9
|
|
.index-member-9 {
|
|
.i-annc__page-title{
|
|
display: none;
|
|
}
|
|
@media(min-width:769px){
|
|
.i-member-profile-list{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
.i-member-profile-item.deputy {
|
|
width: 100%;
|
|
}
|
|
.titlesection,.infosection{
|
|
width: 50%;
|
|
}
|
|
}
|
|
.i-member-pic-wrap{
|
|
display: none!important;
|
|
}
|
|
.member-data-value-1 {
|
|
color: #0693e3;
|
|
font-size: 1.5em;
|
|
}
|
|
.member-data-value-name{
|
|
color: #0693e3;
|
|
font-size: 2em;
|
|
}
|
|
.member-data-title-1,.member-data-title-name {
|
|
display: none;
|
|
}
|
|
.i-member-section {
|
|
max-width: 31.25em;
|
|
margin: auto;
|
|
}
|
|
|
|
.i-member-status-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
background: none;
|
|
padding: 1.5em 1rem;
|
|
margin-bottom: 1em;
|
|
border-bottom: 2px solid #333;
|
|
@media(max-width:768px){
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
.i-member-profile-data-wrap{
|
|
@media(max-width:768px){
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.i-member-pic-wrap {
|
|
height: auto;
|
|
margin-bottom: 1em;
|
|
clip-path: polygon(25% 5.77%, 75% 5.77%, 100% 50%, 75% 94.23%, 25% 94.23%, 0% 50%);
|
|
height: 10em;
|
|
width: 10em;
|
|
padding: 0;
|
|
}
|
|
|
|
.i-member-pic {
|
|
width: 100%;
|
|
padding: 0;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.i-member-profile-list {
|
|
@include list-reset;
|
|
color: #576972;
|
|
}
|
|
|
|
.i-member-profile-item {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
// RWD
|
|
@media screen and (min-width: $screen-sm) {
|
|
.i-member-section {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.i-member-item-inner {
|
|
|
|
}
|
|
}
|
|
} |