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.

_settings-button.scss 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .settings-button {
  2. &-container {
  3. position: relative;
  4. .toolbox-icon {
  5. align-items: center;
  6. cursor: pointer;
  7. display: flex;
  8. background-color: #fff;
  9. border-radius: 50%;
  10. border: 1px solid #d1dbe8;
  11. justify-content: center;
  12. width: 38px;
  13. height: 38px;
  14. &:hover {
  15. background-color: #daebfa;
  16. border: 1px solid #daebfa;
  17. }
  18. &.toggled {
  19. background: #2a3a4b;
  20. border: 1px solid #5e6d7a;
  21. svg {
  22. fill: #fff;
  23. }
  24. &:hover {
  25. background-color: #5e6d7a;
  26. }
  27. }
  28. &.disabled, .disabled & {
  29. cursor: initial;
  30. color: #fff;
  31. background-color: #a4b8d1;
  32. }
  33. svg {
  34. fill: #5e6d7a;
  35. }
  36. }
  37. }
  38. &-small-icon {
  39. background: #FFF;
  40. border: 1px solid rgba(0, 0, 0, 0.2);
  41. border-radius: 50%;
  42. bottom: 0;
  43. box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
  44. cursor: pointer;
  45. height: 16px;
  46. position: absolute;
  47. text-align: center;
  48. right: 4px;
  49. width: 16px;
  50. &> svg {
  51. fill: #5e6d7a;
  52. margin-top: 5px;
  53. }
  54. &--disabled {
  55. background-color: #a4b8d1;
  56. cursor: default;
  57. }
  58. &--hovered {
  59. bottom: -1px;
  60. height: 20px;
  61. right: 2px;
  62. width: 20px;
  63. &> svg {
  64. margin-top: 6px;
  65. }
  66. }
  67. }
  68. }