sidebars.css 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. body {
  2. min-height: 100vh;
  3. min-height: -webkit-fill-available;
  4. }
  5. html {
  6. height: -webkit-fill-available;
  7. }
  8. main {
  9. display: flex;
  10. flex-wrap: nowrap;
  11. height: 100vh;
  12. height: -webkit-fill-available;
  13. max-height: 100vh;
  14. overflow-x: auto;
  15. overflow-y: hidden;
  16. }
  17. .b-example-divider {
  18. flex-shrink: 0;
  19. width: 1.5rem;
  20. height: 100vh;
  21. background-color: rgba(0, 0, 0, .1);
  22. border: solid rgba(0, 0, 0, .15);
  23. border-width: 1px 0;
  24. box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  25. }
  26. .bi {
  27. vertical-align: -.125em;
  28. pointer-events: none;
  29. fill: currentColor;
  30. }
  31. .dropdown-toggle { outline: 0; }
  32. .nav-flush .nav-link {
  33. border-radius: 0;
  34. }
  35. .btn-toggle {
  36. display: inline-flex;
  37. align-items: center;
  38. padding: .25rem .5rem;
  39. font-weight: 600;
  40. color: rgba(0, 0, 0, .65);
  41. background-color: transparent;
  42. border: 0;
  43. }
  44. .btn-toggle:hover,
  45. .btn-toggle:focus {
  46. color: rgba(0, 0, 0, .85);
  47. background-color: #d2f4ea;
  48. }
  49. .btn-toggle::before {
  50. width: 1.25em;
  51. line-height: 0;
  52. content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  53. transition: transform .35s ease;
  54. transform-origin: .5em 50%;
  55. }
  56. .btn-toggle[aria-expanded="true"] {
  57. color: rgba(0, 0, 0, .85);
  58. }
  59. .btn-toggle[aria-expanded="true"]::before {
  60. transform: rotate(90deg);
  61. }
  62. .btn-toggle-nav a {
  63. display: inline-flex;
  64. padding: .1875rem .5rem;
  65. margin-top: .125rem;
  66. margin-left: 1.25rem;
  67. text-decoration: none;
  68. }
  69. .btn-toggle-nav a:hover,
  70. .btn-toggle-nav a:focus {
  71. background-color: #d2f4ea;
  72. }
  73. .scrollarea {
  74. overflow-y: auto;
  75. }
  76. .fw-semibold { font-weight: 600; }
  77. .lh-tight { line-height: 1.25; }