_page-mon-espace-de-travail.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. %hoveryellow{
  2. :hover{
  3. background-color: $yellow-puca;
  4. }
  5. }
  6. .page-mon-espace-de-travail{
  7. .layout-content{
  8. padding-bottom: 3rem;
  9. #block-reha-titredepage{
  10. text-align: center;
  11. }
  12. width: 80%;
  13. margin-left: 8%;
  14. .field--type-file{
  15. background-color: transparent;
  16. border: none;
  17. }
  18. .js-form-type-textfield{
  19. flex-direction: row;
  20. label{margin-right: 1rem;}
  21. align-content: center;
  22. }
  23. }
  24. .description{
  25. font-style: italic;
  26. text-transform: none;
  27. }
  28. .paragraph-top{
  29. .paragraph-type{
  30. display: none;
  31. }
  32. }
  33. summary{
  34. text-transform: none;
  35. font-weight: 800;
  36. font-size: 1.2rem;
  37. }
  38. #edit-field-dossier-de-pilotage-wrapper,
  39. #edit-field-dossier-evenement-wrapper{
  40. border-top: solid 1px black;
  41. margin-top: 2rem;
  42. h4{
  43. margin: 0;
  44. margin-top: 2rem;
  45. padding-left: 0;
  46. }
  47. #field-dossier-values--2{
  48. padding-left: 4rem;
  49. // border-left: solid black 1px;
  50. }
  51. .field-multiple-drag{
  52. border-left: solid black 1px;
  53. }
  54. }
  55. #edit-field-dossier-de-pilotage-0-subform-field-fichiers-table{
  56. display: none;
  57. }
  58. .paragraph-type--dossier{
  59. background-color: white;
  60. h4{
  61. display: none;
  62. }
  63. }
  64. // .js-form-type-textfield{
  65. // label{
  66. // font-weight: 800;
  67. // font-size: 1.2rem;
  68. // &:after{
  69. // content: " :";
  70. // }
  71. // }
  72. // }
  73. //////////////// bulles d'infos ////////////////
  74. /* On cache le texte mais on le garde accessible */
  75. .description {
  76. position: relative;
  77. display: inline-block;
  78. color: transparent; /* rend le texte invisible */
  79. font-size: 0; /* supprime l'espace du texte */
  80. }
  81. /* On crée l’icône "i" */
  82. .description::before {
  83. content: "i";
  84. display: inline-block;
  85. width: 20px;
  86. height: 20px;
  87. line-height: 20px;
  88. border-radius: 50%;
  89. background-color: #333;
  90. color: #fff;
  91. text-align: center;
  92. font-weight: bold;
  93. font-size: 14px;
  94. cursor: pointer;
  95. font-family: Arial, sans-serif;
  96. }
  97. /* Tooltip : on réaffiche le vrai texte stocké */
  98. .description::after {
  99. content: attr(data-text); /* On va injecter le texte via un attribut */
  100. visibility: hidden;
  101. opacity: 0;
  102. width: 250px;
  103. background-color: #333;
  104. color: #fff;
  105. text-align: left;
  106. border-radius: 6px;
  107. padding: 8px;
  108. position: absolute;
  109. z-index: 1;
  110. top: 120%;
  111. left: 50%;
  112. transform: translateX(-50%);
  113. transition: opacity 0.3s;
  114. font-size: 13px;
  115. line-height: 1.4;
  116. pointer-events: none;
  117. }
  118. /* Affichage au survol */
  119. .description:hover::after {
  120. visibility: visible;
  121. opacity: 1;
  122. }
  123. //////////////// bulles d'infos ////////////////
  124. .js-form-type-managed-file{
  125. label{
  126. &:after{
  127. content: " :";
  128. }
  129. }
  130. }
  131. .paragraphs-add-wrapper{
  132. text-transform: uppercase;
  133. font-size: 0.9rem;
  134. font-weight: 400;
  135. @media (max-width:891px) {
  136. font-size: 1rem;
  137. }
  138. p{margin: 0;
  139. padding: 0.3rem;}
  140. :hover{
  141. background-color: $yellow-puca;
  142. }
  143. }
  144. }
  145. // #edit-field-dossier-de-pilotage-wrapper
  146. .field--name-field-dossier-de-pilotage h4{
  147. ::after{
  148. content: "";
  149. border-top: solid 1px black;
  150. }
  151. }