elements.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
  1. #toolbar-administration{
  2. position: absolute;
  3. width: 100%;
  4. background: black;
  5. }
  6. .contextual-region{
  7. position: inherit;
  8. }
  9. /*header*/
  10. header{
  11. width: 300px;
  12. margin: 50px 0 0 5% ;
  13. position: absolute;
  14. }
  15. #sommaire{
  16. width: 50%;
  17. height: auto;
  18. min-width: 700px;
  19. float: left;
  20. margin: 50px 30px 50px 10%;
  21. }
  22. .layout-sidebar-first{
  23. padding-top: 50px;
  24. margin-left: 10%;
  25. margin-right: 15%;
  26. }
  27. #sommaire h3{
  28. margin-bottom: 0;
  29. }
  30. #sommaire h3:nth-of-type(1){
  31. margin-top: 100px;
  32. }
  33. #sommaire .views-element-container > div{
  34. -webkit-column-gap: 40px;
  35. -moz-column-gap: 40px;
  36. column-gap: 40px;
  37. -webkit-column-width: 300px;
  38. -moz-column-width: 300px;
  39. column-width: 250px;
  40. }
  41. #sommaire .views-field-title a:nth-last-child(1)::before{
  42. content:"— ";
  43. }
  44. #sommaire .views-row{
  45. margin-bottom: 5px;
  46. }
  47. .layout-sidebar-first h2{
  48. display: none;
  49. }
  50. .layout-sidebar-first p{
  51. margin-bottom: 20px;
  52. }
  53. .layout-sidebar-second img{
  54. width: 100%;
  55. height: 100%;
  56. }
  57. .layout-sidebar-second .views-field-field-date-h .field-content:before{
  58. background-image: url('../../images/pointv.svg');
  59. background-size: cover;
  60. background-repeat: no-repeat;
  61. display: inline-block;
  62. width: 10px;
  63. height: 10px;
  64. content:" ";
  65. margin-bottom: 5px;
  66. margin-right: 5px;
  67. }
  68. .layout-sidebar-second .views-element-container{
  69. position:fixed;
  70. min-width: 350px!important;
  71. width: 30%;
  72. height: 100%;
  73. top: 0;
  74. cursor: pointer;
  75. overflow-y: auto;
  76. overflow-x: hidden;
  77. cursor: move;
  78. -moz-user-select: none;
  79. -khtml-user-select: none;
  80. -webkit-user-select: none;
  81. user-select: none;
  82. }
  83. #block-views-block-page-etudiant-block-1{
  84. background: #34f0b9;
  85. }
  86. #block-views-block-une-saison-graphique-block-1{
  87. background: #6050dc;
  88. }
  89. #block-views-block-expositions-block-1{
  90. background: #ff4b5a;
  91. }
  92. .layout-sidebar-second .views-element-container h2{
  93. position: absolute;
  94. padding: 10px 0 0 10px;
  95. z-index: 9;
  96. }
  97. .layout-sidebar-second .more-link{
  98. position: absolute;
  99. right: 10px;
  100. top: 10px;
  101. }
  102. .degrader{
  103. z-index: 0;
  104. width: 100%;
  105. min-width: 350px!important;
  106. height: 120px;
  107. position: absolute;
  108. top: 0;
  109. }
  110. #block-views-block-page-etudiant-block-1 .degrader{
  111. background: linear-gradient(rgba(52, 240, 185, 1),rgba(255, 255, 255, 0));
  112. }
  113. #block-views-block-une-saison-graphique-block-1 .degrader{
  114. background: linear-gradient(rgba(96, 80, 220, 1),rgba(255, 255, 255, 0));
  115. }
  116. #block-views-block-expositions-block-1 .degrader{
  117. background: linear-gradient(rgba(255, 75, 90, 1),rgba(255, 255, 255, 0));
  118. }
  119. .layout-sidebar-second > div .views-element-container:nth-child(1){
  120. z-index: 5;
  121. left: 95vw;
  122. }
  123. .layout-sidebar-second > div .views-element-container:nth-child(2){
  124. left: 90vw;
  125. z-index: 4;
  126. }
  127. .layout-sidebar-second > div .views-element-container:nth-child(3){
  128. left: 85vw;
  129. z-index: 3;
  130. }
  131. .layout-sidebar-second .views-field-field-images{
  132. margin-top: 10px;
  133. }
  134. /* article */
  135. article{
  136. margin-left: 15%;
  137. }
  138. .en-tete{
  139. position: fixed;
  140. background: white;
  141. top: 0;
  142. left: 0;
  143. padding: 30px 0 30px 5%;
  144. width: 85vw;
  145. z-index: 1;
  146. }
  147. .en-tete h2::before{
  148. display: inline-block;
  149. content:"— ";
  150. margin: 0 10px;
  151. }
  152. .en-tete .date{
  153. text-transform: capitalize;
  154. }
  155. .source{
  156. margin-top: 15px;
  157. }
  158. .source a::before{
  159. background-image: url('../../images/scala_hand.svg');
  160. background-size: cover;
  161. background-repeat: no-repeat;
  162. background-size: 40px auto;
  163. display: inline-block;
  164. width: 50px;
  165. height: 25px;
  166. vertical-align: middle;
  167. content:" ";
  168. }
  169. .body-articles{
  170. width: 40%;
  171. min-width: 500px;
  172. margin-top: 250px;
  173. position: relative;
  174. }
  175. .body-articles sub{
  176. width: 10%;
  177. min-width: 200px;
  178. height: 20px;
  179. position: absolute;
  180. left: 100%;
  181. margin-left: 20px;
  182. right: -220px;
  183. overflow: hidden;
  184. margin-top: 0px;
  185. }
  186. .body-articles sub:hover{
  187. overflow: visible;
  188. z-index: 99999;
  189. height: auto;
  190. background: white;
  191. }
  192. .body-articles img{
  193. width: 100%;
  194. height: auto;
  195. }
  196. .body-articles p{
  197. margin-top: 40px;
  198. }
  199. /* fermepage */
  200. .icone-croix{
  201. position: fixed;
  202. right: 15vw;
  203. top: 10px;
  204. width: 12px;
  205. height: auto;
  206. z-index: 2;
  207. }
  208. .icone-croix img{
  209. width: 100%;
  210. height: auto;
  211. }
  212. .layout-sidebar-second li > a{
  213. width: 25vw;
  214. height: auto;
  215. }
  216. .hover{
  217. position: fixed;
  218. width: 100%;
  219. height: 100%;
  220. opacity: 0.8;
  221. background: white;
  222. z-index: 3;
  223. -webkit-transition: background 0.2s;
  224. transition: background 0.2s;
  225. }
  226. .opacity{
  227. -webkit-transition: background 0.2s;
  228. transition: background 0.2s;
  229. }
  230. .hover .title-views .articles-blog img{
  231. filter: opacity(0.2);
  232. -webkit-filter: opacity(0.2);
  233. -moz-filter: opacity(0.2);
  234. -ms-filter: opacity(0.2);
  235. -o-filter: opacity(0.2);
  236. -webkit-transition: filter 0.1s;
  237. transition: filter 0.1s;
  238. }
  239. .ui-draggable > div > div > .views-row:nth-child(2){
  240. margin-top: 90px;
  241. }
  242. .layout-sidebar-second .views-field-field-sous-titre,
  243. .layout-sidebar-second .views-field-title,
  244. .layout-sidebar-second .views-field-field-date-h{
  245. padding: 0px 0 0 10px;
  246. }
  247. .layout-sidebar-second .views-field-field-sous-titre{
  248. margin-bottom: 20px;
  249. }
  250. .bouton_retour{
  251. width: 60px;
  252. height: 30px;
  253. background-image: url(../../images/btn_ranger.svg);
  254. background-size: 100%;
  255. background-repeat: no-repeat;
  256. background-position: center;
  257. z-index: 999;
  258. }
  259. .articles h1{
  260. top:5px;
  261. left:10px;
  262. position:fixed;
  263. z-index:1;
  264. }
  265. .articles .layout-content > div .views-exposed-form {
  266. top:0;
  267. padding-top: 50px;
  268. padding-bottom: 5px;
  269. background-color:white;
  270. border-bottom:1px solid grey;
  271. width:70%;
  272. position:fixed;
  273. z-index:1;
  274. }
  275. .articles .layout-content {
  276. top:120px;
  277. left:15%;
  278. width:70%;
  279. height:90vh;
  280. position:absolute;
  281. }
  282. /* navhome */
  283. .home nav{
  284. position: fixed;
  285. bottom: 0px;
  286. z-index: 2;
  287. }
  288. .home nav .js-pager__items a[rel="next"]{
  289. float: right;
  290. font-size: 1.3rem;
  291. }
  292. .home nav .js-pager__items a[rel="prev"]{
  293. float: left;
  294. font-size: 1.3rem;
  295. }
  296. /* ///////////////////////////////////////// */
  297. /* liste noms */
  298. #block-views-block-liste-site-etudiant-block-1 {
  299. top:245px;
  300. left:20px;
  301. position:fixed;
  302. width:9vw;
  303. word-wrap:break-word;
  304. z-index:1;
  305. }
  306. #edit-created--wrapper {
  307. display:inline-block;
  308. }
  309. [type="checkbox"]:not(:checked),
  310. [type="checkbox"]:checked {
  311. position: absolute;
  312. left: -9999px;
  313. }
  314. /* on prépare le label */
  315. [type="checkbox"]:not(:checked) + label::before{
  316. content: "";
  317. border: 1px solid grey;
  318. position:absolute;
  319. width: 13px;
  320. height: 13px;
  321. line-height:1.2;
  322. left:0;
  323. transition: all .2s; /* on prévoit une animation */
  324. }
  325. [type="checkbox"]:checked + label::before {
  326. content: '✕';
  327. border: 1px solid grey;
  328. position:absolute;
  329. width: 13px;
  330. height: 13px;
  331. line-height:1.2;
  332. left:0;
  333. transition: all .2s; /* on prévoit une animation */
  334. }
  335. .articles .layout-content > div .option {
  336. margin-left:20px;
  337. vertical-align:bottom;
  338. }
  339. .articles .layout-content > div .views-field-field-date-h{
  340. margin-right: 10px;
  341. }
  342. .articles .layout-content > div .views-field-field-images {
  343. z-index:-1;
  344. padding-left: 50px;
  345. }
  346. .articles .layout-content > div .views-field-field-images .field-content ul {
  347. display:flex;
  348. flex-wrap: wrap;
  349. }
  350. .articles .layout-content > div .views-field-field-images .field-content li {
  351. width:20vw;
  352. margin:10px 10px 10px 10px;
  353. }
  354. /* boutton 'Apply' */
  355. #edit-field-date-h-value .js-form-type-checkbox{
  356. display: inline-block;
  357. position: relative;
  358. }
  359. .articles .layout-content > div #edit-actions {
  360. display:inline-block; /* MODIF */
  361. margin-left:2px; /* MODIF */
  362. }
  363. .articles .layout-content > div .button{
  364. cursor: pointer;
  365. }
  366. .articles .layout-content > div .button:hover{
  367. background: black;
  368. color: white;
  369. transition: background 0.3s;
  370. border: 1px solid black;
  371. }
  372. .articles .layout-content > div .button {
  373. float:left; /* MODIF */
  374. border:1px solid grey; /* MODIF */
  375. padding:3px;
  376. background-color:white; /* MODIF */
  377. transition: background 0.3s;
  378. color:grey; /* MODIF */
  379. }
  380. /* puces typo date + h */
  381. .articles .layout-content > div .views-row{
  382. padding-bottom: 50px;
  383. }
  384. .articles .layout-content > div.views-row .views-field-field-source a{
  385. display: block;
  386. }
  387. .articles .layout-content > div .views-row .views-field-field-source a::before{
  388. background-image: url('../../images/scala_hand.svg');
  389. background-size: cover;
  390. background-repeat: no-repeat;
  391. display: inline-block;
  392. width: 25px;
  393. height: 15px;
  394. content: " ";
  395. margin-bottom: -3px;
  396. margin-right: 10px;
  397. }
  398. .articles .layout-content > div .views-field-field-date-h .field-content:before {
  399. background-image: url('../../images/pointvnoir.svg');
  400. background-size: cover;
  401. background-repeat: no-repeat;
  402. display: inline-block;
  403. width: 10px;
  404. height: 10px;
  405. content: " ";
  406. margin-bottom: 4px;
  407. margin-right: 5px;
  408. }
  409. .articles .layout-content > div .views-field-body .field-content {
  410. margin: 20px 0 0 0;
  411. }
  412. .articles .layout-content > div .views-field-field-source .field-content {
  413. padding: 20px 0 0 80px; /* MODIF */
  414. }
  415. /* images articles */
  416. .articles .layout-content > div .views-field-field-images .field-content img {
  417. position:relative;
  418. width:100%;
  419. height:auto;
  420. }
  421. /*----------------------------------*/
  422. footer{
  423. position: fixed;
  424. bottom: 0px;
  425. left: 4%;
  426. width: 100%;
  427. background: white;
  428. }
  429. .index{
  430. z-index: 999;
  431. position: fixed;
  432. bottom: 6px;
  433. width: 34%;
  434. min-width: 500px;
  435. text-align: center;
  436. }
  437. .index h6{
  438. margin: 0;
  439. }
  440. #edit-submit{
  441. width: 20px;
  442. height: 19px;
  443. margin-left: -24px;
  444. margin-bottom: 1px;
  445. background-image: url("../../images/loupe.svg")!important;
  446. background-size: 20px 20px!important;
  447. background-repeat: no-repeat!important;
  448. vertical-align: bottom;
  449. }
  450. #edit-submit{
  451. border: 1px solid black;
  452. background: white;
  453. }
  454. #edit-keys{
  455. width: 30vh;
  456. border: 1px solid black;
  457. }
  458. /*---------recherche---------*/
  459. #block-views-block-rechercher-block-1{
  460. position: fixed;
  461. top: 700px;
  462. }
  463. #block-views-block-rechercher-block-1 #views-exposed-form-rechercher-block-1{
  464. display: flex;
  465. }
  466. #block-views-block-rechercher-block-1 form > div{
  467. border: 1px solid black;
  468. }
  469. #block-views-block-rechercher-block-1 form > div:nth-child(2){
  470. border-right: none;
  471. background: white;
  472. }
  473. #block-views-block-rechercher-block-1 form > div:nth-child(3){
  474. border-left: none;
  475. }
  476. #block-views-block-rechercher-block-1 form > div > input{
  477. border: none;
  478. background: white;
  479. }
  480. #block-views-block-rechercher-block-1 form > div > select{
  481. background: white;
  482. border: none;
  483. width: 15px;
  484. }