AsiaV2b/assets/stylesheets/template/modules/member.scss

260 lines
4.0 KiB
SCSS

@charset "utf-8";
@import "../initial";
//
// Index
//
// Member Index
// ## Gerneral styles for Index
// Index 1
.i-member {
.i-member-tr-head th {
background: $th-color;
}
td {
border-top: unset;
}
.i-member-status-title {
color: $widget-title-color;
font-weight: bold;
font-size: 1.154em;
@extend .unity-title;
}
.member-data-value-name:hover {
text-decoration: underline;
}
.member-data-value-responsibilities {
line-height: 1em !important;
}
}
.index-member-1 {
.i-member-status-title {
color: $widget-title-color;
font-weight: bold;
font-size: 1.154em;
@extend .unity-title;
}
.i-member-tr-head {
&:nth-child(1n+2) {
display: none;
}
th {
background: $th-color;
color: #fff;
}
}
}
// Index 2
.index-member-2 {
.i-member-section {
max-width: 31.25em;
margin: auto;
}
.i-member-status-title {
color: $widget-title-color;
font-weight: bold;
font-size: 1.154em;
@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;
margin-bottom: 1em;
}
.i-member-pic {
width: 100%;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 0.5em;
font-size: $font-13;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
background: $theme-gray-lighter;
}
}
}
// Index 3
.index-member-3 {
.i-member-section {
max-width: 31.25em;
margin: auto;
}
.i-member-list {
display: flex;
flex-flow: row wrap;
margin: 0;
}
.i-member-item {
background: #f1f1f1 none repeat scroll 0 0;
border-radius: 0.3125em;
float: none;
margin: 0 1% 1.875em;
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%;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 0.5em;
font-size: $font-13;
}
.i-member-item:nth-child(odd) {
clear: both;
}
.i-member-item-inner {}
.i-member-pic-wrap {
padding: 0;
}
// RWD
@media(max-width: 767px) {
.i-member-section {
max-width: unset;
}
.i-member-item {
width: 100%;
.i-member-pic-wrap {
width: 30%;
float: left;
}
.i-member-profile-data-wrap {
width: 70%;
float: right;
}
}
}
@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;
}
}
}
// Index 4
.index-member-4 {
.i-member-section {
max-width: 31.25em;
margin: auto;
}
.i-member-status-title {
color: $widget-title-color;
font-weight: bold;
font-size: 1.154em;
@extend .unity-title;
}
.i-member-item-inner {
background: none;
border-radius: 0.25rem;
padding: 0.75em 1rem;
margin-bottom: 1em;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 0.5em;
font-size: $font-13;
word-break: break-word;
}
.i-member-item:nth-child(6n+1) {
clear: both;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
background: $theme-gray-lighter;
}
}
}
// Show page
.show-member {
font-family: $sub-font;
th, td {
font-size: 0.938em;
}
.member-plugins {
margin: 1.25em 0;
a {
font-size: 0.938em;
}
}
}