styles.scss 23 KB

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