_buttons.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // home
  2. %buttonwithborder {
  3. text-transform: uppercase;
  4. padding: 1rem;
  5. border: solid black 1px;
  6. margin-bottom: 1rem;
  7. background-color: $white-button;
  8. @media (max-width:891px) {
  9. font-size: 1rem;
  10. }
  11. }
  12. %hoveryellow{
  13. :hover{
  14. background-color: $yellow-puca;
  15. }
  16. }
  17. .field--type-link {
  18. @extend %buttonwithborder;
  19. width: fit-content;
  20. padding: 0.4rem;
  21. }
  22. .bouton{
  23. background-color: $white-button !important;
  24. border: none !important;
  25. cursor: pointer;
  26. }
  27. .field--type-file{
  28. @extend %buttonwithborder;
  29. }
  30. .links{
  31. @extend %buttonwithborder;
  32. }
  33. .views-field-edit-node{
  34. @extend %buttonwithborder;
  35. width: fit-content;
  36. margin-top: 1rem;
  37. }
  38. .views-field-edit-user{
  39. @extend %buttonwithborder;
  40. width: fit-content;
  41. margin-top: 1rem;
  42. }
  43. .views-field-edit-user:hover{
  44. background-color: $yellow-puca;
  45. }
  46. #edit-unlock{
  47. display: none;
  48. }
  49. .views-field-edit-node:hover,
  50. .field--name-field-lien:hover,
  51. #edit-submit:hover,
  52. .form-submit:hover,
  53. .field--type-link:hover,
  54. .field--type-file:hover{
  55. background-color: $yellow-puca;
  56. }