418 lines
7.2 KiB
SCSS
418 lines
7.2 KiB
SCSS
|
@charset "utf-8";
|
||
|
|
||
|
@import "../initial";
|
||
|
|
||
|
//
|
||
|
// Index
|
||
|
//
|
||
|
// Member Index
|
||
|
// ## Gerneral styles for Index
|
||
|
.i-member-profile-item:nth-child(1){
|
||
|
font-size:1.4em!important;
|
||
|
}
|
||
|
.member-pic{
|
||
|
&:hover{
|
||
|
.img {
|
||
|
transform: scale(1.1,1.1);
|
||
|
-webkit-transition: all .2s ease-in-out;
|
||
|
-o-transition: all .2s ease-in-out;
|
||
|
transition: all .2s ease-in-out;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.img-thumbnail{
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
// 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;
|
||
|
min-width: 40%;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Index 2
|
||
|
.index-member-2 {
|
||
|
.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;
|
||
|
&:hover{
|
||
|
transition: background-color .125s linear;
|
||
|
background-color: #e3e3e3;
|
||
|
.i-member-pic {
|
||
|
transform: scale(1.1,1.1);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.img-thumbnail {
|
||
|
border: none;
|
||
|
}
|
||
|
.i-member-pic-wrap {
|
||
|
height: auto;
|
||
|
margin-bottom: 1em;
|
||
|
overflow: hidden;
|
||
|
overflow: hidden;
|
||
|
// border: 0.0625em solid #cecece;
|
||
|
padding: 0;
|
||
|
@media (max-width: 768px){
|
||
|
width: 85%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.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-inner {
|
||
|
background: $theme-gray-lighter;
|
||
|
}
|
||
|
// RWD
|
||
|
@media screen and (min-width: $screen-sm) {
|
||
|
.i-member-section {
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Index 3
|
||
|
.index-member-3 {
|
||
|
.i-member-section {
|
||
|
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%;
|
||
|
&:hover{
|
||
|
// box-shadow: 0px 0px 1px 1px #c0c0c0;
|
||
|
transition: background-color .125s linear;
|
||
|
background-color: #e3e3e3;
|
||
|
.i-member-pic {
|
||
|
transform: scale(1.1,1.1);
|
||
|
-webkit-transition: all .2s ease-in-out;
|
||
|
-o-transition: all .2s ease-in-out;
|
||
|
transition: all .2s ease-in-out;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
.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 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-item-inner { display: flex; }
|
||
|
.i-member-pic-wrap { width: 40%; }
|
||
|
.i-member-profile-data-wrap { width: 60%; }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Index 4
|
||
|
.index-member-4 {
|
||
|
.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: 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(4n+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;
|
||
|
}
|
||
|
.i-member-item:nth-child(even) {
|
||
|
// background: #f8f8f8;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//index 5
|
||
|
.index-member-5 {
|
||
|
.i-member-profile-data-wrap{
|
||
|
margin-left: 1em;
|
||
|
}
|
||
|
.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;
|
||
|
margin-bottom: 16px;
|
||
|
|
||
|
@media(max-width:580px) {
|
||
|
overflow: hidden;
|
||
|
border-radius: 50%;
|
||
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
||
|
height: 14em;
|
||
|
width: 14em;
|
||
|
margin: 1.5em auto 1em auto;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.i-member-pic {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.i-member-profile-list {
|
||
|
@include list-reset;
|
||
|
word-break: break-all;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
|
||
|
th, td {
|
||
|
font-size: 1.2em;
|
||
|
}
|
||
|
|
||
|
.member-plugins {
|
||
|
margin: 0;
|
||
|
|
||
|
a {
|
||
|
font-size: 0.938em;
|
||
|
}
|
||
|
}
|
||
|
.row {
|
||
|
padding-bottom: 1em;
|
||
|
}
|
||
|
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
|
||
|
background-color: #91bfea;
|
||
|
}
|
||
|
.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%; }
|
||
|
}
|
||
|
}
|
||
|
@media screen and (max-width: 580px){
|
||
|
.table-striped{
|
||
|
th{
|
||
|
width: 20%;
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
@media screen and (max-width: 768px){
|
||
|
.i-member-profile-data-wrap.col-sm-9 {
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
.index-member-2-1 .i-member-item.row:not(:first-child) {
|
||
|
padding-top: 2em;
|
||
|
}
|