_buttons.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. .page-programme .field--type-link {
  18. @extend %buttonwithborder;
  19. width: fit-content;
  20. padding: 0.4rem;
  21. }
  22. .field--type-link {
  23. @extend %buttonwithborder;
  24. width: fit-content;
  25. .page-programme{
  26. padding: 0.4rem;
  27. }
  28. }
  29. .bouton{
  30. background-color: $white-button !important;
  31. border: none !important;
  32. cursor: pointer;
  33. }
  34. .field--type-file{
  35. @extend %buttonwithborder;
  36. }
  37. .links{
  38. @extend %buttonwithborder;
  39. }
  40. .views-field-edit-node{
  41. @extend %buttonwithborder;
  42. width: fit-content;
  43. margin-top: 1rem;
  44. }
  45. .views-field-edit-user{
  46. @extend %buttonwithborder;
  47. width: fit-content;
  48. margin-top: 1rem;
  49. }
  50. .views-field-edit-user:hover{
  51. background-color: $yellow-puca;
  52. }
  53. #edit-unlock{
  54. display: none;
  55. }
  56. .views-field-edit-node:hover,
  57. .field--name-field-lien:hover,
  58. #edit-submit:hover,
  59. .form-submit:hover,
  60. .field--type-link:hover,
  61. .field--type-file:hover{
  62. background-color: $yellow-puca;
  63. }