The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
645 B

6 years ago
6 years ago
  1. div.menu-link {
  2. width: 100%;
  3. padding-left: 0.5ch;
  4. font-size: 1.1em;
  5. white-space: nowrap;
  6. cursor: pointer;
  7. div.icon {
  8. display: inline-block;
  9. width: 3ch;
  10. padding: 0.15em 0.125em;
  11. text-align: center;
  12. vertical-align: middle;
  13. }
  14. div.text {
  15. display: inline-block;
  16. max-width: 22ch;
  17. white-space: nowrap;
  18. overflow-x: hidden;
  19. text-overflow: ellipsis;
  20. vertical-align: middle;
  21. span.weak {
  22. opacity: 0.3333;
  23. }
  24. }
  25. }
  26. div.menu-link:hover {
  27. div.text {
  28. span.weak {
  29. opacity: 0.75;
  30. }
  31. }
  32. }
  33. div.menu-link.dark {
  34. opacity: 0.5;
  35. }
  36. div.menu-link.dark:hover {
  37. opacity: 1;
  38. }