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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. margin-top: 5px;
  52. }
  53. &--disabled {
  54. background-color: #a4b8d1;
  55. cursor: default;
  56. }
  57. &--hovered {
  58. bottom: -1px;
  59. height: 20px;
  60. right: 2px;
  61. width: 20px;
  62. &> svg {
  63. margin-top: 6px;
  64. }
  65. }
  66. }
  67. }