mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-02-11 06:31:26 +00:00
50 lines
1.0 KiB
CSS
50 lines
1.0 KiB
CSS
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
scrollbar {
|
|
-moz-appearance: none !important;
|
|
position: relative;
|
|
background-color: transparent;
|
|
background-image: none;
|
|
z-index: 2147483647;
|
|
padding: 2px;
|
|
%ifdef XP_MACOSX
|
|
border: 0px solid transparent;
|
|
%endif
|
|
}
|
|
|
|
/* Scrollbar code will reset the margin to the correct side depending on
|
|
where layout actually puts the scrollbar */
|
|
scrollbar[orient="vertical"] {
|
|
margin-left: -10px;
|
|
min-width: 10px;
|
|
max-width: 10px;
|
|
}
|
|
|
|
scrollbar[orient="horizontal"] {
|
|
margin-top: -10px;
|
|
min-height: 10px;
|
|
max-height: 10px;
|
|
}
|
|
|
|
%ifdef XP_MACOSX
|
|
slider {
|
|
-moz-appearance: none !important;
|
|
}
|
|
|
|
thumb {
|
|
-moz-appearance: none !important;
|
|
background-color: rgba(0,0,0,0.2);
|
|
border-radius: 3px;
|
|
}
|
|
%else
|
|
scrollbar thumb {
|
|
-moz-appearance: none !important;
|
|
border-width: 0px !important;
|
|
background-color: rgba(170,170,170,0.2) !important;
|
|
border-radius: 3px !important;
|
|
}
|
|
scrollbar scrollbarbutton, scrollbar gripper {
|
|
display: none;
|
|
}
|
|
%endif
|