/* New UI --------------------------------------------------------- */ @import url('../fonts/fonts.css'); @import url(cjratliff.css); /* ---------------------------------------------------------------- */ /* Reset */ a img, :link img, :visited img { border: none; } /* Forms */ input[type="text"], input[type="number"], input[type="password"], input[type="button"], button, select { background-color: var(--darkmode-background); border: solid 1px var(--darkmode-line-color); border-radius: 8px; padding: 4px 4px 4px 10px; color: var(--darkmode-text); } input[type="checkbox"], input[type="radio"] { accent-color: var(--darkmode-primary); } input[type="button"], input[type="submit"], button { cursor: pointer; padding: 4px 16px; } button:disabled { cursor: initial; } /*table { border-collapse: collapse; border-spacing: 0; }*/ :focus { outline: none; } /* Structure */ body { background-color: var(--darkmode-background); color: var(--darkmode-text); font-family: 'Google Sans', -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 12px; line-height: 18px; margin: 0; text-align: left; } .aside { width: 300px; } .invisible { display: none; } /* Buttons */ .download { --button-bg: #353434; --button-hover-bg: #464646; --button-text-color: #CCCCCC; --button-hover-text-color: #8bb9fe; --button-border-radius: 10px; --button-diameter: 36px; --button-outline-width: 1px; --button-outline-color: rgb(141, 141, 141); } .download { box-sizing: border-box; width: var(--button-diameter); height: var(--button-diameter); border-radius: var(--button-border-radius); background-color: var(--button-bg); color: var(--button-text-color); border: none; cursor: pointer; position: relative; outline: none; background-image: url("../images/download.svg"); background-position: center; background-repeat: no-repeat; background-size: 1.25em; display: inline-block; bottom: 8px; } .download:hover, .download:focus:not(:focus-visible) .tooltip { opacity: 1; visibility: visible; top: calc((100% + var(--tooltip-offset)) * -1); } .download:hover, .download:focus { background-color: var(--button-hover-bg); } .download:active { outline: var(--button-outline-width) solid var(--button-outline-color); } .button { padding: 4px 4px; background-color: #333; border-radius: 2px; border: 1px solid #dcdcdc; display: inline-block; cursor: pointer; color: #FFF; font-family: 'Google Sans', -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 14px; } .button:hover { background: linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%); background-color: #6c7c7c; } .button:active { position: relative; top: 1px; } .custom-file-upload { padding: 10px 5px; width: 140px; background-color: #333; color: #FFF; text-transform: uppercase; text-align: center; display: inline-block; cursor: pointer; } .custom-file-upload:hover { background: linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%); background-color: #6c7c7c; } .custom-file-upload:active { position: relative; top: 1px; } /* Typography */ h2, h3, h4 { color: var(--darkmode-text-alt); font-size: 12px; font-weight: bold; margin: 0; padding: 0 0 5px; } h2 { color: var(--darkmode-text); font-size: 14px; font-weight: bold; } #mochaPage h3 { border-bottom: 1px solid #bbb; display: block; font-size: 12px; margin: 0 0 8px; padding: 6px 0; } #error_div, #rename_error { color: var(--highlight-color--red); float: left; font-size: 14px; font-weight: bold; } h4 { font-size: 11px; } a { color: var(--highlight-color--orange); cursor: pointer; text-decoration: none; } a:hover { text-decoration: none; } p { margin: 0; padding: 0 0 9px; } /* List Elements */ ul { list-style: outside; margin: 0 0 9px 16px; } dt { font-weight: bold; } dd { padding: 0 0 9px; } /* Forms */ fieldset { border: solid 1px var(--darkmode-line-color); border-radius: 8px; padding: 4px 4px 4px 10px; } fieldset legend { font-weight: bold; margin-left: 8px; padding: 4px; } fieldset label { padding: 2px; } fieldset+div.formRow { margin-top: 10px; } /* Code */ pre { background-color: #f6f6f6; border: 1px solid #d1d7dc; color: #006600; display: block; font-family: 'Google Sans Display', 'Courier New', Courier, monospace; font-size: 11px; margin: 0 0 10px; max-height: 250px; overflow: auto; padding: 10px; } /* Dividers */ hr { background-color: var(--darkmode-line-color); border: 0px; color: var(--darkmode-text); height: 1px; } .vcenter { vertical-align: middle; } #urls { height: 100%; width: 90%; } #trackersUrls { height: 100%; width: 90%; } #Filters { overflow-x: hidden !important; /* override for default mocha inline style */ } #Filters .filterTitle { padding-left: .2rem; } #Filters ul { list-style-type: none; margin-left: 0; padding: 0; } #Filters .filterTitle img, #Filters ul img { height: 16px; padding: 2px 4px; vertical-align: middle; width: 16px; } #Filters ul li button.categoryToggle { display: none; } .selectedFilter { background-color: var(--darkmode-background-light); color: var(--darkmode-background); } .selectedFilter a { color: #ffffff; } #torrentFilesFilterToolbar { float: right; margin-right: 5px; } #properties { background-color: #e5e5e5; } a.propButton { border: 1px solid rgb(85 81 91); margin-left: 3px; margin-right: 3px; /*border-radius: 3px;*/ padding: 2px; } a.propButton img { margin-bottom: -4px; } .scrollableMenu { overflow-x: hidden; overflow-y: auto; } /* context menu specific */ .contextMenu { background-color: var(--darkmode-background); color: var(--darkmode-text); border: 1px solid var(--darkmode-line-color); display: none; list-style-type: none; padding: 0; } .contextMenu .separator { border-top: 1px solid var(--darkmode-line-color); } .contextMenu li { margin: 0; padding: 0; user-select: none; } .contextMenu li.disabled { background-color: transparent; cursor: default; filter: grayscale(1); opacity: 0.6; } .contextMenu li.disabled a { pointer-events: none; } .contextMenu li a { color: var(--darkmode-text); display: block; font-family: 'Google Sans', -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 12px; padding: 5px 20px 5px 5px; text-decoration: none; white-space: nowrap; } .contextMenu li a:hover { background-color: var(--darkmode-text-alt); color: var(--darkmode-line-color); } .contextMenu li a.disabled { color: #ccc; font-style: italic; } .contextMenu li a.disabled:hover { background-color: #eee; } .contextMenu li ul { background-color: var(--darkmode-background); color: var(--darkmode-text); border: 1px solid var(--darkmode-line-color); left: -999em; list-style-type: none; margin: -29px 0 0 100%; padding: 0; position: absolute; width: 164px; z-index: 8000; } .contextMenu li ul li a { position: relative; } .contextMenu li a.arrow-right, .contextMenu li a:hover.arrow-right { background-image: url("../images/arrow-right.gif"); background-position: right center; background-repeat: no-repeat; } .contextMenu li:hover ul, .contextMenu li.ieHover ul, .contextMenu li li.ieHover ul, .contextMenu li li li.ieHover ul, .contextMenu li li:hover ul, .contextMenu li li li:hover ul { /* lists nested under hovered list items */ left: auto; } .contextMenu li img { height: 16px; margin-bottom: -4px; width: 16px; } .contextMenu li input[type="checkbox"] { position: relative; top: 3px; } #contextCategoryList img { border: 1px solid transparent; padding: 1px; } /* Sliders */ .slider { clear: both; font-size: 12px; font-weight: bold; margin-bottom: 15px; position: relative; width: 400px; } .sliderWrapper { font-size: 1px; height: 9px; line-height: 1px; position: relative; width: 422px; } .sliderarea { background: #f2f2f2 url("../images/slider-area.gif") repeat-x; border: 1px solid #a3a3a3; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; font-size: 1px; height: 7px; left: 0; line-height: 1px; margin: 0; overflow: hidden; padding: 0; position: absolute; top: 0; width: 420px; } .sliderknob { background: url("../images/knob.gif") no-repeat; cursor: pointer; font-size: 1px; height: 9px; left: 0; line-height: 1px; overflow: hidden; position: absolute; top: 0; width: 19px; z-index: 2; } .update { padding-bottom: 5px; } .mochaToolButton { margin-right: 10px; } /* Mocha Customization */ #mochaToolbar { height: 29px; margin-top: 5px; overflow-y: hidden; position: relative; } #mochaToolbar .divider { border-left: 1px solid var(--darkmode-line-color); padding-left: 14px; padding-top: 15px; } .MyMenuIcon { margin-bottom: -3px; margin-left: -18px; padding-right: 5px; } #mainWindowTabs { float: right; margin: 4px 5px 0 0; } #torrentsFilterToolbar { float: right; margin-right: 30px; } #torrentsFilterInput { background-color: var(--color-background-default); background-image: url("../images/edit-find.svg"); background-position: .5rem; background-repeat: no-repeat; background-size: .75rem; padding-left: 2em; width: 160px; height: 100%; min-height: 20px; } #torrentsFilterRegexBox { display: none; } #torrentsFilterRegexBox+label { background-image: url("../images/regex.svg"); background-position: center; background-repeat: no-repeat; background-size: 1.5em; border: 1px solid var(--color-border-default); border-radius: 4px; display: inline-block; height: 26px; margin-bottom: -9px; width: 26px; } #torrentsFilterRegexBox:checked+label { background-color: var(--color-background-default); background-image: url("../images/regex.svg"); background-position: center; background-repeat: no-repeat; background-size: 1.5em; border: 1px solid var(--color-accent-blue); border-radius: 4px; display: inline-block; height: 26px; margin-bottom: -9px; width: 26px; } #torrentsFilterSelect { padding: 2px 4px; } #torrentFilesFilterToolbar { float: right; margin-right: 30px; } #torrentFilesFilterInput { background-image: url("../images/edit-find.svg"); background-position: left; background-repeat: no-repeat; background-size: 1.5em; padding-left: 2em; width: 160px; } /* Tri-state checkbox */ label.tristate { background: url("../images/3-state-checkbox.gif") 0 0 no-repeat; display: block; float: left; height: 13px; margin: 0.15em 8px 5px 0px; overflow: hidden; text-indent: -999em; width: 13px; } label.checked { background-position: 0 -13px; } label.partial { background-position: 0 -26px; } div.formRow { clear: left; display: block; } .filterTitle { box-sizing: border-box; cursor: pointer; display: flex; font-weight: bold; gap: 4px; overflow: hidden; padding: 4px 0 4px 6px; text-overflow: ellipsis; text-transform: uppercase; user-select: none; white-space: nowrap; } .filterTitle img { box-sizing: border-box; height: 16px; padding: 2px; width: 16px; } .collapsedCategory > ul { display: none; } .collapsedCategory .categoryToggle, .filterTitle img.rotate { transform: rotate(-90deg); } ul.filterList * { box-sizing: border-box; } ul.filterList { margin: 0; padding-left: 0; } ul.filterList span.link:hover :is(img, button), ul.filterList .selectedFilter > .link :is(img, button) { filter: var(--color-icon-hover); } ul.filterList span.link { cursor: pointer; display: flex; gap: 5px; overflow: hidden; padding: 4px 6px; white-space: nowrap; } ul.filterList span.link:hover { background-color: var(--darkmode-primary); color: var(--darkmode-background) !important; } span.link :last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } span.link :is(img, button) { flex-shrink: 0; } .selectedFilter > span.link { background-color: var(--color-background-blue); color: var(--darkmode-background); } .subcategories, .subcategories ul { margin: 0; padding: 0; } .subcategories .categoryToggle { display: inline-block; visibility: hidden; } .categoryToggle { background: url("../images/go-down.svg") center center / 10px no-repeat transparent; border: none; display: none; height: 16px; margin-right: -2px; padding: 2px; transition: transform 0.3s; width: 16px; } .unselectable { -webkit-touch-callout: none; user-select: none; } #propGeneral { padding: 2px; } .piecesbarWrapper { position: relative; width: 100%; } .piecesbarCanvas { height: 100%; image-rendering: pixelated; inset: 0; position: absolute; width: 100%; } #watched_folders_tab { border-collapse: collapse; } #watched_folders_tab td, #watched_folders_tab th { border: 1px solid black; padding: 2px 4px; } .select-watched-folder-editable { background-color: white; border: solid grey 1px; height: 20px; position: relative; width: 160px; } .select-watched-folder-editable select { border: none; bottom: 0px; left: 0px; margin: 0; position: absolute; top: 0px; width: 160px; } .select-watched-folder-editable input { border: none; left: 0px; padding: 1px; position: absolute; top: 0px; width: 140px; } .select-watched-folder-editable select:focus, .select-editable input:focus { outline: none; } /* * Workaround to prevent the transfer list from * disappearing when zooming in the browser. */ #filtersColumn_handle { margin-left: -1px; } .combo_priority { font-size: 1em; } td.statusBarSeparator { background-image: url("../images/toolbox-divider.gif"); background-position: center 1px; background-repeat: no-repeat; background-size: 2px 18px; width: 22px; } /* Statistics window */ #statisticspage * { box-sizing: border-box; } #statisticsContent { & table { background-color: var(--color-background-default); border-radius: 6px; margin-bottom: 6px; padding: 6px 10px; & .statisticsValue { text-align: right; } } & h3 { color: var(--color-text-default); margin-bottom: 1px; padding: 2px; } } /* Search tab */ #SearchPanel, #SearchPanel_wrapper, #SearchPanel_pad { height: inherit; } #searchResults { height: 100%; padding: 0 20px; } #searchResultsTableContainer { -moz-height: calc(100% - 150px); -webkit-height: calc(100% - 150px); height: calc(100% - 150px); overflow: auto; } #searchResultsTableDiv { -moz-height: calc(100% - 26px) !important; -webkit-height: calc(100% - 26px) !important; height: calc(100% - 26px) !important; } #searchResults .dynamicTable { width: 100%; } #searchResults .numSearchResults { font-style: italic; } .red { color: var(--highlight-color--red); } .green { color: var(--highlight-color--green); } .searchPluginsTableRow { cursor: pointer; } #torrentFilesTableDiv .dynamicTable tr.nonAlt:hover { background-color: var(--darkmode-background); color: var(--color-text-white); } #torrentFilesTableDiv .dynamicTable tr.nonAlt.selected { background-color: #354158; color: #fff; } #torrentFilesTableDiv .dynamicTable tr.nonAlt:hover { background-color: #ee6600; color: #fff; } /* Modals */ .modalDialog * { box-sizing: border-box; } .modalDialog .mochaContent.pad { display: flex !important; /* override for default mocha inline style */ flex-direction: column; height: 100%; } .modalDialog .mochaContent.pad> :last-child { align-self: flex-end; } .modalDialog .mochaContent.pad> :first-child { margin: auto 0; } #rememberBtn { background: url('data:image/svg+xml,') center center / 24px no-repeat var(--color-background-popup); height: 38px; padding: 4px 6px; width: 38px; } #rememberBtn svg { fill: var(--darkmode-primary); } #rememberBtn.disabled svg { fill: gray; } #deleteFromDiskCB { margin: 0 2px 0 0; vertical-align: -1px; } .dialogMessage { overflow-wrap: anywhere; } .genericConfirmGrid, .confirmDeletionGrid { align-items: center; display: grid; gap: 3px 4px; grid-template-columns: max-content 1fr; margin-bottom: 10px; } .confirmGridItem, .deletionGridItem { padding: 3px; } .deletionGridItem:first-child { justify-self: center; } .confirmWarning, .confirmDialogWarning { background: url("../images/dialog-warning.svg") center center no-repeat; height: 38px; width: 38px; } .confirmWarning { background-image: url("../images/help-about.svg"); }