_buttons.scss 1.3 KB

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