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.

43 lines
667 B

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