Advertisement
Guest User

Untitled

a guest
Dec 31st, 2018
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.98 KB | None | 0 0
  1. /* Tabs must be set to Bottom in Vivaldi settings. */
  2.  
  3. #header {
  4.     min-height: 0px !important; /* Hide the titlebar. */
  5. }
  6.  
  7. /* "Headerbar" gradient */
  8. .linux .window-buttongroup { /* Buttons */
  9.     background-image: linear-gradient(#e6e6e6, #d0d0d0) !important;
  10.     border-top-width: 0px !important;
  11.     border-top-right-radius: 4px !important;
  12.     border-bottom: 1px solid #979797 !important;
  13.     box-shadow:
  14.         inset 0 1px 0 0 rgba(255,255,255, 0.2),
  15.         inset 0 -1px 0 0 rgba(255,255,255, 0.2) !important;
  16. }
  17.  
  18. .toolbar-addressbar.toolbar { /* Central part (url field + extensions + back/forward buttons) */
  19.     order: 1;
  20.     -webkit-app-region: drag; /* Can drag the window by dragging the toolbar. */
  21.     margin-left: 32px; /* Make room for Close button. */
  22.     margin-right: 64px; /* Make room for Vivaldi and Maximize button. */
  23.     padding-top: 7px;
  24.     padding-bottom: 7px;
  25.     padding-right: 0 !important;
  26.     background: linear-gradient(#e6e6e6, #d0d0d0) !important;
  27.     border-top-width: 0px !important;
  28.     border-bottom: 1px solid #979797 !important;
  29.     box-shadow:
  30.         inset 0 1px 0 0 rgba(255,255,255, 0.2),
  31.         inset 0 -1px 0 0 rgba(255,255,255, 0.2) !important;
  32.  
  33. }
  34. .vivaldi { /* Vivaldi button */
  35.     right: 32px !important;
  36.     z-index: 1; /* Draw on top. */
  37.     height: 49px !important;
  38.     background: linear-gradient(#e6e6e6, #d0d0d0) !important;
  39.     border-top-width: 0px !important;
  40.     border-top-left-radius: 4px !important;
  41.     border-bottom: 1px solid #979797 !important;
  42.     box-shadow:
  43.         inset 0 1px 0 0 rgba(255,255,255, 0.2),
  44.         inset 0 -1px 0 0 rgba(255,255,255, 0.2) !important;    
  45. }
  46.  
  47. .toolbar-addressbar.toolbar::after {
  48.     display: none; /* Hide line under toolbar. */
  49. }
  50.  
  51. .bookmark-bar {
  52.     order: 2;
  53. }
  54.  
  55. #tabs-container {
  56.     order: 3;
  57.     border-top-width: 0px !important; /* Hide tab top border. */
  58.     padding-bottom: 0 !important;
  59. }
  60.  
  61. #tabs-container .resize {
  62.     margin-right: -30px !important; /* Get rid of the space between tabs and the Trash button. */
  63. }
  64.  
  65. button.button-tabbar.toggle-trash {
  66.     z-index: 1 !important; /* Fix clicking issues. */
  67. }
  68.  
  69. .inner {
  70.     order: 4;
  71. }
  72.  
  73. button.window-close {
  74.     margin-top: 9px;
  75.     z-index: 1; /*put on top*/
  76. }
  77. #browser.tabs-off button.window-close {
  78.     display: none !important; /* Hide Close button in F11 Fullscreen mode. */
  79. }
  80.  
  81. button.window-minimize {
  82.     display: none;
  83. }
  84.  
  85. button.window-maximize {
  86.     margin-left: auto !important;
  87.     margin-top: 9px;
  88.     z-index: 2; /* Draw on top. */
  89. }
  90. #browser.tabs-off button.window-maximize {
  91.     display: none !important; /* Hide Maximize button in F11 Fullscreen mode. */
  92. }
  93.  
  94.  
  95. #browser.tabs-off button.vivaldi {
  96.     display: none !important; /* Hide Vivaldi button in F11 Fullscreen mode. */
  97. }
  98. span.burger-icon {
  99.     height: 22px !important; /* Magic number formatting. */
  100.     padding-top: 0px !important; /* Removing unneeded padding. */
  101. }
  102.  
  103. .addressfield {
  104.     max-width: 750px; /* To leave some room to drag the toolbar. */
  105.     margin-left: auto;
  106.     margin-right: auto;
  107.     flex-shrink: 1; /* So the URL bar will shrink in small windows. */
  108.     background: linear-gradient(to bottom, #eee, #fff) !important;
  109.     background-clip: padding-box !important;
  110.     border: 1px solid rgba(0,0,0, 0.25) !important;
  111.     border-radius: 2.5px !important;
  112.     box-shadow:
  113.               inset 0 0 0 1px rgba(0,0,0, 0.06),
  114.               0 1px 0 0 rgba(255,255,255, 0.3) !important;
  115. }
  116.  
  117. /* Tabs and tab bar */
  118. button.button-tabbar.newtab {
  119.     left: 3px !important; /* Move New Tab button to the left. */
  120. }
  121.  
  122. .tab {
  123.     border-left: 1px solid transparent !important;
  124.     border-right: 1px solid transparent !important;
  125.     border-image: linear-gradient(to bottom, transparent, rgba(0,0,0, 0.1)) 1 !important;
  126. }
  127.  
  128. .tab-strip span .tab-position{
  129.     margin-left: 34px; /* Make room for New Tab button. */
  130.     max-height: 30px !important;
  131.     min-height: 30px !important;
  132. }
  133.  
  134. .tab-strip {
  135.     width: 100vw !important;
  136.     display: flex !important;
  137.     justify-content: flex-end !important;
  138.     background: linear-gradient(#cacaca, #d5d5d5) !important;
  139.     border-bottom: 1px solid #898989 !important;
  140.     box-shadow: inset 0 1px 2px 1px rgba(0,0,0, 0.1) !important;
  141.     direction: ltr;
  142. }
  143.  
  144. .tab-position .tab.active {
  145.     border-top: 1px solid none !important;
  146.     border-left: 1px solid #898989 !important;
  147.     border-right: 1px solid #898989 !important;
  148.     border-bottom: 1px solid #898989 !important;
  149.     border-top-left-radius: 4px !important;
  150.     border-top-right-radius: 4px !important;
  151.     box-shadow: 0 0 1px 1px rgba(0,0,0, 0.1),
  152.         inset 0 1px 0 0 rgba(255,255,255, 0.2),
  153.         inset 0 -1px 0 0 rgba(255,255,255, 0.2),
  154.         inset 1px 0 0 0 rgba(255,255,255, 0.2),
  155.         inset -1px 0 0 0 rgba(255,255,255, 0.2) !important;
  156. }
  157.  
  158. #browser.color-behind-tabs-off #main{
  159.     background: var(--colorAccentBg); /* Use correct color behind control buttons not actually on toolbar. */
  160. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement