sidebar-toggle.styl 442 B

123456789101112131415161718192021222324
  1. .sidebar-toggle {
  2. background: $black-deep;
  3. bottom: 45px;
  4. cursor: pointer;
  5. height: 14px;
  6. left: $b2t-position-right;
  7. padding: 5px;
  8. position: fixed;
  9. width: 14px;
  10. z-index: $zindex-3;
  11. +tablet-mobile() {
  12. left: $b2t-position-right-mobile;
  13. opacity: $b2t-opacity-hover;
  14. if (!hexo-config('sidebar.onmobile')) {
  15. display: none;
  16. }
  17. }
  18. }
  19. .sidebar-toggle:hover .toggle-line {
  20. background: $sidebar-highlight;
  21. }