Browser extension that demonstrates the Web Annotation Discovery mechanism: subscribe to people’s annotation collections/‘feeds’, to see their notes on the web; and create & publish annotations yourself.

web-annotation-discovery-we.../src/ common-classes.scss
43 lines
806 B

  1. html body {
  2. .select,
  3. .button {
  4. max-width: 100%;
  5. box-sizing: border-box;
  6. text-decoration: none;
  7. color: unset;
  8. // background-color: #eee;
  9. // border: 1px solid lightgrey;
  10. // box-shadow: 1px 1px 1px grey;
  11. // background-color: rgb(255, 235, 123);
  12. background-color: lightyellow;
  13. border: 1px solid rgb(179, 179, 0);
  14. box-shadow: 1px 1px 1px grey;
  15. border-radius: 4px;
  16. margin: 4px;
  17. padding: 6px;
  18. }
  19. .button {
  20. cursor: pointer;
  21. &.loading,
  22. &:active {
  23. transform: translate(1px, 1px);
  24. box-shadow: 0.5px 0.5px 0.5px grey;
  25. }
  26. &.loading,
  27. &:disabled {
  28. color: grey;
  29. }
  30. &.success {
  31. background-color: lightgreen;
  32. border-color: green;
  33. }
  34. &.success::after {
  35. content: ' ✔️';
  36. }
  37. }
  38. }