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.

53 lines
1.5 KiB

7 years ago
  1. @mixin admin_clearfix{
  2. display:table;
  3. content:'';
  4. clear:both;
  5. }
  6. @mixin background-gradient($start, $end )
  7. {
  8. background-color: $start;
  9. background-image: -webkit-linear-gradient(top, $start, $end);
  10. background-image: linear-gradient(to bottom,$start, $end);
  11. }
  12. @mixin button-generator($txt-color, $bg-color, $border-color, $hover-color, $hover-border-color )
  13. {
  14. color: $txt-color;
  15. background-color: $bg-color;
  16. border-color: $border-color;
  17. &:focus, &.focus {
  18. color: $txt-color;
  19. background-color: $hover-color;
  20. border-color: $border-color;
  21. }
  22. &:hover {
  23. color: $txt-color;
  24. background-color: $hover-color;
  25. border-color: $hover-border-color;
  26. }
  27. &:active, &.active, .open > &.dropdown-toggle {
  28. color: $txt-color;
  29. background-color: $hover-color;
  30. border-color: $hover-border-color;
  31. }
  32. &:active:hover, &:active:focus, &:active.focus, &.active:hover, &.active:focus, &.active.focus, .open > &.dropdown-toggle:hover, .open > &.dropdown-toggle:focus, .open > &.dropdown-toggle.focus {
  33. color: $txt-color;
  34. background-color: $hover-color;
  35. border-color: $hover-border-color;
  36. }
  37. &:active, &.active, .open > &.dropdown-toggle {
  38. background-image: none;
  39. }
  40. &.disabled:hover, &.disabled:focus, &.disabled.focus, &[disabled]:hover, &[disabled]:focus, &[disabled].focus, fieldset[disabled] &:hover, fieldset[disabled] &:focus, fieldset[disabled] &.focus {
  41. background-color: #fff;
  42. border-color: #8f8f8f;
  43. }
  44. .badge {
  45. color: #fff; background-color: #242424;
  46. }
  47. }