Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @media not (-moz-bool-pref: 'zen.view.compact') {
- @media not (-moz-bool-pref: 'zen.tabs.vertical.right-side') {
- /* Set explicit minimum on overall window sizes */
- :root {
- min-width: 800px !important;
- min-height: 460px !important;
- }
- /* Window Controls Positioning and Styling */
- .titlebar-buttonbox-container {
- position: absolute;
- width: auto;
- left: 0;
- z-index: 3;
- display: flex !important;
- padding: 6px 3px 3px 5px;
- pointer-events: auto !important;
- }
- .titlebar-buttonbox {
- position: relative;
- left: 5px;
- display: flex;
- margin-right: 20px;
- pointer-events: auto !important;
- }
- /* Window Control Buttons Styling */
- .titlebar-button {
- padding: 0px !important;
- min-height: 13px !important;
- min-width: 13px !important;
- align-self: center;
- margin-left: 6px !important;
- border-radius: 50px;
- transition: all 100ms;
- pointer-events: auto !important;
- }
- .titlebar-min {
- background-color: hsl(130, 50%, 40%) !important;
- }
- .titlebar-max, .titlebar-restore {
- background-color: hsl(60, 50%, 50%) !important;
- }
- .titlebar-close {
- background-color: hsl(0, 50%, 50%) !important;
- }
- .titlebar-button > image {
- visibility: collapse !important;
- }
- @media (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") {
- .titlebar-button:hover {
- opacity: 0.25 !important;
- }
- }
- @media not (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") {
- .titlebar-button {
- background-color: var(--zen-colors-border) !important;
- }
- .titlebar-min:hover {
- background-color: hsl(130, 50%, 40%) !important;
- }
- .titlebar-max:hover, .titlebar-restore:hover {
- background-color: hsl(60, 50%, 50%) !important;
- }
- .titlebar-close:hover {
- background-color: hsl(0, 50%, 50%) !important;
- }
- .titlebar-button:hover {
- min-height: 20px !important;
- }
- }
- /* Make items belonging to the content/nav area visible when positioned outside */
- #zen-appcontent-wrapper {
- overflow: visible;
- }
- /* Sidebar - Add Space for URL Bar */
- #TabsToolbar {
- padding-top: 40px;
- margin-top: 0px;
- }
- /* Content Area Styling - Add Shadow */
- .browserContainer {
- box-shadow: 0 0px 5px 2px rgb(0 0 0 / 0.1);
- }
- /* Navigation area containers */
- #zen-appcontent-navbar-container {
- container-type: inline-size;
- height: var(--zen-element-separation);
- z-index: 1;
- pointer-events: none;
- position: relative;
- }
- #nav-bar {
- --sidebar-width: calc(100vw - 100cqw);
- width: var(--sidebar-width);
- container-name: sidebar;
- container-type: inline-size;
- overflow: visible !important;
- position: fixed !important;
- right: calc(100cqw);
- pointer-events: none;
- height: 0;
- }
- /* Hide additional chrome elements */
- #nav-bar .chromeclass-toolbar-additional:not(#back-button, #forward-button, #stop-reload-button) {
- display: none;
- }
- /* User Setting - Maintain Default Sidebar Width */
- @media (-moz-bool-pref: "ark-left.maintain-default-sidebar-width") {
- #navigator-toolbox {
- min-width: 215px !important;
- max-width: 215px !important;
- }
- #zen-sidebar-splitter {
- pointer-events: none;
- }
- }
- /* Hide Navbar Buttons */
- #preferences-button, #zen-expand-sidebar-button, #zen-profile-button {
- display: none;
- }
- /* Hide Three Dots */
- #PanelUI-button {
- opacity: 0%;
- pointer-events: none;
- }
- /* Navigation Buttons */
- #back-button, #forward-button, #stop-reload-button {
- position: fixed;
- top: calc(var(--zen-element-separation) + 2px);
- z-index: 2;
- pointer-events: auto !important;
- }
- #back-button {
- right: 90px;
- }
- #forward-button {
- right: 55px;
- }
- #stop-reload-button {
- right: 20px;
- }
- /* Hide Bookmarks Bar */
- #PersonalToolbar {
- display: none;
- }
- /* Hide on Resize - Under 185px */
- @container sidebar (max-width: 185px) {
- #stop-reload-button {
- visibility: hidden;
- }
- #back-button {
- right: 65px;
- }
- #forward-button {
- right: 15px;
- }
- }
- /* URL Bar Styling */
- #urlbar-container {
- position: fixed !important;
- top: 47px;
- left: 7px;
- width: calc(100% - 17px) !important;
- visibility: visible !important;
- opacity: 1 !important;
- z-index: 1;
- pointer-events: auto !important;
- }
- #urlbar {
- box-shadow: none;
- height: 35px;
- pointer-events: auto !important;
- }
- #urlbar-input {
- padding-left: 3px !important;
- font-weight: 400;
- font-size: 0.95em;
- color: color-mix(in srgb, currentColor 65%, transparent);
- pointer-events: auto !important;
- }
- #zen-appcontent-wrapper {
- overflow: visible !important;
- }
- #navigator-toolbox {
- padding-top: 50px !important;
- }
- #urlbar:not([focused="true"]):not([breakout-extend="true"]) > #urlbar-background {
- background: color-mix(in srgb, var(--tab-hover-background-color) 80%, transparent) !important;
- }
- .urlbarView-body-outer, .urlbarView-body-inner {
- box-sizing: border-box;
- pointer-events: auto !important;
- }
- #urlbar [id$="-box"] {
- display: none;
- }
- @media (-moz-bool-pref: "ark-left.hide-http-warning-icon") {
- #urlbar [id$="-box"]:has(#identity-icon[tooltiptext="Connection is not secure"]) {
- display: inherit;
- margin-right: 0px !important;
- }
- }
- label[value="Not Secure"] {
- display: none;
- }
- #identity-icon[tooltiptext="Connection is not secure"] {
- color: #D46955;
- }
- #urlbar [id$="-button"]:not(#reader-mode-button) {
- display: none;
- }
- #urlbar [id$="-container"] {
- display: none;
- }
- #nav-bar #PanelUI-button {
- position: absolute;
- top: var(--zen-element-separation);
- left: 248px !important;
- }
- #unified-extensions-panel {
- animation: ease-in-out;
- transition-duration: 0.13s;
- }
- #customizationui-widget-panel {
- border-radius: var(--zen-border-radius);
- animation: ease-in-out;
- transition-duration: 0.13s;
- }
- #window-modal-dialog {
- height: 100vh;
- max-height: 100%;
- }
- #window-modal-dialog .dialogTemplate {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- #window-modal-dialog .dialogBox {
- &:not(.spotlightBox) {
- box-shadow: 0 0px 35px 35px rgb(0 0 0 / 0.2);
- }
- }
- /* URL Bar Open Styling */
- #urlbar-container:has(> #urlbar[open]) {
- #urlbar {
- left: 0;
- top: 0;
- width: 760px;
- overflow: hidden !important;
- box-shadow: 0 0px 50px 50px rgb(0 0 0 / 0.2);
- }
- #urlbar-input {
- font-size: 1.2em;
- color: unset;
- }
- .urlbar-input-container {
- height: 50px;
- }
- .urlbarView-row {
- height: 50px;
- }
- .urlbar-go-button {
- display: none;
- }
- .urlbarView-row-inner {
- flex-wrap: unset;
- font-weight: 500 !important;
- font-size: 0.98em;
- }
- .urlbarView-row-inner strong {
- font-weight: unset !important;
- }
- .urlbarView-no-wrap {
- flex-basis: unset;
- font-size: inherit;
- }
- .urlbarView-title-separator {
- color: color-mix(in srgb, currentColor 30%, transparent);
- }
- .urlbarView-url {
- --urlbarView-second-line-indent: 15px;
- font-size: inherit;
- color: color-mix(in srgb, currentColor 30%, transparent);
- }
- .urlbar-background {
- padding-left: 100px !important;
- }
- }
- }
- }
- /* Hide the Workspace Indicator */
- #zen-current-workspace-indicator {
- Display: none !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement