styles.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. /**
  2. * Primary Drupal Styles
  3. * Author: Bachir Soussi Chiadmi
  4. */
  5. body {
  6. font-size: 16px;
  7. font-family: "aileron", Arial, "MS Trebuchet", sans-serif; }
  8. h1 {
  9. font-size: 1.6em; }
  10. h2 {
  11. font-size: 1.5em; }
  12. h3 {
  13. font-size: 1.4em; }
  14. h4 {
  15. font-size: 1.3em; }
  16. h5 {
  17. font-size: 1.2em; }
  18. h6 {
  19. font-size: 1.1em; }
  20. input {
  21. font-family: Arial, "MS Trebuchet", sans-serif;
  22. font-size: 0.8em; }
  23. /** layout */
  24. .footer-block .region, .header-block {
  25. display: inline-block;
  26. vertical-align: top; }
  27. #header, #main, #footer {
  28. padding: 0; }
  29. #container {
  30. width: 1024px;
  31. margin: 0 auto; }
  32. #header h1 {
  33. display: block;
  34. height: 335px;
  35. background-image: url(../../images/logo.png);
  36. background-size: contain;
  37. background-position: center;
  38. background-repeat: no-repeat;
  39. text-indent: -2000px;
  40. overflow: hidden;
  41. margin: 0; }
  42. #header h2 {
  43. text-align: center;
  44. color: #20c498; }
  45. #thematique-anchor-links {
  46. padding: 1em 0; }
  47. #thematique-anchor-links ul {
  48. display: -ms-flexbox;
  49. display: flex;
  50. -ms-flex-flow: row nowrap;
  51. flex-flow: row nowrap;
  52. -ms-flex-pack: justify;
  53. justify-content: space-between;
  54. padding: 0;
  55. margin: 0; }
  56. #thematique-anchor-links ul li {
  57. list-style: none;
  58. padding: 0 1em;
  59. margin: 0; }
  60. #thematique-anchor-links ul li a {
  61. text-decoration: none;
  62. font-weight: 600; }
  63. #thematique-anchor-links ul li a span {
  64. display: block; }
  65. #thematique-anchor-links ul li a.en_attente {
  66. color: #ddd; }
  67. #thematique-anchor-links ul li a.node-32 {
  68. color: #2f82ff; }
  69. #thematique-anchor-links ul li a.node-14 {
  70. color: #ff0000; }
  71. #thematique-anchor-links ul li a.node-38 {
  72. color: #88aa00; }
  73. #thematique-anchor-links ul li a.node-3 {
  74. color: #ff6600; }
  75. #thematique-anchor-links ul li a.node-20 {
  76. color: #ff2ad4; }
  77. #thematique-anchor-links ul li a.node-26 {
  78. color: #8800aa; }
  79. .node-thematique {
  80. background-position: center;
  81. background-size: contain;
  82. background-repeat: no-repeat; }
  83. .node-thematique.node-32 {
  84. background-image: url(../../images/fond-theme-0.png); }
  85. .node-thematique.node-32 > h2,
  86. .node-thematique.node-32 .group-video .field-name-field-description h3,
  87. .node-thematique.node-32 .group-description .field-name-field-ecouter,
  88. .node-thematique.node-32 .node-documentair .field-name-field-doc,
  89. .node-thematique.node-32 .node-episode .field-name-title-field {
  90. color: #2f82ff; }
  91. .node-thematique.node-14 {
  92. background-image: url(../../images/fond-theme-0.png); }
  93. .node-thematique.node-14 > h2,
  94. .node-thematique.node-14 .group-video .field-name-field-description h3,
  95. .node-thematique.node-14 .group-description .field-name-field-ecouter,
  96. .node-thematique.node-14 .node-documentair .field-name-field-doc,
  97. .node-thematique.node-14 .node-episode .field-name-title-field {
  98. color: #ff0000; }
  99. .node-thematique.node-38 {
  100. background-image: url(../../images/fond-theme-0.png); }
  101. .node-thematique.node-38 > h2,
  102. .node-thematique.node-38 .group-video .field-name-field-description h3,
  103. .node-thematique.node-38 .group-description .field-name-field-ecouter,
  104. .node-thematique.node-38 .node-documentair .field-name-field-doc,
  105. .node-thematique.node-38 .node-episode .field-name-title-field {
  106. color: #88aa00; }
  107. .node-thematique.node-3 {
  108. background-image: url(../../images/fond-theme-0.png); }
  109. .node-thematique.node-3 > h2,
  110. .node-thematique.node-3 .group-video .field-name-field-description h3,
  111. .node-thematique.node-3 .group-description .field-name-field-ecouter,
  112. .node-thematique.node-3 .node-documentair .field-name-field-doc,
  113. .node-thematique.node-3 .node-episode .field-name-title-field {
  114. color: #ff6600; }
  115. .node-thematique.node-20 {
  116. background-image: url(../../images/fond-theme-0.png); }
  117. .node-thematique.node-20 > h2,
  118. .node-thematique.node-20 .group-video .field-name-field-description h3,
  119. .node-thematique.node-20 .group-description .field-name-field-ecouter,
  120. .node-thematique.node-20 .node-documentair .field-name-field-doc,
  121. .node-thematique.node-20 .node-episode .field-name-title-field {
  122. color: #ff2ad4; }
  123. .node-thematique.node-26 {
  124. background-image: url(../../images/fond-theme-0.png); }
  125. .node-thematique.node-26 > h2,
  126. .node-thematique.node-26 .group-video .field-name-field-description h3,
  127. .node-thematique.node-26 .group-description .field-name-field-ecouter,
  128. .node-thematique.node-26 .node-documentair .field-name-field-doc,
  129. .node-thematique.node-26 .node-episode .field-name-title-field {
  130. color: #8800aa; }
  131. .node-thematique > h2 {
  132. font-size: 3em;
  133. font-weight: 400; }
  134. .node-thematique .content {
  135. letter-spacing: -0.25em; }
  136. .node-thematique .content .field-name-field-emvideo img {
  137. width: 100%; }
  138. .node-thematique .content > * {
  139. letter-spacing: normal; }
  140. .node-thematique .content article.main {
  141. display: inline-block;
  142. vertical-align: top;
  143. width: 69.5%; }
  144. .node-thematique .content article.main .field-name-body {
  145. position: relative;
  146. z-index: 3; }
  147. .node-thematique .content article.main .field-name-body > * {
  148. padding: 0 1em 0 0.2em; }
  149. .node-thematique .content article.main .field-name-body .summary {
  150. position: relative;
  151. height: 141px;
  152. overflow: hidden; }
  153. .node-thematique .content article.main .field-name-body .summary p {
  154. font-size: 1.3em; }
  155. .node-thematique .content article.main .field-name-body .value {
  156. position: absolute;
  157. height: 0;
  158. margin-bottom: 0;
  159. transition: height,margin-bottom 0.5s ease-in-out;
  160. background-color: #fff;
  161. overflow: hidden; }
  162. .node-thematique .content article.main .field-name-body:hover .summary {
  163. background-color: #fff; }
  164. .node-thematique .content article.main .field-name-body:hover .value {
  165. height: 400px;
  166. margin-bottom: 1em; }
  167. .node-thematique .content article.main .field-name-body p {
  168. padding: 0 0 1em;
  169. margin: 0; }
  170. .node-thematique .content article.main .group-video {
  171. position: relative; }
  172. .node-thematique .content article.main .group-video .group-description {
  173. cursor: pointer;
  174. box-sizing: border-box;
  175. position: absolute;
  176. z-index: 2;
  177. top: 0;
  178. left: 0;
  179. width: 90%;
  180. height: 80%;
  181. margin: 5%;
  182. padding: 5%;
  183. background-color: rgba(255, 255, 255, 0);
  184. transition: background-color 0.3s ease-in-out; }
  185. .node-thematique .content article.main .group-video .group-description .field-name-field-ecouter {
  186. font-size: 1em;
  187. font-weight: 500;
  188. background-color: rgba(255, 255, 255, 0.9);
  189. transition: background-color 0.3s ease-in-out;
  190. display: inline-block; }
  191. .node-thematique .content article.main .group-video .group-description .field-name-field-description {
  192. opacity: 0;
  193. transition: opacity 0.3s ease-in-out; }
  194. .node-thematique .content article.main .group-video .group-description .field-name-field-description h3 {
  195. font-weight: 500;
  196. font-size: 2em; }
  197. .node-thematique .content article.main .group-video:hover .group-description {
  198. background-color: rgba(255, 255, 255, 0.9); }
  199. .node-thematique .content article.main .group-video:hover .group-description .field-name-field-ecouter {
  200. background-color: rgba(255, 255, 255, 0); }
  201. .node-thematique .content article.main .group-video:hover .group-description .field-name-field-description {
  202. opacity: 1; }
  203. .node-thematique .content aside.right {
  204. display: inline-block;
  205. vertical-align: top;
  206. width: 30.5%; }
  207. .node-thematique .content aside.right .field-name-field-eclairages {
  208. padding-left: 1em; }
  209. .node-thematique .content aside.right .node-documentair {
  210. padding-bottom: 1em; }
  211. .node-thematique .content aside.right .node-documentair .content {
  212. position: relative; }
  213. .node-thematique .content aside.right .node-documentair .content .group-txt {
  214. cursor: pointer;
  215. box-sizing: border-box;
  216. position: absolute;
  217. z-index: 2;
  218. overflow: hidden;
  219. top: 0;
  220. left: 0;
  221. width: 90%;
  222. max-height: 80%;
  223. margin: 5%;
  224. padding: 5%;
  225. background-color: rgba(255, 255, 255, 0.9); }
  226. .node-thematique .content aside.right .node-documentair .content .group-txt .field-name-field-doc {
  227. font-size: 1em;
  228. font-weight: 500; }
  229. .node-thematique .content aside.right .node-documentair .content .group-txt .field-name-title-field {
  230. font-size: 2em;
  231. font-weight: 600;
  232. height: 1px;
  233. overflow: hidden;
  234. transition: height 0.3s ease-in-out; }
  235. .node-thematique .content aside.right .node-documentair .content:hover .group-txt .field-name-title-field {
  236. height: 70%; }
  237. .node-thematique .content aside.bottom {
  238. padding-top: 1em; }
  239. .node-thematique .content aside.bottom .field-name-field-episodes > .field-items {
  240. display: -ms-flexbox;
  241. display: flex;
  242. -ms-flex-flow: row nowrap;
  243. flex-flow: row nowrap;
  244. -ms-flex-pack: justify;
  245. justify-content: space-between; }
  246. .node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item {
  247. display: block;
  248. width: 19%; }
  249. .node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content {
  250. position: relative; }
  251. .node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-txt {
  252. cursor: pointer;
  253. box-sizing: border-box;
  254. position: absolute;
  255. z-index: 2;
  256. overflow: hidden;
  257. top: 0;
  258. left: 0;
  259. width: 90%;
  260. height: 80%;
  261. margin: 5%;
  262. padding: 5%;
  263. background-color: rgba(255, 255, 255, 0.3);
  264. opacity: 0.8;
  265. transition: opacity,background-color 0.3s ease-in-out; }
  266. .node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-txt .field-name-title-field {
  267. font-size: 4em;
  268. font-weight: 700;
  269. font-style: italic;
  270. text-align: center; }
  271. .node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content:hover .group-txt {
  272. opacity: 1;
  273. background-color: rgba(255, 255, 255, 0.9); }
  274. #footer-bottom {
  275. text-align: center; }
  276. #footer-bottom .block {
  277. background-color: transparent;
  278. font-size: 0.7em; }
  279. #content {
  280. padding: 1em; }
  281. /** Messages. */
  282. div.messages {
  283. padding: 9px;
  284. margin: 0.5em 0 0;
  285. color: #036;
  286. background: #bdf;
  287. border: 1px solid #ace;
  288. border-radius: 5px; }
  289. div.warning {
  290. color: #840;
  291. background: #fe6;
  292. border-color: #ed5; }
  293. div.error {
  294. color: #fff;
  295. background: #e63;
  296. border-color: #d52; }
  297. div.error p.error {
  298. color: #333; }
  299. div.status {
  300. color: #360;
  301. background: #cf8;
  302. border-color: #be7; }
  303. /** Tab navigation */
  304. ul.primary, .views-admin-links ul {
  305. font: 13px/1.231 sans-serif;
  306. *font-size: small;
  307. border-collapse: collapse;
  308. padding: 0 0 0 1em;
  309. /* LTR */
  310. white-space: nowrap;
  311. list-style: none;
  312. margin: 5px;
  313. height: auto;
  314. line-height: normal; }
  315. ul.primary li, .views-admin-links li {
  316. display: inline; }
  317. ul.primary li a, .views-admin-links li a {
  318. border-width: 1px;
  319. border-style: solid solid none solid;
  320. height: auto;
  321. margin-right: 0.5em;
  322. /* LTR */
  323. padding: 0 1em;
  324. text-decoration: none;
  325. border-top-left-radius: 5px;
  326. border-top-right-radius: 5px; }
  327. /** Form */
  328. #node-form .form-region-main {
  329. border-right: 1px solid #BFBFBF;
  330. padding-right: 10px;
  331. width: 68%; }
  332. #node-form .form-region-main label {
  333. float: left;
  334. min-width: 25%; }
  335. #node-form .form-region-main input.form-text {
  336. width: 40%; }
  337. #node-form .form-region-right {
  338. padding-left: 5px; }
  339. #node-form .form-region-right label {
  340. float: left;
  341. min-width: 35%; }
  342. #node-form .form-region-right input.form-text {
  343. width: 60%; }
  344. #node-form .form-region-main label.option, #node-form .form-region-right label.option {
  345. float: none; }
  346. form:not(#views-ui-config-item-form) .form-item {
  347. position: relative;
  348. /* padding:9px;*/ }
  349. form:not(#views-ui-config-item-form) .form-item .description {
  350. position: absolute;
  351. bottom: 140%;
  352. /* right:-15px;*/
  353. z-index: 5;
  354. left: 50%;
  355. color: #1A1A1A;
  356. line-height: 1.1;
  357. background: url(../images/popup.png) 50% 100% no-repeat;
  358. width: 240px;
  359. margin: 0px 0px -15px;
  360. padding: 9px 10px 20px;
  361. display: none;
  362. border-top: 1px solid #9F9F9F; }
  363. form:not(#views-ui-config-item-form) .form-item:hover {
  364. z-index: 1;
  365. height: auto;
  366. /* Fix for flicker in IE7 */ }
  367. form:not(#views-ui-config-item-form) .form-item:hover > .description {
  368. display: block; }
  369. fieldset {
  370. border: 1px solid #D4D4D4;
  371. padding: 10px;
  372. margin-bottom: 1em;
  373. border-radius: 5px; }
  374. fieldset legend {
  375. font-size: 1.6em; }
  376. input.form-text {
  377. max-width: 95%; }
  378. /** TABLE */
  379. table {
  380. width: 100%;
  381. border-radius: 5px; }
  382. table thead th {
  383. background-color: #CCC;
  384. padding: 0.5em 1em;
  385. text-align: left; }
  386. table tbody tr.even, table tbody tr.odd {
  387. border-bottom: 0 solid #CCCCCC;
  388. padding: 0.1em 0.6em; }
  389. table tbody tr.even {
  390. background-color: #EEE; }
  391. table tbody tr.odd {
  392. background-color: #E5E5E5; }
  393. table tbody td {
  394. padding: 0.5em 1em;
  395. text-align: left; }
  396. td.active {
  397. background-color: transparent; }