160 lines
3.2 KiB
CSS
160 lines
3.2 KiB
CSS
/* General style with default layout */
|
|
.o-archives {}
|
|
.o-archives-content {}
|
|
.o-archives-group {
|
|
margin: 20px 0 0 0;
|
|
padding: 20px 0 0 0;
|
|
border-top: dashed 1px #eee;
|
|
}
|
|
.o-archives-group:first-child {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
.o-archives-category {
|
|
padding-bottom: 16px;
|
|
border-bottom: solid 2px #ccc;
|
|
font-weight: bold;
|
|
}
|
|
.o-archives-list {}
|
|
.o-archives-list ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.o-archives-list li {}
|
|
.o-archives-title {
|
|
border-left: solid 8px #eee;
|
|
border-bottom: solid 1px #eee;
|
|
padding: 0 0 0 16px;
|
|
}
|
|
.o-archives-list-item {}
|
|
.o-archives-list-item ol {
|
|
list-style-type: decimal;
|
|
}
|
|
.o-archives-list-item li {
|
|
margin: 0 0 10px 0;
|
|
}
|
|
.o-archives-file {}
|
|
.o-archives-file:hover {}
|
|
.o-archives-file-type {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
margin-left: 8px;
|
|
padding: 0 4px;
|
|
height: 15px;
|
|
font-size: 9px;
|
|
text-transform: uppercase;
|
|
line-height: 15px;
|
|
background-color: #999;
|
|
color: #FFF;
|
|
border-radius: 3px;
|
|
-webkit-text-size-adjust: none;
|
|
}
|
|
|
|
/* Tag list */
|
|
.o-archives-tag-list {}
|
|
.o-archives-tag-list ul {
|
|
margin: 0 -4px;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.o-archives-tag-list ul:after {
|
|
content: ".";
|
|
clear: both;
|
|
display: block;
|
|
height: 0;
|
|
visibility: hidden;
|
|
}
|
|
.o-archives-tag-list li {
|
|
float: left;
|
|
margin: 0 4px 8px 4px;
|
|
}
|
|
.o-archives-tag {
|
|
display: block;
|
|
border: solid 1px #ccc;
|
|
padding: 2px 6px;
|
|
}
|
|
.o-archives-tag:hover {}
|
|
|
|
/* Table layout */
|
|
.o-archives.layout-table {}
|
|
.o-archives-search {
|
|
overflow: hidden;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
.o-archives-search label {
|
|
display: inline-block;
|
|
margin: 0 8px 0 0;
|
|
}
|
|
.o-archives-search-option {
|
|
float: right;
|
|
}
|
|
.o-archives-search-option select {
|
|
width: 80px;
|
|
}
|
|
.o-archives-search-keyword {}
|
|
.o-archives-search-keyword input[type=submit] {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
margin: 0 0 0 8px;
|
|
}
|
|
.o-archives.layout-table table {
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
}
|
|
.o-archives.layout-table tbody td {
|
|
vertical-align: top;
|
|
border-top: solid 1px #eee;
|
|
padding: 8px 4px;
|
|
}
|
|
.o-archives.layout-table .even {}
|
|
.o-archives.layout-table .even td {}
|
|
.o-archives.layout-table .column-ctrl {
|
|
text-align: left;
|
|
}
|
|
.o-archives.layout-table .column-ctrl.col-title { width: 30% }
|
|
.o-archives.layout-table .column-ctrl.col-file {}
|
|
.o-archives.layout-table .column-ctrl.col-category { width: 15%; }
|
|
.o-archives.layout-table .column-ctrl.col-tag { width: 20%; }
|
|
.o-archives.layout-table .o-archives-title {
|
|
font-weight: bold;
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
.o-archives.layout-table .o-archives-category {
|
|
padding: 0;
|
|
margin: 0;
|
|
border: 0;
|
|
}
|
|
.o-archives.layout-table .o-archives-tag {
|
|
display: inline-block;
|
|
margin-bottom: 3px;
|
|
}
|
|
.o-archives.layout-table .o-archives-category {
|
|
font-weight: normal;
|
|
}
|
|
.o-archives.layout-table table {
|
|
width: 100%;
|
|
}
|
|
.o-archives.layout-table tbody tr td {
|
|
border-top: none;
|
|
padding: 0;
|
|
}
|
|
.o-archives.layout-table tbody tr:nth-child(odd) td {
|
|
border-bottom: none;
|
|
padding: 10px 0 0;
|
|
}
|
|
.o-archives.layout-table tbody tr:nth-child(even) td .o-archives-category {
|
|
margin-bottom: 5px;
|
|
}
|
|
.o-archives.layout-table tbody .o-archives-list-item ol {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.o-archives.layout-table tbody .promoter-block {
|
|
margin: 0 0 10px;
|
|
padding: 0;
|
|
background-color: transparent;
|
|
border: none;
|
|
} |