Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
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.

42 lines
919 B

4 years ago
  1. /**
  2. *
  3. *
  4. *
  5. *
  6. */
  7. @mixin components__card() {
  8. .card {
  9. border: 1px solid $crispy__color-primary;
  10. &__header {
  11. position: relative;
  12. margin: 3px;
  13. padding: 0 0 2px 10px;
  14. text-shadow: 0 0 3px #000000;
  15. background: url(
  16. data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAFklEQVQYlWNgIBJIIWFsfCooGEg3AACalwOpdVZM4wAAAABJRU5ErkJggg==
  17. ) repeat;
  18. background-color: $crispy__color-primary;
  19. @include crispy__clearfix();
  20. }
  21. &__body {
  22. margin: 6px 12px;
  23. }
  24. &__footer {
  25. }
  26. &__close {
  27. position: absolute;
  28. height: 100%;
  29. right: 0;
  30. border: 1px solid $crispy__color-primary;
  31. background-color: $crispy__color-background;
  32. cursor: pointer;
  33. }
  34. }
  35. }