styles.scss 23 KB

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