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.

75 lines
1.3 KiB

3 years ago
3 years ago
3 years ago
3 years ago
  1. /**
  2. *
  3. *
  4. *
  5. */
  6. @mixin component__icon()
  7. {
  8. .icon {
  9. display: inline-block;
  10. font-size: inherit;
  11. height: 1.5em;
  12. width: 1.5em;
  13. overflow: visible;
  14. max-height: 100%;
  15. max-width: 100%;
  16. }
  17. .fill-primary {
  18. fill: $primary;
  19. }
  20. .fill-grey {
  21. fill: $grey;
  22. }
  23. .fill-success {
  24. fill: $success;
  25. }
  26. .fill-danger {
  27. fill: $danger;
  28. }
  29. .filled {
  30. fill: #fff;
  31. border-radius: 3px;
  32. }
  33. .file-table__column--actions {
  34. .icon {
  35. width: 2em;
  36. height: 2em;
  37. padding: 4px;
  38. fill: #ffffff;
  39. border-width: 1px;
  40. border-style: solid;
  41. border-radius: 3px;
  42. vertical-align: middle;
  43. &:hover {
  44. cursor: pointer;
  45. }
  46. }
  47. .fill-primary {
  48. background-color: $primary;
  49. border-color: darken($primary, 10%);
  50. }
  51. .fill-grey {
  52. background-color: $grey;
  53. border-color: darken($grey, 10%);
  54. }
  55. .fill-success {
  56. background-color: $success;
  57. border-color: darken($success, 10%);
  58. }
  59. .fill-danger {
  60. background-color: $danger;
  61. border-color: darken($danger, 10%);
  62. }
  63. }
  64. }