nyaa/nyaa/static/css/main.css

179 lines
3.7 KiB
CSS

.panel-heading-collapse a:after {
font-family:'Glyphicons Halflings';
content:"\e114";
float: right;
color: grey;
}
.panel-heading-collapse a.collapsed:after {
content:"\e080";
}
.torrent-list > tbody > tr > td {
vertical-align: middle;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 603px; /*Will this break something?*/
}
table.torrent-list thead th {
position: relative;
background-image: none !important;
}
table.torrent-list thead th a {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
text-decoration: none;
z-index: 10;
/* IE Workaround */
background-color: white;
opacity: 0;
filter: alpha(opacity=1);
}
table.torrent-list thead th.sorting:after,
table.torrent-list thead th.sorting_asc:after,
table.torrent-list thead th.sorting_desc:after {
position: absolute;
top: 12px;
right: 8px;
display: block;
font-family: FontAwesome;
}
table.torrent-list thead th.sorting:after {
content: "\f0dc";
color: #808080;
font-size: 0.85em;
}
table.torrent-list thead th.sorting_asc:after {
content: "\f0de";
}
table.torrent-list thead th.sorting_desc:after {
content: "\f0dd";
}
#torrent-description img {
max-width: 100%;
}
.table > tbody > tr.deleted > td, .table > tbody > tr.deleted > th, .table > tbody > tr > td.deleted, .table > tbody > tr > th.deleted, .table > tfoot > tr.deleted > td, .table > tfoot > tr.deleted > th, .table > tfoot > tr > td.deleted, .table > tfoot > tr > th.deleted, .table > thead > tr.deleted > td, .table > thead > tr.deleted > th, .table > thead > tr > td.deleted, .table > thead > tr > th.deleted {
background-color:#9e9e9e;
}
.table-hover > tbody > tr.deleted:hover > td, .table-hover > tbody > tr.deleted:hover > th, .table-hover > tbody > tr:hover > .deleted, .table-hover > tbody > tr > td.deleted:hover, .table-hover > tbody > tr > th.deleted:hover {
background-color:#bdbdbd;
}
.panel-deleted {
border-color:#757575;
}
.panel-deleted > .panel-heading {
color:#212121;
background-color:#9e9e9e;
border-color:#757575;
}
.panel-deleted > .panel-heading + .panel-collapse > .panel-body {
border-top-color:#757575;
}
.panel-deleted > .panel-heading .badge {
color:#9e9e9e;
background-color:#212121;
}
.panel-deleted > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color:#757575;
}
.markdown-editor label {
padding: 1em 0;
}
@media (max-width: 991px){
.col-md-5 {
margin-left: 20px;
margin-bottom: 10px;
}
}
.search-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.form-control.search-bar {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1;
width: 99%;
padding-right: 4em;
}
.search-btn {
-webkit-box-ordinal-group: 3;
-ms-flex-order: 2;
order: 2;
-ms-flex-item-align: end;
align-self: flex-end;
top: -34px;
height: 0;
width: auto;
z-index: 3;
}
#navFilter-criteria {
-webkit-box-ordinal-group: 4;
-ms-flex-order: 3;
order: 3;
}
#navFilter-category {
-webkit-box-ordinal-group: 5;
-ms-flex-order: 4;
order: 4;
}
.nav-filter {
width: 100%;
padding: 1em 0;
}
.bootstrap-select > button {
margin-top: 1em;
}
/* Allows the bootstrap selects on nav show outside the
collapsible section of the navigation */
.navbar-collapse.in {
overflow-y: visible;
}
@media (min-width: 991px) {
.search-btn {
top: 0;
width: auto;
}
.bootstrap-select > button {
margin-top: auto;
}
}
/* elasticsearch term highlight */
.hlt1 {
font-style: normal;
display: inline-block;
padding: 0 3px;
border-radius: 3px;
border: 1px solid rgba(100, 56, 0, 0.8);
background: rgba(200,127,0,0.3);
}