Guest User

Untitled

a guest
Jul 16th, 2023
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.11 KB | None | 0 0
  1. /** Import Lepton stylesheet (Chrome) *****************************************/
  2. @import url("css/leptonChrome.css");
  3.  
  4.  
  5. /** Add your custom styles below **********************************************/
  6.  
  7. /* Enable option to edit bookmark URLs under Add Bookmark (blue star) menu */
  8. /*
  9.  * .editBMPanel_locationRow {
  10.  *   display: initial !important;
  11.  * }
  12. */
  13.  
  14. /* Disable Email Image/Audio/Video and Set as Desktop Background context menu items */
  15. /*
  16.  * #context-sendimage,
  17.  * #context-sendvideo,
  18.  * #context-sendaudio,
  19.  * #context-setDesktopBackground {
  20.  *   display: none !important;
  21.  * }
  22. */
  23.  
  24. findbar{
  25.   -moz-box-ordinal-group: 0; /* Fx <112 compatibility */
  26.   order: -1;
  27.   margin-bottom: -33px;
  28.   position: relative;
  29.   border-top: none !important;
  30.   padding: 0 !important;
  31.   transition: transform 82ms linear, opacity 82ms linear 32ms !important;
  32.   background: none !important;
  33.   pointer-events: none;
  34.   z-index: 1;
  35.   white-space: nowrap;
  36. }
  37.  
  38. .findbar-container > .findbar-find-fast{
  39.   padding: var(--toolbarbutton-inner-padding) 1px;
  40.   margin: 0 !important;
  41. }
  42.  
  43. findbar[hidden]{ transform: translateY(-30px);}
  44.  
  45. findbar > .findbar-container,
  46. findbar > .close-icon{
  47.   border: 1px solid var(--chrome-content-separator-color);
  48.   border-width: 0 0 1px 0px;
  49.   background-color: var(--lwt-accent-color) !important;
  50.   background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image,none);
  51.   pointer-events: auto;
  52. }
  53.  
  54. findbar > .findbar-container{
  55.   border-bottom-right-radius: 4px;
  56.   border-right-width: 1px;
  57.   height: initial !important;
  58.   margin-inline: 0px !important;
  59.   overflow-inline: visible !important;
  60. }
  61.  
  62. .findbar-find-status{
  63.   display: flex;
  64.   overflow: hidden;
  65.   text-overflow: ellipsis;
  66.   -moz-box-flex: 1; /* Fx <112 compatibility */
  67.   flex-grow: 1;
  68. }
  69.  
  70. .findbar-closebutton{
  71.   margin: 0 !important;
  72.   border-radius: 0 !important;
  73.   padding: 5px !important;
  74.   width: initial !important;
  75.   -moz-box-ordinal-group: 0; /* Fx <112 compatibility */
  76.   order: -1;
  77. }
  78. .findbar-closebutton > image{ padding: 3px }
  79. .findbar-closebutton:hover > image{
  80.   background: var(--toolbarbutton-hover-background) !important;
  81.   border-radius: 4px
  82. }
  83. findbar > .findbar-container > hbox{ margin: 0 5px }
  84.  
  85. findbar::after{
  86.   content:"";
  87.   display: flex;
  88.   -moz-box-flex: 100; /* Fx <112 compatibility */
  89.   flex-grow: 100;
  90. }
  91.  
  92. @supports -moz-bool-pref("userchrome.floating-findbar-on-right.enabled"){
  93.   findbar{
  94.     -moz-box-direction: reverse; /* Fx <112 compatibility */
  95.     flex-direction: row-reverse;
  96.   }
  97.   findbar > .findbar-container{
  98.     -moz-box-direction: reverse;
  99.     flex-direction: row-reverse;
  100.     border-inline-width: 1px 0px;
  101.     border-bottom-right-radius: 0px;
  102.     border-bottom-left-radius: 4px;
  103.   }
  104.   /*
  105.   Move findbar so it isn't over the scrollbar
  106.   Delete if you want findbar to begin from right window edge
  107.   */
  108.   findbar{
  109.     margin-right: 16px;
  110.     border-right: 1px solid var(--chrome-content-separator-color);
  111.   }
  112. }
  113.  
  114. #_588c6fa6-14f9-4826-b769-71a305c80bbb_-menuitem-_close_right {
  115.     -moz-box-ordinal-group: 2 !important;
  116. }
Advertisement
Add Comment
Please, Sign In to add comment