orbit_demo_new_old/assets/stylesheets/template/modules/archives.scss

609 lines
11 KiB
SCSS

@charset "utf-8";
@import "../initial";
//
// Widget
//
// Widget
// ## gerenral styles
.i-archive{
tr{
border: 0.0625em solid #ddd!important;
}
}
.i-items{
@media(min-width: 768px){
background-color: #fff;
}
}
.w-archive__title{
font-weight: bold;
@extend .i-title;
}
.w-archive__list{
padding-left: 0.8em;
}
.w-archive__item{
list-style: none;
@extend .i-subtitle;
}
.w-archive {
.w-archive__widget-title {
@extend .unity-title;
margin: 0.5rem 0;
}
.widget-title {
@extend .unity-title;
}
}
.i-archive-item-title{
font-weight: normal;
}
.panel-title{
@extend .i-title;
}
// Widget 1
.widget-archive-1 {
.w-archive__list.level-1 {
padding: 0.5rem;
}
.w-archive__item.level-1 {
list-style-position: inside;
margin-bottom: 0.8rem;
}
.w-archive__item-heading {
display: inline-block;
// font-size: $w-item-heading-font-size;
// color: $theme-gray;
font-family: $main-font;
margin: 0;
padding-bottom: 0.25rem;
}
.w-archive__list.level-2 {
margin: 0;
padding: 0;
}
.w-archive__item.level-2 {
border-bottom: 0.0625em dashed $w-border-color;
padding: 0 0 0.5rem 0.4rem;
.w-archive__list.level-3 {
list-style-type: none;
padding: 0;
& > li:before {
content:"";
background: url(/assets/arr.gif) 0 0 no-repeat;
display:inline-block;
width:0.3125em;
height: 0.5em;
padding: 0 0.3rem;
}
}
}
.w-archive__link {
@extend .i-subtitle;
}
}
//Widget 2
.widget-archive-2 {
.panel-default > .panel-heading {
cursor: pointer;
padding: 0;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
&:hover {
background-color: darken($color: #f5f5f5, $amount: 10);
}
}
.panel {
font-family: $main-font;
margin-bottom: 0.625em;
}
.panel-title {
font-family: $main-font;
a {
display: block;
padding: 0.625em 0.9375em;
.fa { padding-right: 0.5em; }
}
}
}
//index setting
.i-archive{
.date-thead,.title-thead,.file-thead,.description-thead{
padding-bottom: 0.5em;
padding-top: 0.5em;
font-size: 1em;
font-weight: bold;
}
}
.archive-items{
font-size: 1em;
background-color: #fff;
}
.i-items{
.thead{
border-bottom: 0.0625em solid #ddd;
}
}
.i-archive-title {
@extend .unity-title;
}
.link{margin-left: 0.5em;}
.txt { background-color: #6dbb73; margin-left: 0.5em;}
.xlsx { background-color: #bb6d7f; margin-left: 0.5em;}
.pdf { background-color: #3b8347; margin-left: 0.5em;}
.docx { background-color: #846dbb; margin-left: 0.5em;}
.pptx { background-color: #6d77bb; margin-left: 0.5em;}
.jpg { background-color: #bb6d6d; margin-left: 0.5em;}
.zip { background-color: #dcb957; margin-left: 0.5em;}
.table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th{
// border-top: 0.0625em solid #ddd;
}
// Archive index 1
.index-archive-1 {
font-family: $main-font;
.i-archive__archive-title {
font-size: 1.2rem;
margin-bottom: 0.625em;
vertical-align: top;
}
.i-archive__status-wrap {
vertical-align: top;
display: inline-block;
margin-bottom: 0.625em;
}
.i-archive__item {
margin-bottom: 2.5em;
list-style: none;
}
.i-archive__category-list {}
.i-archive__category-title {
padding-bottom: 0.3125em;
}
.i-archive__category-item {
display: inline;
font-size: 0.8125rem;
}
.i-archive__item-wrap {}
.i-archive__file-list {
display: block;
margin-bottom: 0.8em;
}
.i-archive__file-wrap {
margin: 0 0.625rem 1em 0;
padding: 0.5em 0.75em;
border-radius: 0.125em;
border: 0.0625em solid lighten($theme-gray-light, 10%);
}
.i-archive__file-name {
font-size: 1rem;
}
}
.index-archive-4 {
dt.i-archive-item-list { display: none; }
dl.i-archive-files-list { padding: 0; }
@media (min-width: 768px) {
.dl-horizontal dd { margin-left: 0 !important; }
}
}
.index-archive-3{
.i-archive__item {
list-style: none;
}
}
.index-archive-2,
.index-archive-4 {
.panel-default>.panel-heading {
cursor: pointer;
padding: 0;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
&:hover {
background-color: darken($color: #f5f5f5, $amount: 10);
}
}
.panel {
font-family: $main-font;
margin-bottom: 0.625em;
}
.panel-title {
font-family: $main-font;
a {
display: block;
padding: 0.625em 0.9375em;
.fa { padding-right: 0.5em; }
}
}
.i-archive-tags {
margin-bottom: 0;
}
.i-archive-files-item {
font-size:1em;
font-family: $main-font;
}
.i-archive-files-list {
dd {
margin-bottom: 0.3em;
}
}
.i-archive-tag-name {
margin-bottom: 0.5em;
font-size: 0.9375rem;
display: inline-block;
}
@media screen and (min-width: $screen-sm) {
.dl-horizontal {
dt {
text-align: left;
}
}
.dl-horizontal dt { overflow: unset; white-space: unset; }
.dl-horizontal dd { margin-left: 1em; }
}
}
.has-archive-tab {
.i-tag__item {
display: none;
}
.tab-content--active {
display: block !important;
}
.i-archive__tag-name {
cursor: pointer;
}
}
.index-archive-3 {
.i-archive__tag-name {
background-color: $theme-color-main;
color: $theme-white;
font-family: $main-font;
display: inline-block;
padding: 0.625em 0.75em;
margin-right: 0.3125em;
border-radius: 0.25em;
font-size: 0.938em;
&:hover {
background-color: darken($theme-color-main, 7%);
}
&.tab--active {
background-color: darken($theme-color-main, 7%);
}
}
.tab-content {
background-color: lighten($theme-gray, 65%);
padding: 20.3125em;
}
.i-archive__category-item {
margin-bottom: 0.5em;
}
.i-archive__category-title {
font-family: $main-font;
}
.i-archive__archive-title {
font-size: 0.938em;
}
.tab-content {
margin-bottom: 0.625em;
}
.i-archive__file-name {
font-size: 1em;
}
.i-archive__file-wrap {
margin-bottom: 0.625em;
}
.i-archive__item-wrap {
font-family: $main-font;
}
}
.index-archive-5 {
.head{
}
.i-archive__category-title {
font-size: 1rem;
margin-bottom: 0.625em;
vertical-align: top;
}
.i-items {
background: #fff;
margin-bottom: 1.5em;
position: relative;
background: #fff;
border-radius: 5px;
}
.thead.row {
margin: 0;
border-bottom: 0.0625em solid #ddd;
@media (max-width: 767px) {
display: none;
}
}
.archive-items {
padding-bottom: 0.5em;
padding-top: 0.5em;
&:nth-child(odd){
background-color: #F3F3F3;
}
div:nth-child(1), div:nth-child(2) {
}
}
}
.index-archive-6 {
.i-archive__category-title {
font-size: 1rem;
margin-bottom: 0.625em;
vertical-align: top;
}
.i-items {
background: #fff;
margin-bottom: 1.5em;
position: relative;
background: #fff;
border-radius: 5px;
}
.head{
@media(min-width: 821px){
}
}
.i-archive__file { margin: 0; }
.i-archive__file-list { }
.thead.row {
@media (max-width: 767px) {
display: none;
}
}
.archive-items {
border-bottom: 1px solid transparent;
padding-bottom: 0.5em;
padding-top: 0.5em;
&:nth-child(odd) {
background-color: #F3F3F3;
}
div:nth-child(1), div:nth-child(2) {
// border-right: 1px solid #333;
}
}
}
.index-archive-7 {
.i-archive__category-title {
font-size: 1rem;
margin-bottom: 0.625em;
vertical-align: top;
}
.i-items {
margin-bottom: 1.5em;
position: relative;
border-radius: 5px;
@media(max-width: $screen-xs){
padding: 1em;
}
}
.thead.row {
margin: 0;
@media (max-width: 767px) {
display: none;
}
}
.archive-items {
margin-bottom: 1em;
line-height: 2;
div:nth-child(1), div:nth-child(2) {
}
}
}
.index-archive-9{
@media(max-width: $screen-xs){
.thead{
border:0;
border-top: 0.0625em solid #ddd;
}
tr{
margin-bottom: 1em;
}
}
th{
@media(max-width: $screen-xs){
width: 100%;
}
}
}
.index-archive-10{
@media(max-width: $screen-xs){
tr{
margin-bottom: 1em;
}
}
.i-archive__category-title {
font-size: 1rem;
margin-bottom: 0.625em;
vertical-align: top;
}
.i-items {
margin-bottom: 1.5em;
position: relative;
border-radius: 5px;
}
.thead.row {
margin: 0;
@media (max-width: 767px) {
display: none;
}
}
.archive-items {
line-height: 2;
&:nth-child(odd){
background-color: #F3F3F3;
}
div:nth-child(1), div:nth-child(2) {
}
}
}
.index-archive-13{
.archives-ul{
padding: 1em;
}
.archives-ul .archive-li{
list-style-type: none!important;
}
li{
list-style: none;
}
}
.index-archive-14{
label{
margin-left: 0.5em;
}
@media(max-width: $screen-xs){
.fa-file-text{
display: none;
}
ul{
padding: 0;
}
}
.archives-ul .archive-li{
list-style-type: none!important;
}
li{
list-style: none;
}
}
.index-archive-15{
label{
margin-left: 0.5em;
}
}
.index-archive-16{
label{
margin-left: 0.5em;
}
.archives-ul .archive-li{
list-style-type: none!important;
}
li{
list-style: none;
}
.i-archive-files-list{
padding-left: 12%;
}
.panel-title {
font-family: $main-font;
display: flex;
flex-wrap: wrap;
a {
@media(min-width: 769px){
max-width: 80%;
}
}
}
.fa-file-text{
padding-right: 5px;
}
.i-archive-files-list{
@media(max-width: 768px){
padding: 0;
}
}
.head{
width: 100%;
border-bottom: 1px solid #ddd;
padding: 0;
}
.description{
width: 100%;
padding: 0;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 12%;
@media(max-width: $screen-xs){
padding-left: 0;
}
}
// .collapse.in{
// display: block ;
// }
// .panel-collapse{
// display: none;
// }
.date{
@media(min-width:1025px){
width: 12%!important;
}
@media(max-width: 768px){
padding: 0;
}
}
.fa-file-text{
@media(max-width: 768px){
float: left;
padding-right: 5px;
display: none;
}
}
}
.i-archive-files-itemwrapper{
width: 100%;
border-top: 1px solid #ddd;
padding: 0;
display: flex;
align-items: center;
padding-bottom: 5px;
padding-top: 5px;
}