splitview.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /* vim:set ts=2 sw=2 sts=2 et: */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. .theme-dark {
  6. --sidemenu-selected-arrow: url(images/item-arrow-dark-ltr.svg);
  7. --sidemenu-selected-arrow-rtl: url(images/item-arrow-dark-rtl.svg);
  8. }
  9. .theme-light {
  10. --sidemenu-selected-arrow: url(images/item-arrow-ltr.svg);
  11. --sidemenu-selected-arrow-rtl: url(images/item-arrow-rtl.svg);
  12. }
  13. .splitview-nav-container .devtools-throbber {
  14. display: none;
  15. text-align: center;
  16. }
  17. .loading .splitview-nav-container .devtools-throbber {
  18. display: block;
  19. }
  20. .splitview-nav {
  21. list-style: none;
  22. padding: 0;
  23. margin: 0;
  24. background-color: var(--theme-sidebar-background);
  25. }
  26. .splitview-nav > li {
  27. padding-inline-end: 8px;
  28. -moz-box-align: center;
  29. outline: 0;
  30. vertical-align: bottom;
  31. border-bottom: 1px solid rgba(128,128,128,0.15);
  32. }
  33. .placeholder {
  34. -moz-box-flex: 1;
  35. text-align: center;
  36. }
  37. .splitview-nav > li.splitview-active {
  38. background-color: var(--theme-selection-background);
  39. color: var(--theme-selection-color);
  40. background-image: var(--sidemenu-selected-arrow);
  41. background-repeat: no-repeat;
  42. background-position: center right;
  43. }
  44. .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
  45. background-image: var(--sidemenu-selected-arrow-rtl);
  46. background-position: center left;
  47. }
  48. /* Toolbars */
  49. .splitview-main > .devtools-toolbar {
  50. background-origin: border-box;
  51. background-clip: border-box;
  52. }
  53. .splitview-main > toolbar,
  54. .loading .splitview-nav-container {
  55. border-inline-end: 1px solid var(--theme-splitter-color);
  56. }
  57. .splitview-main > .devtools-toolbarbutton {
  58. font-size: 11px;
  59. padding: 0 8px;
  60. width: auto;
  61. min-width: 48px;
  62. min-height: 0;
  63. }