Last active
July 26, 2017 12:45
-
-
Save dbaines/28653c63e6d2869a2b7f29430b4afb9a to your computer and use it in GitHub Desktop.
Newznab Light Theme - Stylish Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ===================================================================== | |
| Newznab Light Theme Customisations | |
| By David Baines 2017 | |
| This is a custom stylish mod for a specific newznab installation and theme. | |
| It may or may not work with other newznab installations and themes. | |
| REQUIREMENTS | |
| * Chrome with Stylish extension | |
| TODO: | |
| * Header responsiveness | |
| * Nuke messages | |
| ===================================================================== */ | |
| /* ===================================================================== | |
| SETTINGS | |
| ===================================================================== */ | |
| :root { | |
| /* Typography */ | |
| --x-small-font-size: 12px; | |
| --small-font-size: 14px; | |
| --base-font-size: 16px; | |
| --large-font-size: 20px; | |
| --base-line-height: 1.25; | |
| /* Spacing Units */ | |
| --xxxxx-small-unit: 8px; | |
| --xxxx-small-unit: 12px; | |
| --xxx-small-unit: 16px; | |
| --xx-small-unit: 20px; | |
| --x-small-unit: 24px; | |
| --small-unit: 28px; | |
| --default-unit: 32px; | |
| --large-unit: 36px; | |
| --x-large-unit: 40px; | |
| --xx-large-unit: 44px; | |
| --xxx-large-unit: 48px; | |
| --xxxx-large-unit: 56px; | |
| --xxxxx-large-unit: 64px; | |
| --xxxxxx-large-unit: 72px; | |
| /* Units */ | |
| --border-radius: 4px; | |
| /* Layout */ | |
| --container-width: 1800px; | |
| --container-padding: var(--default-unit); | |
| --container-padding-small: var(--xxx-small-unit); | |
| /* Colours */ | |
| --white: #fff; | |
| --black: #000; | |
| --passive-color: #F6F6F6; | |
| --grey: #eee; | |
| --primary-color: #2F3A4C; | |
| --primary-color-light: #687fa5; | |
| --secondary-color: #e0960f; | |
| --secondary-color-dark: #bc7f10; | |
| --foreground-color: var(--black); | |
| --link-color: var(--secondary-color); | |
| --link-hover-color: false; | |
| --success-color: #adf7c8; | |
| --highlight-color: #f8fccf; | |
| --error-color: #f13c31; | |
| /* Dividers */ | |
| --divider-color: #ccc; | |
| --divider: 1px solid var(--divider-color); | |
| --divider-passive-color: rgba(255,255,255,.3); | |
| --divider-passive: 1px solid var(--divider-passive-color); | |
| --divider-passive-light-color: rgba(255,255,255,.1); | |
| --divider-passive-light: 1px solid var(--divider-passive-light-color); | |
| } | |
| /* ===================================================================== | |
| OPEN SANS FONT | |
| ===================================================================== */ | |
| /* cyrillic-ext */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/K88pR3goAWT7BTt32Z01mxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); | |
| unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; | |
| } | |
| /* cyrillic */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/RjgO7rYTmqiVp7vzi-Q5URJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); | |
| unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |
| } | |
| /* greek-ext */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/LWCjsQkB6EMdfHrEVqA1KRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); | |
| unicode-range: U+1F00-1FFF; | |
| } | |
| /* greek */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/xozscpT2726on7jbcb_pAhJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); | |
| unicode-range: U+0370-03FF; | |
| } | |
| /* vietnamese */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/59ZRklaO5bWGqF5A9baEERJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); | |
| unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; | |
| } | |
| /* latin-ext */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/u-WUoqrET9fUeobQW7jkRRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); | |
| unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; | |
| } | |
| /* latin */ | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); | |
| unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; | |
| } | |
| /* ===================================================================== | |
| RESET | |
| ===================================================================== */ | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html,body { | |
| height: 100%; | |
| } | |
| html { | |
| margin: 0; | |
| width: auto; | |
| -webkit-font-smoothing: antialiased; | |
| text-decoration-skip: ink; | |
| } | |
| body { | |
| font-size: var(--base-font-size); | |
| line-height: var(--base-line-height); | |
| font-family: "Open Sans", sans-serif; | |
| display: flex; | |
| flex-direction: column; | |
| overflow-x: hidden; | |
| } | |
| @media only screen and (max-width: 800px) { | |
| body { | |
| --base-font-size: 14px; | |
| } | |
| } | |
| a { | |
| color: var(--link-color); | |
| } | |
| a:hover { | |
| color: var(--link-hover-color); | |
| } | |
| b { | |
| color: inherit; | |
| } | |
| /* ===================================================================== | |
| CONTAINERS | |
| ===================================================================== */ | |
| #logo .first-line, | |
| #menu, | |
| #page { | |
| float: none; | |
| clear: both; | |
| margin-left: auto; | |
| margin-right: auto; | |
| max-width: var(--container-width); | |
| padding-left: var(--container-padding); | |
| padding-right: var(--container-padding); | |
| } | |
| @media only screen and (max-width: 1200px) { | |
| #logo .first-line, | |
| #menu { | |
| padding-left: 0; | |
| padding-right: 0; | |
| } | |
| } | |
| @media only screen and (max-width: 800px) { | |
| #page { | |
| padding-left: var(--container-padding-small); | |
| padding-right: var(--container-padding-small); | |
| } | |
| } | |
| #wrapper { | |
| width: auto; | |
| font-size: inherit; | |
| } | |
| /* ===================================================================== | |
| COMPONENTS | |
| ===================================================================== */ | |
| img.shadow { | |
| padding: 0; | |
| box-shadow: none; | |
| border: 0; | |
| display: block; | |
| } | |
| .files { | |
| color: inherit; | |
| } | |
| a.files, | |
| a.cat { | |
| color: var(--link-color); | |
| } | |
| .tab_content { | |
| overflow: auto; | |
| } | |
| /* ===================================================================== | |
| FORMS | |
| ===================================================================== */ | |
| select, | |
| input[type=text], | |
| input[type=password]{ | |
| background: var(--white); | |
| padding: var(--xxxxx-small-unit); | |
| border: var(--divider); | |
| } | |
| .hint:last-child { | |
| margin-bottom: 0; | |
| } | |
| .hint a { | |
| text-decoration: underline; | |
| } | |
| .hint a:hover { | |
| text-decoration: none; | |
| } | |
| input + .hint, | |
| select + .hint{ | |
| margin-top: 6px; | |
| } | |
| .trumbowyg-box, .trumbowyg-editor { | |
| margin-left: 0; | |
| } | |
| /* ===================================================================== | |
| TABLE FORMS | |
| ===================================================================== */ | |
| fieldset { | |
| overflow: auto; | |
| border: 0; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| fieldset + fieldset:not([style*=float]), | |
| fieldset + div[style*=clear] + fieldset { | |
| margin-top: var(--large-unit); | |
| padding-top: var(--large-unit); | |
| border-top: var(--divider); | |
| width: auto; | |
| clear: both; | |
| } | |
| @media only screen and (min-width: 801px) { | |
| fieldset + fieldset:not([style*=float]), | |
| fieldset + div[style*=clear] + fieldset { | |
| grid-column: span 2; | |
| } | |
| } | |
| fieldset legend { | |
| float: left; | |
| width: 100%; | |
| margin-bottom: var(--xxx-small-unit); | |
| border: 0; | |
| padding: 0; | |
| font-size: var(--large-font-size); | |
| } | |
| table.input th { | |
| min-width: 200px; | |
| } | |
| table.input th + td, | |
| table.input td + td { | |
| padding-left: var(--xxx-small-unit); | |
| } | |
| table.input tr + tr th, | |
| table.input tr + tr td { | |
| padding-top: var(--xxx-small-unit); | |
| vertical-align: top; | |
| } | |
| /* ===================================================================== | |
| BUTTONS | |
| ===================================================================== */ | |
| .rndbtn { | |
| padding: 2px 8px; | |
| border: 0; | |
| font-size: var(--x-small-font-size); | |
| } | |
| .rndbtn, | |
| table.highlight tr:hover .rndbtn, | |
| table tr.alt .rndbtn { | |
| background: transparent; | |
| border: var(--divider); | |
| text-decoration: none; | |
| } | |
| .rndbtn:hover, | |
| table.highlight tr:hover .rndbtn:hover, | |
| table tr.alt .rndbtn:hover { | |
| background: transparent; | |
| } | |
| a.rndbtn:hover, | |
| table.highlight tr:hover a.rndbtn:hover, | |
| table tr.alt a.rndbtn:hover { | |
| background: var(--primary-color); | |
| border-color: var(--primary-color); | |
| color: var(--white); | |
| text-decoration: none; | |
| } | |
| input[type=submit], | |
| button[type=button] { | |
| border: 0; | |
| font-size: inherit; | |
| cursor: pointer; | |
| } | |
| input[type=submit], | |
| button[type=button], | |
| #nav li:hover > a.menu-donate, | |
| #logo a.menu-donate { | |
| padding: var(--xxxxx-small-unit) var(--xxx-small-unit); | |
| margin: -8px 0; | |
| color: var(--white); | |
| border-radius: var(--border-radius); | |
| background: var(--secondary-color); | |
| transition: background .2s; | |
| } | |
| input[type=submit]:hover, | |
| button[type=button]:hover, | |
| #logo a.menu-donate:hover, | |
| #nav li:hover > a.menu-donate:hover, | |
| #logo a.menu-donate:hover { | |
| background: var(--secondary-color-dark); | |
| } | |
| /* ===================================================================== | |
| HEADER | |
| ===================================================================== */ | |
| #logo, | |
| #header { | |
| width: 100%; | |
| float: none; | |
| clear: both; | |
| background: var(--primary-color); | |
| } | |
| #logo { | |
| margin-top: 0; | |
| background: linear-gradient(180deg, #212835 0%, var(--primary-color) 80%); | |
| } | |
| #logo .logolink { | |
| color: #fff; | |
| font-size: var(--default-unit); | |
| padding-top: var(--xxx-small-unit); | |
| padding-bottom: var(--xxx-small-unit); | |
| } | |
| #logo .logolink, | |
| #nav { | |
| float: none; | |
| } | |
| .first-line { | |
| display: flex; | |
| flex-direction: row; | |
| align-items: center; | |
| } | |
| #header { | |
| border-top: var(--divider-passive-light); | |
| } | |
| /* ===================================================================== | |
| HEADER - TOP RIGHT MENU | |
| ===================================================================== */ | |
| #nav { | |
| background: transparent; | |
| border: 0; | |
| box-shadow: none; | |
| margin: 0 0 0 auto; | |
| padding: 0; | |
| border-radius: 0; | |
| display: flex; | |
| flex-direction: row; | |
| line-height: initial; | |
| font-size: var(--small-font-size); | |
| z-index: 6; | |
| } | |
| #nav > li { | |
| margin: 0; | |
| padding: 0; | |
| float: none; | |
| margin-left: var(--xxx-small-unit); | |
| display: flex; | |
| align-items: center; | |
| z-index: 5; | |
| } | |
| #nav li:hover { | |
| text-shadow: none; | |
| } | |
| #nav a { | |
| font-size: inherit; | |
| font-weight: inherit; | |
| border-radius: 0; | |
| color: var(--white); | |
| padding: var(--xxx-small-unit) 0; | |
| text-shadow: none; | |
| } | |
| #nav .current a, | |
| #nav li:hover > a { | |
| color: var(--white); | |
| text-shadow: none; | |
| box-shadow: none; | |
| background: inherit; | |
| } | |
| /* Submenus */ | |
| #nav ul { | |
| border: 0; | |
| background: var(--white); | |
| border-radius: 0; | |
| top: 100%; | |
| transform: translateX(-50%); | |
| left: 50%; | |
| /* text-align: center; */ | |
| width: 150px; | |
| } | |
| #nav ul::before { | |
| content: ""; | |
| position: absolute; | |
| top: -8px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| border: 8px solid transparent; | |
| border-bottom-color: var(--white); | |
| border-top-width: 0; | |
| } | |
| #nav li:hover ul a { | |
| color: var(--foreground-color); | |
| text-shadow: none; | |
| padding: 4px var(--xxx-small-unit); | |
| } | |
| #nav li:hover ul a:hover { | |
| background: var(--passive-color) !important; | |
| color: var(--foreground-color) !important; | |
| } | |
| #nav li:hover > a.menu-donate, | |
| #logo a.menu-donate { | |
| margin: -8px 0; | |
| } | |
| /* ===================================================================== | |
| HEADER - BADGER (news counter) | |
| ===================================================================== */ | |
| .badger-outter { | |
| background: transparent; | |
| box-shadow: none; | |
| border: 0; | |
| width: auto; | |
| min-width: auto; | |
| height: auto; | |
| top: 0; | |
| } | |
| .badger-inner { | |
| margin: 0; | |
| background: var(--error-color); | |
| height: 20px; | |
| width: 20px; | |
| text-align: center; | |
| line-height: 20px; | |
| } | |
| .badger-number{ | |
| font-size: var(--x-small-font-size); | |
| position: static; | |
| } | |
| /* ===================================================================== | |
| HEADER - MAIN MENU | |
| ===================================================================== */ | |
| #menu { | |
| display: flex; | |
| flex-direction: row; | |
| } | |
| #headermenu { | |
| background: transparent; | |
| border: 0; | |
| padding: 0; | |
| box-shadow: none; | |
| margin: 0; | |
| border-radius: 0; | |
| display: flex; | |
| flex-direction: row; | |
| } | |
| #headermenu > li { | |
| border-left: var(--divider-passive-light); | |
| padding: 0; | |
| margin: 0; | |
| float: none; | |
| display: flex; | |
| align-items: center; | |
| } | |
| #headermenu > li > a { | |
| padding: var(--xxx-small-unit) var(--xxx-small-unit); | |
| } | |
| #headermenu li > a { | |
| border-radius: 0; | |
| color: var(--white); | |
| font-weight: inherit; | |
| } | |
| #headermenu .current a, | |
| #headermenu li:hover > a { | |
| background: var(--secondary-color); | |
| color: var(--white); | |
| text-shadow: none; | |
| } | |
| /* Submenus */ | |
| #headermenu ul { | |
| background: var(--white); | |
| border: 0; | |
| border-radius: 0; | |
| top: 100%; | |
| z-index: 5; | |
| /* box-shadow: none; */ | |
| } | |
| #headermenu ul li:hover a, | |
| #headermenu li:hover li a { | |
| /* color: var(--white); */ | |
| text-shadow: none; | |
| padding: 4px var(--xxx-small-unit); | |
| } | |
| #headermenu ul a:hover { | |
| background: var(--passive-color) !important; | |
| color: var(--foreground-color) !important; | |
| } | |
| #nav ul li:first-child>a, | |
| #nav ul li:last-child>a, | |
| #headermenu ul li:first-child>a, | |
| #headermenu ul li:last-child>a { | |
| border-radius: 0; | |
| } | |
| /* Search */ | |
| #headsearch_form { | |
| padding-left: var(--xxxxx-small-unit); | |
| display: flex; | |
| flex-direction: row; | |
| } | |
| #headsearch, | |
| #headcat { | |
| border: 0; | |
| margin-right: 1px; | |
| } | |
| #headsearch { | |
| background: var(--white); | |
| } | |
| #headsearch_go { | |
| background: var(--secondary-color); | |
| border: 0; | |
| padding: 4px var(--xxx-small-unit); | |
| color: var(--white); | |
| border-radius: 0 var(--border-radius) var(--border-radius) 0; | |
| cursor: pointer; | |
| transition: background .2s; | |
| } | |
| #headsearch_go:hover { | |
| background: var(--secondary-color-dark); | |
| } | |
| /* Donate bar */ | |
| #donation-completion { | |
| float: none !important; | |
| margin: 0 0 0 auto; | |
| font-size: var(--x-small-font-size); | |
| color: var(--white); | |
| display: flex; | |
| flex-direction: row; | |
| flex-wrap: wrap; | |
| padding-top: var(--xxxxx-small-unit); | |
| width: 120px !important; | |
| } | |
| #donation_label, | |
| #donation_percentage { | |
| position: static; | |
| } | |
| #donation_percentage { | |
| margin-left: auto; | |
| } | |
| #donation-completion .meter { | |
| width: 100%; | |
| } | |
| @media only screen and (max-width: 1220px) { | |
| #menu { | |
| flex-direction: column; | |
| } | |
| #headermenu { | |
| border-bottom: var(--divider-passive-light); | |
| } | |
| #donation-completion { | |
| margin-left: auto; | |
| margin-right: auto; | |
| padding-top: var(--xxxx-small-unit); | |
| padding-bottom: var(--xxxx-small-unit); | |
| } | |
| .meter { | |
| margin-bottom: var(--xxxxx-small-unit); | |
| } | |
| } | |
| @media only screen and (max-width: 1100px) { | |
| #headermenu { | |
| flex-wrap: wrap; | |
| } | |
| #headermenu > li:last-child { | |
| width: 100%; | |
| border-top: var(--divider-passive-light); | |
| padding-top: var(--xxxxx-small-unit); | |
| padding-bottom: var(--xxxxx-small-unit); | |
| justify-content: center; | |
| } | |
| #headsearch_form { | |
| flex-wrap: wrap; | |
| } | |
| } | |
| /* ===================================================================== | |
| PAGE | |
| ===================================================================== */ | |
| #page { | |
| flex-grow: 1; | |
| padding-top: var(--large-unit); | |
| padding-bottom: var(--large-unit); | |
| } | |
| #content { | |
| padding: 0; | |
| } | |
| #content > h1:first-child { | |
| font-size: 2em; | |
| text-align: center; | |
| word-wrap: break-word; | |
| } | |
| .global-message.gm-info, | |
| #content > #movie-details, | |
| #content > h1:first-child { | |
| margin-top: calc(var(--large-unit) * -1); | |
| background: var(--passive-color); | |
| margin-left: -100vw; | |
| margin-right: -100vw; | |
| padding-left: 100vw; | |
| padding-right: 100vw; | |
| margin-bottom: var(--large-unit); | |
| padding-top: var(--xx-large-unit); | |
| padding-bottom: var(--xx-large-unit); | |
| color: var(--foreground-color); | |
| position: relative; | |
| border-bottom: var(--divider); | |
| } | |
| /* ===================================================================== | |
| GLOBAL MESSAGE | |
| ===================================================================== */ | |
| .global-message.gm-info { | |
| background: var(--highlight-color); | |
| } | |
| .global-message h2, | |
| .global-message p { | |
| margin-left: 0; | |
| } | |
| /* ===================================================================== | |
| FOOTER | |
| ===================================================================== */ | |
| .footer { | |
| background: var(--passive-color); | |
| height: auto; | |
| margin: 0; | |
| padding-top: var(--default-unit); | |
| padding-bottom: var(--default-unit); | |
| border-top: var(--divider); | |
| } | |
| .footer p { | |
| padding: 0; | |
| } | |
| .footer a { | |
| color: var(--primary-color); | |
| } | |
| /* ===================================================================== | |
| PROFILE TABLES | |
| ===================================================================== */ | |
| #general.tab_content fieldset table, | |
| #settings.tab_content fieldset table, | |
| #integration.tab_content fieldset table, | |
| #history.tab_content table { | |
| width: 100%; | |
| border-spacing: 0; | |
| } | |
| #general.tab_content fieldset table td, | |
| #settings.tab_content fieldset table td, | |
| #integration.tab_content fieldset table td{ | |
| vertical-align: top; | |
| } | |
| #general.tab_content fieldset table td:first-child, | |
| #settings.tab_content fieldset table td:first-child, | |
| #integration.tab_content fieldset table td:first-child{ | |
| width: 220px; | |
| } | |
| #general.tab_content[style*=block], | |
| #settings.tab_content[style*=block], | |
| #integration.tab_content[style*=block]{ | |
| display: grid !important; | |
| grid-template-columns: 1fr; | |
| grid-template-rows: auto; | |
| grid-gap: var(--xxx-small-unit); | |
| } | |
| @media only screen and (min-width: 801px) { | |
| #general.tab_content[style*=block], | |
| #settings.tab_content[style*=block], | |
| #integration.tab_content[style*=block]{ | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| #general.tab_content fieldset[style*=float], | |
| #settings.tab_content fieldset[style*=float], | |
| #integration.tab_content fieldset[style*=float]{ | |
| width: auto !important; | |
| float: none !important; | |
| margin: 0 !important; | |
| } | |
| /* ===================================================================== | |
| SEARCH | |
| ===================================================================== */ | |
| #save-search { | |
| font-size: var(--body-font-size); | |
| display: block; | |
| margin-top: var(--default-unit); | |
| } | |
| /* ===================================================================== | |
| LISTINGS - FILTERS | |
| ===================================================================== */ | |
| .filters { | |
| clear: both; | |
| background: var(--passive-color); | |
| margin-bottom: var(--large-unit); | |
| overflow: auto; | |
| padding: 0; | |
| border: var(--divider); | |
| } | |
| .filters form { | |
| padding: var(--xxx-small-unit); | |
| } | |
| .filters-table { | |
| width: 100%; | |
| padding: 0; | |
| margin: 0; | |
| min-width: 400px; | |
| overflow: auto; | |
| border: 0; | |
| background: transparent; | |
| font-size: var(--body-font-size); | |
| } | |
| .filters-table td { | |
| padding-top: var(--xxxxx-small-unit); | |
| vertical-align: top; | |
| } | |
| .filters-table tr:nth-child(1n+2) th { | |
| padding-top: var(--xxx-small-unit); | |
| } | |
| .filters-table td select, | |
| .filters-table td label { | |
| display: block; | |
| } | |
| .filters-table td label + label { | |
| margin-top: -10px; | |
| } | |
| .filters-table.rndbtn:hover { | |
| background: transparent; | |
| color: inherit; | |
| } | |
| /* ===================================================================== | |
| LISTINGS - FILTERS AND ACTIONS | |
| ===================================================================== */ | |
| .nzb_multi_operations small { | |
| display: block; | |
| margin-top: var(--xxxxx-small-unit); | |
| margin-bottom: 2px; | |
| } | |
| /* ===================================================================== | |
| LISTINGS - TABLE STYLES | |
| ===================================================================== */ | |
| table.data th { | |
| padding-top: var(--xxxxx-small-unit); | |
| padding-bottom: var(--xxxxx-small-unit); | |
| background: transparent; | |
| border-top: 0; | |
| border-bottom: var(--divider); | |
| } | |
| table.data td { | |
| border-bottom: 0; | |
| padding-top: var(--xxxx-small-unit); | |
| padding-bottom: var(--xxxx-small-unit); | |
| } | |
| #nzb-info-mediainfo table tr:nth-child(odd), | |
| #nzb-info-details table tr:nth-child(odd), | |
| #nzb-info-similar table tr:nth-child(odd), | |
| #general.tab_content fieldset tr:nth-child(odd), | |
| #settings.tab_content fieldset tr:nth-child(odd), | |
| #integration.tab_content fieldset tr:nth-child(odd), | |
| #history.tab_content tr:nth-child(odd), | |
| #notifications.tab_content tr:nth-child(odd), | |
| table tr.alt { | |
| background: var(--passive-color); | |
| } | |
| table.data td.less { | |
| font-size: var(--small-font-size); | |
| } | |
| table.data .rel { | |
| color: var(--secondary-color); | |
| margin-bottom: var(--xxxxx-small-unit); | |
| display: inline-block; | |
| } | |
| div.resextra { | |
| font-size: inherit; | |
| color: inherit; | |
| height: auto; | |
| padding-top: 0; | |
| } | |
| div.resextra div.btns { | |
| float: none; | |
| } | |
| table.highlight tr:hover td { | |
| background: inherit; | |
| } | |
| .nzb_multi_operations input[type=text] { | |
| padding-top: 4px; | |
| padding-bottom: 4px; | |
| } | |
| .nzb_multi_operations input[type=button] { | |
| border-radius: var(--border-radius); | |
| } | |
| #nzb_multi_operations_form { | |
| overflow: auto; | |
| } | |
| #nzb_multi_operations_form > br { | |
| display: none; | |
| } | |
| #nzb_multi_operations_form > .nzb_multi_operations { | |
| margin-bottom: var(--xx-small-unit); | |
| } | |
| /* ===================================================================== | |
| LISTINGS - NEW ITEMS | |
| ===================================================================== */ | |
| table tr.new { | |
| background: inherit; | |
| font-weight: inherit; | |
| } | |
| table tr.new.alt { | |
| background: var(--passive-color); | |
| } | |
| table tr.new td:first-child { | |
| position: relative; | |
| } | |
| table tr.new td:first-child::before { | |
| content: "NEW"; | |
| font-size: var(--x-small-font-size); | |
| color: var(--white); | |
| padding: 4px; | |
| position: absolute; | |
| top: 50%; | |
| left: -24px; | |
| z-index: 2; | |
| transform-origin: 0 0; | |
| transform: rotateZ(-90deg) translateX(-50%); | |
| } | |
| table tr.new td:first-child::after { | |
| content: ""; | |
| position: absolute; | |
| z-index: 1; | |
| top: -1px; | |
| bottom: -1px; | |
| right: 100%; | |
| background: var(--secondary-color); | |
| width: 24px | |
| } | |
| /* ===================================================================== | |
| LISTINGS - MOVIE VIEW | |
| ===================================================================== */ | |
| .movextra table { | |
| width: 100%; | |
| border-spacing: 0; | |
| } | |
| .movextra table td { | |
| border-top: var(--divider); | |
| padding-top: var(--xxxx-small-unit) !important; | |
| padding-bottom: var(--xxxx-small-unit) !important; | |
| } | |
| table tr:hover .movcover a.rndbtn:first-child, | |
| table tr .movcover a.rndbtn:first-child { | |
| border: 0; | |
| background: transparent; | |
| padding: 0; | |
| } | |
| div.movextra tr.mlextra[style*=block] { | |
| display: table-row !important; | |
| } | |
| .movextra table td:first-child { | |
| width: var(--default-unit); | |
| } | |
| #coverstable > tbody th[width="210"] { | |
| } | |
| div.movcover, | |
| div.movcover img { | |
| width: 100%; | |
| height: auto; | |
| } | |
| #coverstable > tbody > tr > td { | |
| padding-top: var(--xxx-small-unit); | |
| padding-bottom: var(--xxx-small-unit); | |
| padding-left: var(--xxx-small-unit); | |
| padding-right: var(--xxx-small-unit); | |
| } | |
| /* ===================================================================== | |
| LISTINGS - GAMES AND MUSIC | |
| ===================================================================== */ | |
| #coverstable .headlink + h3 { | |
| margin-top: var(--xxx-small-unit); | |
| border-top: var(--divider); | |
| padding-top: var(--xxx-small-unit); | |
| } | |
| /* ===================================================================== | |
| LISTINGS - PAGINATION | |
| ===================================================================== */ | |
| div.pager { | |
| clear: both; | |
| display: flex; | |
| justify-content: center; | |
| margin-top: var(--xx-small-unit); | |
| margin-bottom: var(--xx-small-unit); | |
| } | |
| div.pager span, | |
| div.pager a{ | |
| border: var(--divider); | |
| background: transparent; | |
| padding: 4px 8px; | |
| display: flex; | |
| align-items: center; | |
| font-weight: inherit; | |
| } | |
| div.pager .current { | |
| padding: 4px 8px; | |
| background: var(--primary-color); | |
| color: var(--white); | |
| } | |
| /* ===================================================================== | |
| TABS - VARIOUS PLACES | |
| ===================================================================== */ | |
| ul.tabs { | |
| border-bottom: 0; | |
| height: auto; | |
| overflow: hidden; | |
| line-height: inherit; | |
| display: flex; | |
| flex-direction: row; | |
| overflow: auto; | |
| position: relative; | |
| } | |
| ul.tabs::after { | |
| content: ""; | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| background: var(--primary-color); | |
| height: 1px; | |
| z-index: 1; | |
| } | |
| ul.tabs li { | |
| border: 1px solid var(--divider-color); | |
| border-bottom-color: transparent; | |
| background: transparent; | |
| font-size: inherit; | |
| height: auto; | |
| overflow: visible; | |
| line-height: inherit; | |
| float: none; | |
| margin-bottom: 0; | |
| } | |
| ul.tabs li a { | |
| border: 0; | |
| background: transparent; | |
| padding: var(--xxxxx-small-unit) var(--xxx-small-unit); | |
| font-size: inherit; | |
| font-weight: inherit; | |
| } | |
| ul.tabs li a:hover { | |
| background: transparent; | |
| text-decoration: underline; | |
| } | |
| html ul.tabs li.active { | |
| position: relative; | |
| border-color: var(--primary-color); | |
| border-bottom-color: var(--white); | |
| background: transparent; | |
| z-index: 2; | |
| } | |
| html ul.tabs li.active a:hover { | |
| background: transparent; | |
| border-bottom: 0; | |
| } | |
| .tab_content { | |
| padding: var(--xxx-small-unit) 0; | |
| clear: both; | |
| } | |
| #tab_container { | |
| padding-top: 0 !important; | |
| } | |
| #nzb-info-details table.data th { | |
| border-bottom: 0; | |
| } | |
| /* ===================================================================== | |
| DETAILS | |
| ===================================================================== */ | |
| ul.details, div.details { | |
| width: 100%; | |
| clear: both; | |
| } | |
| /* ===================================================================== | |
| DETAILS - MOVIE DETAILS | |
| ===================================================================== */ | |
| #movie-details { | |
| overflow: hidden; | |
| } | |
| #movie-cover { | |
| margin-left: var(--xxx-small-unit); | |
| } | |
| .tvseriesextra table, | |
| .tvseriesextra table td { | |
| border: 0; | |
| } | |
| .tvseriesextra table td { | |
| padding-right: var(--xxxxx-small-unit); | |
| vertical-align: top; | |
| } | |
| table.data-med { | |
| width: 500px; | |
| } | |
| table.data-med td:first-child { | |
| width: 180px; | |
| } | |
| /* ===================================================================== | |
| ICONS | |
| ====================================================================== */ | |
| td.icons, | |
| td[ss=icons] { | |
| min-width: 115px; | |
| text-align: right; | |
| } | |
| /* ===================================================================== | |
| NEWS | |
| ===================================================================== */ | |
| #content > h1 ~ .rndbtn[style*='60%'] { | |
| font-size: var(--base-font-size); | |
| margin-left: auto; | |
| margin-right: auto; | |
| padding: var(--xxx-small-unit) !important; | |
| border-radius: 0; | |
| } | |
| #content > h1 ~ .rndbtn[style*='60%'] [style*='float'] { | |
| float: none !important; | |
| margin-top: var(--xxxx-small-unit); | |
| display: block; | |
| } | |
| #content > h1 ~ .rndbtn[style*='60%'] [style*='float'] small { | |
| font-size: var(--base-font-size); | |
| } | |
| #content > h1 ~ .rndbtn[style*='60%'] span + br + br + h2 { | |
| margin-bottom: var(--xxx-small-unit); | |
| } | |
| #content > h1 ~ .rndbtn[style*='60%'] p { | |
| margin-top: var(--xxx-small-unit); | |
| margin-bottom: var(--xxx-small-unit); | |
| line-height: var(--base-line-height); | |
| } | |
| #content > h1 ~ .rndbtn[style*='60%'] p:first-child { | |
| margin-top: 0; | |
| } | |
| #content > h1 ~ .rndbtn[style*='60%'] p:last-child { | |
| margin-bottom: 0; | |
| } | |
| #content > h1 ~ .rndbtn[style*='60%'] pre { | |
| background: var(--passive-color); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment