styles.scss 21 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001
  1. /**
  2. * Primary Drupal Styles
  3. * Author: Bachir Soussi Chiadmi
  4. */
  5. @function lower-bound($range) {
  6. @if length($range) <= 0 {
  7. @return 0;
  8. }
  9. @return nth($range, 1);
  10. }
  11. @function upper-bound($range) {
  12. @if length($range) < 2 {
  13. @return 999999999999;
  14. }
  15. @return nth($range, 2);
  16. }
  17. @function em-calc($px-value, $rem-base: 16) {
  18. $value: $px-value / $rem-base;
  19. @return $value * 1em;
  20. }
  21. $small-range: (0, em-calc(640)); /* between 0 & 640px */
  22. $medium-range: (em-calc(641), em-calc(1000)); /* between 640px & 1000px */
  23. $large-range: (em-calc(1001), em-calc(1025)); /* between 1001px & 1025px */
  24. $xlarge-range: (em-calc(1026), em-calc(1920)); /* between 1026px & 1920px */
  25. $xxlarge-range: (em-calc(1921), 99999999px); /* between 1920px & infinity */
  26. $screen: 'only screen';
  27. $landscape: '#{$screen} and (orientation: landscape)';
  28. $portrait: '#{$screen} and (orientation: portrait)';
  29. $small-up: $screen;
  30. $small-only: '#{$screen} and (max-width: #{upper-bound($small-range)})';
  31. $medium-up: '#{$screen} and (min-width:#{lower-bound($medium-range)})';
  32. $medium-only: '#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})';
  33. $large-up: '#{$screen} and (min-width:#{lower-bound($large-range)})';
  34. $large-only: '#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})';
  35. $xlarge-up: '#{$screen} and (min-width:#{lower-bound($xlarge-range)})';
  36. $xlarge-only: '#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})';
  37. $xxlarge-up: '#{$screen} and (min-width:#{lower-bound($xxlarge-range)})';
  38. $xxlarge-only: '#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})';
  39. body{
  40. font-size:16px;
  41. font-family: "aileron", Arial, "MS Trebuchet", sans-serif;
  42. }
  43. // a{color: #007BC2; text-decoration: none;}
  44. h1{font-size:1.6em;}
  45. h2{font-size:1.5em;}
  46. h3{font-size:1.4em;}
  47. h4{font-size:1.3em;}
  48. h5{font-size:1.2em;}
  49. h6{font-size:1.1em;}
  50. input{font-family: Arial, "MS Trebuchet", sans-serif; font-size:0.8em;}
  51. // __
  52. // _________ / /___ __________
  53. // / ___/ __ \/ / __ \/ ___/ ___/
  54. // / /__/ /_/ / / /_/ / / (__ )
  55. // \___/\____/_/\____/_/ /____/
  56. $vert : #20c498;
  57. // $bleu : #1f04a1;
  58. // $rouge : #fb3f08;
  59. $coul0 : #2f82ff;
  60. $coul1 : #ff0000;
  61. $coul2 : #88aa00;
  62. $coul3 : #ff6600;
  63. $coul4 : #ff2ad4;
  64. $coul5 : #8800aa;
  65. /** layout */
  66. .footer-block .region, .header-block{ display:inline-block; vertical-align: top;}
  67. #header, #main, #footer{ padding:0; }
  68. body{
  69. }
  70. $maxw:1000px;
  71. @mixin main_centred(){
  72. width:95%;
  73. margin:0 auto;
  74. @media #{$large-up} {
  75. max-width: $maxw;
  76. }
  77. }
  78. $header_height_small:200px;
  79. $header_height_large:400px;
  80. #header{
  81. @media #{$large-up} {
  82. position: fixed;
  83. }
  84. width:100%;
  85. z-index: 20;
  86. background-color: transparentize(#fff, 0.05);
  87. background-image: url(../../images/fond-trame-logo-lite.png);
  88. background-repeat: no-repeat;
  89. background-position: center top;
  90. background-size: contain;
  91. max-height: $header_height_small;
  92. @media #{$large-up} {
  93. max-height: $header_height_large;
  94. }
  95. // box-shadow: 0 3px 3px transparentize(#fff, 0.05);
  96. hgroup.logo{
  97. @include main_centred();
  98. padding: 1em 0 0;
  99. }
  100. h1{margin:0;}
  101. h1 a{
  102. display:block;
  103. height:$header_height_small*0.6;
  104. @media #{$large-up} {
  105. height: $header_height_large*0.8;
  106. }
  107. // transition: height 0.1s ease-in-out;
  108. background-image: url(../../images/logo.png);
  109. background-size: contain;
  110. background-position: center;
  111. background-repeat: no-repeat;
  112. text-indent: -2000px;
  113. overflow: hidden;
  114. margin: 0;
  115. }
  116. h2{
  117. text-align: center;
  118. color:$vert;
  119. font-size: 1em;
  120. font-weight: 500;
  121. @media #{$large-up} {
  122. font-size: 2em;
  123. }
  124. }
  125. }
  126. #main{
  127. // padding-top: $header_height_small;
  128. @media #{$large-up} {
  129. padding-top: $header_height_large;
  130. }
  131. @include main_centred();
  132. >.region{
  133. }
  134. }
  135. // about
  136. #node-63{
  137. // color:$bleu;
  138. padding:1em 0;
  139. .content{
  140. section{display: inline;}
  141. p{ margin:0;}
  142. }
  143. ul.links{
  144. // display: block;
  145. text-align: right;
  146. margin: 0; padding: 0;
  147. li{margin: 0; padding: 0; display: inline-block;}
  148. a{
  149. color: $vert; text-decoration: none;
  150. font-weight: 500;
  151. }
  152. }
  153. }
  154. #thematique-anchor-links{
  155. display:none;
  156. @media #{$large-up} {
  157. display:block;
  158. }
  159. padding:1em 0;
  160. ul{
  161. display: flex;
  162. flex-flow: row nowrap;
  163. justify-content: space-between;
  164. padding:0; margin:0;
  165. li{
  166. max-width: 7em;
  167. list-style: none;
  168. padding:0; margin: 0;
  169. a{
  170. // color: $bleu;
  171. text-decoration: none;
  172. font-weight: 600;
  173. display:block;
  174. min-height: 3em;
  175. background-position: center;
  176. background-repeat: no-repeat;
  177. background-size: contain;
  178. span{
  179. display: block;
  180. }
  181. @mixin anchor($bg, $sb_bg, $coul){
  182. background-image: $bg;
  183. color:$coul;
  184. &.en_attente{
  185. // opacity: 0.4;
  186. color:#aaa;//transparentize($coul, 0.8);//saturate(lighten($coul, 40%), 90%);
  187. background-image: $sb_bg;
  188. cursor: default;
  189. }
  190. }
  191. &.node-32{
  192. @include anchor(
  193. url(../../images/menu-fond-theme-0-flat.jpg),
  194. url(../../images/menu-fond-theme-0-flat-nb.jpg),
  195. $coul0);
  196. }
  197. &.node-14{
  198. @include anchor(
  199. url(../../images/menu-fond-theme-1-flat.jpg),
  200. url(../../images/menu-fond-theme-1-flat-nb.jpg),
  201. $coul1);
  202. }
  203. &.node-38{
  204. @include anchor(
  205. url(../../images/menu-fond-theme-2-flat.jpg),
  206. url(../../images/menu-fond-theme-2-flat-nb.jpg),
  207. $coul2);
  208. }
  209. &.node-3{
  210. @include anchor(
  211. url(../../images/menu-fond-theme-3-flat.jpg),
  212. url(../../images/menu-fond-theme-3-flat-nb.jpg),
  213. $coul3);
  214. }
  215. &.node-20{
  216. @include anchor(
  217. url(../../images/menu-fond-theme-4-flat.jpg),
  218. url(../../images/menu-fond-theme-4-flat-nb.jpg),
  219. $coul4);
  220. }
  221. &.node-26{
  222. @include anchor(
  223. url(../../images/menu-fond-theme-5-flat.jpg),
  224. url(../../images/menu-fond-theme-5-flat-nb.jpg),
  225. $coul5);
  226. }
  227. &:hover{
  228. // TODO: anchor link over effect
  229. }
  230. }
  231. }
  232. }
  233. }
  234. //
  235. // html,
  236. // body,
  237. // #container,
  238. // #main,
  239. // #main>.region,
  240. // #block-system-main,
  241. // #block-system-main>.content,
  242. // .node-thematique{
  243. // overflow-x: visible;
  244. // }
  245. @mixin vidlabel(){
  246. font-size: 1em;
  247. font-weight: 600;
  248. padding:0.2em 0.4em;
  249. background-color: rgba(255,255,255,0.9);
  250. display: inline-block;
  251. }
  252. // thematique
  253. .node-thematique{
  254. // min-height:766px;
  255. margin-bottom: 7em;
  256. position: relative;
  257. &::before{
  258. position: absolute;
  259. content:" ";
  260. z-index: -1;
  261. background-position: center;
  262. background-repeat: no-repeat;
  263. background-size: cover;
  264. width:100%; height:100%;
  265. top:0; left:0;
  266. @media #{$large-up} {
  267. background-size: contain;
  268. width:110%; height:110%;
  269. top:-5%; left:-5%;
  270. }
  271. }
  272. &.en_attente::before{
  273. background-size: contain;
  274. background-position: left;
  275. }
  276. @mixin node_thema($bg, $sb_bg, $coul){
  277. &::before{background-image: $bg;}
  278. >h2,
  279. .group-video .field-name-field-description h3,
  280. .group-description .field-name-field-ecouter,
  281. .node-documentair .field-name-field-doc,
  282. .node-documentair .field-name-title-field,
  283. .field-name-field-episodes .field-label,
  284. .node-episode .field-name-title-field{color: $coul;}
  285. .field-name-body .summary{
  286. border-left-color: $coul;
  287. }
  288. // article.main{
  289. // .field-name-body{
  290. // .summary{background-color: $coul;}
  291. // }
  292. // }
  293. // &.en_attente::before{background-image: $sb_bg;}
  294. // &.en_attente{
  295. // >h2,
  296. // .group-video .field-name-field-description h3,
  297. // .group-description .field-name-field-ecouter,
  298. // .node-documentair .field-name-field-doc,
  299. // .node-documentair .field-name-title-field,
  300. // .field-name-field-episodes .field-label,
  301. // .node-episode .field-name-title-field{
  302. // color: #aaa;//lighten(desaturate($coul, 40%), 20%);
  303. // }
  304. // }
  305. }
  306. &.node-32{
  307. @include node_thema(
  308. url(../../images/fond-theme-0-flat.png),
  309. url(../../images/fond-theme-0-flat-nb.jpg),
  310. $coul0);
  311. }
  312. &.node-14{
  313. @include node_thema(
  314. url(../../images/fond-theme-1-flat.png),
  315. url(../../images/fond-theme-1-flat-nb.jpg),
  316. $coul1);
  317. }
  318. &.node-38{
  319. @include node_thema(
  320. url(../../images/fond-theme-2-flat.png),
  321. url(../../images/fond-theme-2-flat-nb.jpg),
  322. $coul2);
  323. }
  324. &.node-3{
  325. @include node_thema(
  326. url(../../images/fond-theme-3-flat.png),
  327. url(../../images/fond-theme-3-flat-nb.jpg),
  328. $coul3);
  329. }
  330. &.node-20{
  331. @include node_thema(
  332. url(../../images/fond-theme-4-flat.png),
  333. url(../../images/fond-theme-4-flat-nb.jpg),
  334. $coul4);
  335. }
  336. &.node-26{
  337. @include node_thema(
  338. url(../../images/fond-theme-5-flat.png),
  339. url(../../images/fond-theme-5-flat-nb.jpg),
  340. $coul5);
  341. }
  342. @mixin white_shadow(){
  343. $d:2px;
  344. $b:0;
  345. $c:white;
  346. text-shadow:
  347. $d $d $b $c,
  348. -$d $d $b $c,
  349. -$d -$d $b $c,
  350. $d -$d $b $c;
  351. }
  352. >h2{
  353. font-size: 4em;
  354. font-weight: 400;
  355. line-height: 0.9;
  356. text-indent: -0.09em;
  357. // padding-left: 0.18em;
  358. position:relative;
  359. margin:2em 0 0;
  360. padding: 0 2em 0 0;
  361. // @include white_shadow;
  362. @media #{$large-up} {
  363. padding:0;
  364. }
  365. span.target{
  366. position: absolute;
  367. top:-170px;
  368. }
  369. span.date{
  370. font-size: 0.3em;
  371. font-weight: 600;
  372. display: block;
  373. text-indent: 0.2em;
  374. // color: #000;
  375. }
  376. }
  377. .content{
  378. letter-spacing: -0.25em;
  379. >*{letter-spacing: normal;}
  380. $main_w : 69.5%;
  381. $right_w : 30.5%;
  382. $gouttiere: 1.2em;
  383. // _
  384. // ____ ___ ____ _(_)___
  385. // / __ `__ \/ __ `/ / __ \
  386. // / / / / / / /_/ / / / / /
  387. // /_/ /_/ /_/\__,_/_/_/ /_/
  388. article.main{
  389. @media #{$large-up} {
  390. display: inline-block;
  391. vertical-align: top;
  392. width:$main_w;
  393. }
  394. overflow: hidden;
  395. .field-name-body{
  396. position: relative; z-index: 3;
  397. >*{padding:0 1em 0 0;}
  398. .summary{
  399. position: relative;
  400. // background-color: transparentize(#fff, 0.2);
  401. transition: background-color 0.5 ease-in-out;
  402. @media #{$large-up} {
  403. height:7em; overflow: hidden;
  404. }
  405. p{
  406. font-size: 1.05em;
  407. padding:0.5em 1.2em 0.5em;
  408. margin: 0;
  409. font-weight: 500;
  410. // @include white_shadow;
  411. }
  412. border-left-style:solid;
  413. border-left-width: 0;
  414. }
  415. .value{
  416. display:none;
  417. @media #{$large-up} {
  418. display: block;
  419. }
  420. position:absolute;
  421. height:1px; margin-bottom: 0;
  422. transition:height 0.5s ease-in-out;
  423. background-color: #fff;
  424. overflow: hidden;
  425. p{
  426. font-size: 0.95em; padding: 1em 1em 0 1.5em; line-height: 1.3; margin:0;
  427. background-color: #fff;
  428. }
  429. }
  430. @media #{$large-up} {
  431. &:hover{
  432. // .summary{background-color: #fff;}
  433. .value{
  434. height:700px;
  435. }
  436. }
  437. }
  438. // p{padding:0 0 1em; margin: 0;}
  439. } //field-name-body
  440. .group-video{
  441. position: relative;
  442. @media #{$large-up} {
  443. // min-height: 432px;
  444. }
  445. .field-name-field-emvideo img{
  446. max-width: 100%; height: auto;
  447. }
  448. .field-name-field-emvideo a{ display: block; line-height: 0;}
  449. .group-description{
  450. cursor: pointer; pointer-events: none;
  451. position:absolute; z-index: 2;
  452. top:0; left: 0;
  453. width:100%; height:100%;
  454. .field-name-field-ecouter{
  455. @include vidlabel();
  456. margin:15px;
  457. // transition: background-color 0.3s ease-in-out;
  458. }
  459. .field-name-field-description{
  460. position: absolute;
  461. top:0; left:0;
  462. box-sizing: border-box;
  463. width:80%;
  464. height:70%;
  465. margin:10%;
  466. padding:5%;
  467. opacity: 0;
  468. background-color: rgba(255,255,255,0.9);
  469. transition: opacity 0.3s ease-in-out;
  470. h3{
  471. font-weight: 500; font-size: 2em; margin:0;
  472. }
  473. }
  474. }
  475. &:hover .group-description{
  476. // background-color: rgba(255,255,255,0.9);
  477. // .field-name-field-ecouter{
  478. // background-color: rgba(255,255,255,0);
  479. // }
  480. .field-name-field-description{opacity:1;}
  481. }
  482. }
  483. }
  484. // __
  485. // ____/ /___ __________
  486. // / __ / __ \/ ___/ ___/
  487. // / /_/ / /_/ / /__(__ )
  488. // \__,_/\____/\___/____/
  489. aside.right{
  490. margin-top:$gouttiere;
  491. @media #{$large-up} {
  492. display: inline-block;
  493. vertical-align: top;
  494. width: $right_w;
  495. margin-top: 0;
  496. }
  497. .field-name-field-eclairages{
  498. @media #{$large-up} {
  499. padding-left:1em;
  500. }
  501. .field-item:not(:last-child){
  502. padding-bottom: $gouttiere;
  503. }
  504. }
  505. .node-documentair{
  506. min-height: 150px;
  507. background-color: #fff;
  508. .content{
  509. position: relative;
  510. .group-txt{
  511. cursor: pointer; pointer-events: none;
  512. box-sizing: border-box;
  513. position:absolute; z-index: 2; overflow: hidden;
  514. top:0; left:0; width:90%; height:80%;
  515. margin:15px;
  516. // opacity: 0;
  517. .field-name-field-doc{
  518. @include vidlabel;
  519. z-index:5;
  520. transition:background-color 0.3s ease-in-out;
  521. }
  522. .field-name-title-field{
  523. position: absolute; z-index: -1;
  524. top:0; left:0; width: 100%;
  525. font-size: 1.5em;
  526. font-weight: 500;
  527. padding: 30px 7px 10px;
  528. background-color: rgba(255, 255, 255, 0.9);
  529. opacity: 0;
  530. transition:opacity 0.3s ease-in-out;
  531. }
  532. }
  533. .group-video img{ width:100%; height:auto;}
  534. .group-video a{ display: block; line-height: 0;}
  535. }
  536. &:not(.en_attente):hover .group-txt{
  537. .field-name-field-doc{background-color: transparent;}
  538. .field-name-title-field{opacity: 1;}
  539. }
  540. &.en_attente>.content{
  541. position: relative;
  542. &::before{
  543. position: absolute;
  544. top:0; left:0;
  545. width:100%; height:100%;
  546. content:" ";
  547. z-index: 10;
  548. background-color: #fff;
  549. opacity: 0.8;
  550. }
  551. }
  552. }
  553. }
  554. // _ __
  555. // ___ ____ (_)________ ____/ /__ _____
  556. // / _ \/ __ \/ / ___/ __ \/ __ / _ \/ ___/
  557. // / __/ /_/ / (__ ) /_/ / /_/ / __(__ )
  558. // \___/ .___/_/____/\____/\__,_/\___/____/
  559. // /_/
  560. aside.bottom{
  561. padding-top: $gouttiere;
  562. @media #{$large-up} {
  563. padding-top: $gouttiere*0.5;
  564. }
  565. .field-name-field-episodes{
  566. // letter-spacing: -0.25em;
  567. .field-label{
  568. @include vidlabel;
  569. margin-bottom: 0.3em;
  570. }
  571. &>.field-items{
  572. @media #{$large-up} {
  573. display: flex;
  574. flex-flow: row nowrap;
  575. justify-content: space-between;
  576. }
  577. &>.field-item{
  578. display: block;
  579. background-color: #fff;
  580. @media #{$large-up} {
  581. width:19%;
  582. }
  583. .node-episode{
  584. .content{
  585. position: relative;
  586. .group-txt{
  587. cursor: pointer; pointer-events: none;
  588. box-sizing: border-box;
  589. position:absolute; z-index: 2; overflow: hidden;
  590. top:0; left:0; width:90%; height:80%;
  591. margin:5%; padding:5%;
  592. background-color: rgba(255, 255, 255, 0.9);
  593. opacity: 1;
  594. transition:opacity,background-color 0.3s ease-in-out;
  595. .field-name-title-field{
  596. font-size: 4em;
  597. font-weight: 800;
  598. font-style: italic;
  599. text-align: center;
  600. }
  601. }
  602. .group-video img{ width:100%; height:auto;}
  603. .group-video a{ display: block; line-height: 0;}
  604. }
  605. &:not(.en_attente):hover .content .group-txt{
  606. opacity: 0.9;
  607. background-color: rgba(255, 255, 255, 0.3);
  608. }
  609. &.en_attente>.content{
  610. position: relative;
  611. &::before{
  612. position: absolute;
  613. top:0; left:0;
  614. width:100%; height:100%;
  615. content:" ";
  616. z-index: 10;
  617. background-color: #fff;
  618. opacity: 0.8;
  619. }
  620. }
  621. }
  622. }
  623. }
  624. }
  625. .field-name-body{
  626. // display:none;
  627. }
  628. }
  629. }
  630. // &.en_attente{
  631. // .content>.main{
  632. // position: relative;
  633. // &::before{
  634. // position: absolute;
  635. // top:0; left:0;
  636. // width:100%; height:100%;
  637. // content:" ";
  638. // z-index: 10;
  639. // background-color: #fff;
  640. // opacity: 0.8;
  641. // }
  642. // }
  643. // }
  644. }
  645. // ____ __
  646. // / __ \_ _____ _____/ /___ ___ __
  647. // / / / / | / / _ \/ ___/ / __ `/ / / /
  648. // / /_/ /| |/ / __/ / / / /_/ / /_/ /
  649. // \____/ |___/\___/_/ /_/\__,_/\__, /
  650. // /____/
  651. #DOMWindowOverlay{
  652. // background-color: #fff!important;
  653. }
  654. #DOMWindow{
  655. .embedded-video, .player ,iframe{
  656. width:100%;
  657. height:100%;
  658. }
  659. }
  660. // ____
  661. // / __ \____ _____ ____
  662. // / /_/ / __ `/ __ `/ _ \
  663. // / ____/ /_/ / /_/ / __/
  664. // /_/ \__,_/\__, /\___/
  665. // /____/
  666. .page-title{
  667. font-size: 4em;
  668. font-weight: 400;
  669. color: $vert;
  670. text-transform: capitalize;
  671. text-indent: -0.09em;
  672. }
  673. body.node-type-page{
  674. h2{
  675. font-size: 1.5em;
  676. font-size: 400;
  677. }
  678. h3{
  679. font-size: 2em;
  680. font-weight: 300;
  681. margin:1em 0 0;
  682. }
  683. p{
  684. line-height: 1.3;
  685. }
  686. a{
  687. color: $vert;
  688. }
  689. }
  690. // ______ __
  691. // / ____/___ ____ / /____ _____
  692. // / /_ / __ \/ __ \/ __/ _ \/ ___/
  693. // / __/ / /_/ / /_/ / /_/ __/ /
  694. // /_/ \____/\____/\__/\___/_/
  695. #footer{
  696. }
  697. #block-menu-menu-footer-menu{
  698. padding:2em 0;
  699. ul{ margin:0; padding:0; text-align: center;}
  700. li{display:inline-block; list-style: none;}
  701. a{
  702. text-decoration: none;
  703. color: $vert;
  704. font-size: 1.4em;
  705. font-weight: 400;
  706. &:hover{
  707. font-weight: 500;
  708. }
  709. }
  710. }
  711. .region-footer-bottom{
  712. text-align: center;
  713. }
  714. .region-footer-bottom .block{
  715. display: inline-block;
  716. font-size:0.7em;
  717. margin: 2em 0;
  718. a{
  719. color: inherit;
  720. }
  721. }
  722. #content{padding:1em;}
  723. /** Messages. */
  724. div.messages {
  725. padding: 9px;
  726. margin: 0.5em 0 0;
  727. color: #036;
  728. background: #bdf;
  729. border: 1px solid #ace;
  730. -moz-border-radius: 5px;
  731. -webkit-border-radius: 5px;
  732. border-radius: 5px;
  733. }
  734. div.warning {
  735. color: #840;
  736. background: #fe6;
  737. border-color: #ed5;
  738. }
  739. div.error {
  740. color: #fff;
  741. background: #e63;
  742. border-color: #d52;
  743. }
  744. div.error p.error {
  745. color: #333;
  746. }
  747. div.status {
  748. color: #360;
  749. background: #cf8;
  750. border-color: #be7;
  751. }
  752. /** Tab navigation */
  753. ul.primary, .views-admin-links ul {
  754. font:13px/1.231 sans-serif; *font-size:small;
  755. border-collapse: collapse;
  756. padding: 0 0 0 1em; /* LTR */
  757. white-space: nowrap;
  758. list-style: none;
  759. margin: 5px;
  760. height: auto;
  761. line-height: normal;
  762. // border-bottom: 1px solid #bbb;
  763. }
  764. ul.primary li, .views-admin-links li{
  765. display: inline;
  766. }
  767. ul.primary li a, .views-admin-links li a {
  768. // background-color: #ddd;
  769. // border-color: #bbb;
  770. border-width: 1px;
  771. border-style: solid solid none solid;
  772. height: auto;
  773. margin-right: 0.5em; /* LTR */
  774. padding: 0 1em;
  775. text-decoration: none;
  776. -moz-border-radius-topleft: 5px;
  777. -webkit-border-top-left-radius: 5px;
  778. border-top-left-radius: 5px;
  779. -moz-border-radius-topright: 5px;
  780. -webkit-border-top-right-radius: 5px;
  781. border-top-right-radius: 5px;
  782. }
  783. // ul.primary li.active a {
  784. // background-color: #fff;
  785. // border: 1px solid #bbb;
  786. // border-bottom: #fff 1px solid;
  787. // }
  788. // ul.primary li a:hover, .views-admin-links li a:hover{
  789. // background-color: #eee;
  790. // border-color: #ccc;
  791. // border-bottom-color: #eee;
  792. // }
  793. // ul.secondary {
  794. // border-bottom: 1px solid #bbb;
  795. // padding: 0.5em 1em;
  796. // margin: 5px;
  797. // }
  798. // ul.secondary li {
  799. // display: inline;
  800. // padding: 0 1em;
  801. // border-right: 1px solid #ccc; /* LTR */
  802. // }
  803. // ul.secondary a {
  804. // padding: 0;
  805. // text-decoration: none;
  806. // }
  807. // ul.secondary a.active {
  808. // border-bottom: 4px solid #999;
  809. // }
  810. //
  811. /** Form */
  812. #node-form .form-region-main{border-right: 1px solid #BFBFBF; padding-right:10px; width:68%;}
  813. #node-form .form-region-main label{float:left; min-width:25%;}
  814. #node-form .form-region-main input.form-text{width:40%;}
  815. #node-form .form-region-right{padding-left:5px;}
  816. #node-form .form-region-right label{float:left; min-width:35%;}
  817. #node-form .form-region-right input.form-text{width:60%;}
  818. #node-form .form-region-main label.option, #node-form .form-region-right label.option{float: none;}
  819. form:not( #views-ui-config-item-form ) .form-item {
  820. position:relative;
  821. /* padding:9px;*/
  822. }
  823. form:not( #views-ui-config-item-form ) .form-item .description{
  824. position:absolute;
  825. bottom:140%;
  826. /* right:-15px;*/
  827. z-index:5;
  828. left:50%;
  829. color:#1A1A1A;
  830. line-height:1.1;
  831. background:url(../images/popup.png) 50% 100% no-repeat;
  832. width:240px;
  833. margin:0px 0px -15px;
  834. padding:9px 10px 20px;
  835. display:none;
  836. border-top: 1px solid #9F9F9F;
  837. }
  838. form:not( #views-ui-config-item-form ) .form-item:hover {
  839. z-index:1;
  840. height:auto; /* Fix for flicker in IE7 */
  841. }
  842. form:not( #views-ui-config-item-form ) .form-item:hover > .description { display:block; }
  843. fieldset{
  844. border: 1px solid #D4D4D4;
  845. padding:10px;
  846. margin-bottom:1em;
  847. -moz-border-radius: 5px;
  848. -webkit-border-radius: 5px;
  849. border-radius: 5px;
  850. }
  851. fieldset legend{
  852. font-size:1.6em;
  853. }
  854. input.form-text{max-width:95%;}
  855. /** TABLE */
  856. table{width:100%;
  857. -moz-border-radius: 5px;
  858. -webkit-border-radius: 5px;
  859. border-radius: 5px;
  860. }
  861. table thead th{
  862. background-color: #CCC;
  863. padding:0.5em 1em;
  864. text-align: left;
  865. }
  866. table tbody tr.even, table tbody tr.odd{
  867. border-bottom: 0 solid #CCCCCC;
  868. padding: 0.1em 0.6em;
  869. }
  870. table tbody tr.even{background-color: #EEE;}
  871. table tbody tr.odd{background-color: #E5E5E5;}
  872. table tbody td{
  873. padding:0.5em 1em;
  874. text-align: left;
  875. }
  876. td.active {background-color: transparent;}
  877. #tasks{
  878. .tabs{
  879. border: none;
  880. padding:0;
  881. a{
  882. border:none;
  883. border-radius: 3px;
  884. background-color: #eee;
  885. padding:0.4em;
  886. color: #000;
  887. margin:0 1em 0 0;
  888. &.active{
  889. background-color: #999;
  890. }
  891. }
  892. }
  893. }