Browse Source

FE update

* New fleeleeches view CSS
* Justified gallery FE php
master
Tomochin 1 year ago
parent
commit
d7d538ae39
3 changed files with 56 additions and 1 deletions
  1. +2
    -0
      design/privateheader.php
  2. +22
    -1
      static/styles/global.css
  3. +32
    -0
      static/styles/orion/style.css

+ 2
- 0
design/privateheader.php View File

@@ -97,6 +97,8 @@ foreach ($ExtraCSS as $CSS) {
}
?>
<script src="https://code.jquery.com/jquery-3.2.1.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" media="screen" href="https://cdnjs.cloudflare.com/ajax/libs/justifiedGallery/3.8.1/css/justifiedGallery.min.css">
<?

$Scripts = array_merge(array('global', 'ajax.class', 'jquery.autocomplete', 'autocomplete', 'tooltipster'), explode(',', $JSIncludes));


+ 22
- 1
static/styles/global.css View File

@@ -1,5 +1,5 @@
#logo a {
background: url('https://img3.sugoimusic.me/permanent-cache/auth/63mqMMaHXYQKGOpX5Jzv6fPaLHfZ3BPF9jJpVOaJsws%3D/orig-url/https%3A%2F%2Fi.imgur.com%2FRfVO5qu.png/image') no-repeat center center;
background: url('https://img3.sugoimusic.me/permanent-cache/auth/mCV5aEeuQaQNXH8S1174yuBeLbHGmNLlh7RL9UF64rs%3D/orig-url/https%3A%2F%2Fptpimg.me%2Fzswigv.jpg/image') no-repeat center center;
}

/* We're going to opt for the category icon method for now, tags_* is also available */
@@ -38,6 +38,27 @@
width: 32px; /* Ensures that the column is always as tight as possible */
}

/* Reduced, normalised sizes for all torrent list views */
.tiny_cats_col .cats_album { width: 21px; height: 21px; }
.tiny_cats_col .cats_single { width: 21px; height: 21px; }
.tiny_cats_col .cats_ep { width: 21px; height: 21px; }
.tiny_cats_col .cats_bluray { width: 19px; height: 19px; }
.tiny_cats_col .cats_dvd { width: 19px; height: 19px; }
.tiny_cats_col .cats_tvmusic { width: 16px; height: 16px; }
.tiny_cats_col .cats_tvvariety { width: 16px; height: 16px; }
.tiny_cats_col .cats_tvdrama { width: 16px; height: 16px; }
.tiny_cats_col .cats_musicperformance { width: 16px; height: 16px; }
.tiny_cats_col .cats_pv { width: 16px; height: 16px; }
.tiny_cats_col .cats_pictures { width: 16px; height: 16px; }
.tiny_cats_col .cats_misc { width: 19px; height: 19px; }

.tiny_cats_col {
padding: 2px;
width: 16px; /* Ensures that the column is always as tight as possible */
}



.box h3 {
font-size: 140%;
}


+ 32
- 0
static/styles/orion/style.css View File

@@ -1141,6 +1141,38 @@ td.tdright {
padding: 5px
}

#freeleeches table {
width: 100%;
border-collapse: inherit;
}

#freeleeches td {
padding: 2px
}

#freeleeches td:first-child {
padding-left: 12px;
}

#freeleeches td:last-child {
padding-right: 6px;
}

#freeleeches td.tdleft {
text-align: left;
padding: 2px
}

#freeleeches td.tdcenter {
text-align: center;
padding: 2px
}

#freeleeches td.tdright {
text-align: right;
padding: 2px
}

.forum_group_header {
background-color: var(--color-textarea)!important;
color: #fff;


Loading…
Cancel
Save