_buttons.scss 1.3 KB

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