admin.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. body {
  2. font-size: .875rem;
  3. }
  4. .feather {
  5. width: 16px;
  6. height: 16px;
  7. vertical-align: text-bottom;
  8. }
  9. /*
  10. * Sidebar
  11. */
  12. .sidebar {
  13. position: fixed;
  14. top: 0;
  15. bottom: 0;
  16. left: 0;
  17. z-index: 100; /* Behind the navbar */
  18. padding: 0;
  19. box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  20. }
  21. .sidebar-sticky {
  22. position: -webkit-sticky;
  23. position: sticky;
  24. top: 48px; /* Height of navbar */
  25. height: calc(100vh - 48px);
  26. padding-top: .5rem;
  27. overflow-x: hidden;
  28. overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  29. }
  30. .sidebar .nav-link {
  31. font-weight: 500;
  32. color: #333;
  33. }
  34. .sidebar .nav-link .feather {
  35. margin-right: 4px;
  36. color: #999;
  37. }
  38. .sidebar .nav-link.active {
  39. color: #007bff;
  40. }
  41. .sidebar .nav-link:hover .feather,
  42. .sidebar .nav-link.active .feather {
  43. color: inherit;
  44. }
  45. .sidebar-heading {
  46. font-size: .75rem;
  47. text-transform: uppercase;
  48. }
  49. /*
  50. * Navbar
  51. */
  52. .navbar-brand {
  53. padding-top: .75rem;
  54. padding-bottom: .75rem;
  55. font-size: 1rem;
  56. background-color: rgba(0, 0, 0, .25);
  57. box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
  58. }
  59. .navbar .form-control {
  60. padding: .75rem 1rem;
  61. border-width: 0;
  62. border-radius: 0;
  63. }
  64. .form-control-dark {
  65. color: #fff;
  66. background-color: rgba(255, 255, 255, .1);
  67. border-color: rgba(255, 255, 255, .1);
  68. }
  69. .form-control-dark:focus {
  70. border-color: transparent;
  71. box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  72. }
  73. /*
  74. * Utilities
  75. */
  76. .border-top { border-top: 1px solid #e5e5e5; }
  77. .border-bottom { border-bottom: 1px solid #e5e5e5; }
  78. /*
  79. * Simple Markdown
  80. */
  81. .CodeMirror-fullscreen,
  82. .editor-preview-side,
  83. .editor-toolbar.fullscreen {
  84. z-index: 1030;
  85. }
  86. .editor-preview {
  87. z-index: 1030;
  88. }