styles.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971
  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: inherit; 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: 3em;
  668. font-weight: 400;
  669. text-transform: capitalize;
  670. }
  671. // ______ __
  672. // / ____/___ ____ / /____ _____
  673. // / /_ / __ \/ __ \/ __/ _ \/ ___/
  674. // / __/ / /_/ / /_/ / /_/ __/ /
  675. // /_/ \____/\____/\__/\___/_/
  676. #footer{
  677. }
  678. #block-menu-menu-footer-menu{
  679. padding:2em 0;
  680. ul{ margin:0; padding:0; text-align: center;}
  681. li{display:inline-block; list-style: none;}
  682. a{ text-decoration: none; color: inherit;}
  683. }
  684. .region-footer-bottom{
  685. text-align: center;
  686. }
  687. .region-footer-bottom .block{
  688. display: inline-block;
  689. font-size:0.7em;
  690. margin: 2em 0;
  691. }
  692. #content{padding:1em;}
  693. /** Messages. */
  694. div.messages {
  695. padding: 9px;
  696. margin: 0.5em 0 0;
  697. color: #036;
  698. background: #bdf;
  699. border: 1px solid #ace;
  700. -moz-border-radius: 5px;
  701. -webkit-border-radius: 5px;
  702. border-radius: 5px;
  703. }
  704. div.warning {
  705. color: #840;
  706. background: #fe6;
  707. border-color: #ed5;
  708. }
  709. div.error {
  710. color: #fff;
  711. background: #e63;
  712. border-color: #d52;
  713. }
  714. div.error p.error {
  715. color: #333;
  716. }
  717. div.status {
  718. color: #360;
  719. background: #cf8;
  720. border-color: #be7;
  721. }
  722. /** Tab navigation */
  723. ul.primary, .views-admin-links ul {
  724. font:13px/1.231 sans-serif; *font-size:small;
  725. border-collapse: collapse;
  726. padding: 0 0 0 1em; /* LTR */
  727. white-space: nowrap;
  728. list-style: none;
  729. margin: 5px;
  730. height: auto;
  731. line-height: normal;
  732. // border-bottom: 1px solid #bbb;
  733. }
  734. ul.primary li, .views-admin-links li{
  735. display: inline;
  736. }
  737. ul.primary li a, .views-admin-links li a {
  738. // background-color: #ddd;
  739. // border-color: #bbb;
  740. border-width: 1px;
  741. border-style: solid solid none solid;
  742. height: auto;
  743. margin-right: 0.5em; /* LTR */
  744. padding: 0 1em;
  745. text-decoration: none;
  746. -moz-border-radius-topleft: 5px;
  747. -webkit-border-top-left-radius: 5px;
  748. border-top-left-radius: 5px;
  749. -moz-border-radius-topright: 5px;
  750. -webkit-border-top-right-radius: 5px;
  751. border-top-right-radius: 5px;
  752. }
  753. // ul.primary li.active a {
  754. // background-color: #fff;
  755. // border: 1px solid #bbb;
  756. // border-bottom: #fff 1px solid;
  757. // }
  758. // ul.primary li a:hover, .views-admin-links li a:hover{
  759. // background-color: #eee;
  760. // border-color: #ccc;
  761. // border-bottom-color: #eee;
  762. // }
  763. // ul.secondary {
  764. // border-bottom: 1px solid #bbb;
  765. // padding: 0.5em 1em;
  766. // margin: 5px;
  767. // }
  768. // ul.secondary li {
  769. // display: inline;
  770. // padding: 0 1em;
  771. // border-right: 1px solid #ccc; /* LTR */
  772. // }
  773. // ul.secondary a {
  774. // padding: 0;
  775. // text-decoration: none;
  776. // }
  777. // ul.secondary a.active {
  778. // border-bottom: 4px solid #999;
  779. // }
  780. //
  781. /** Form */
  782. #node-form .form-region-main{border-right: 1px solid #BFBFBF; padding-right:10px; width:68%;}
  783. #node-form .form-region-main label{float:left; min-width:25%;}
  784. #node-form .form-region-main input.form-text{width:40%;}
  785. #node-form .form-region-right{padding-left:5px;}
  786. #node-form .form-region-right label{float:left; min-width:35%;}
  787. #node-form .form-region-right input.form-text{width:60%;}
  788. #node-form .form-region-main label.option, #node-form .form-region-right label.option{float: none;}
  789. form:not( #views-ui-config-item-form ) .form-item {
  790. position:relative;
  791. /* padding:9px;*/
  792. }
  793. form:not( #views-ui-config-item-form ) .form-item .description{
  794. position:absolute;
  795. bottom:140%;
  796. /* right:-15px;*/
  797. z-index:5;
  798. left:50%;
  799. color:#1A1A1A;
  800. line-height:1.1;
  801. background:url(../images/popup.png) 50% 100% no-repeat;
  802. width:240px;
  803. margin:0px 0px -15px;
  804. padding:9px 10px 20px;
  805. display:none;
  806. border-top: 1px solid #9F9F9F;
  807. }
  808. form:not( #views-ui-config-item-form ) .form-item:hover {
  809. z-index:1;
  810. height:auto; /* Fix for flicker in IE7 */
  811. }
  812. form:not( #views-ui-config-item-form ) .form-item:hover > .description { display:block; }
  813. fieldset{
  814. border: 1px solid #D4D4D4;
  815. padding:10px;
  816. margin-bottom:1em;
  817. -moz-border-radius: 5px;
  818. -webkit-border-radius: 5px;
  819. border-radius: 5px;
  820. }
  821. fieldset legend{
  822. font-size:1.6em;
  823. }
  824. input.form-text{max-width:95%;}
  825. /** TABLE */
  826. table{width:100%;
  827. -moz-border-radius: 5px;
  828. -webkit-border-radius: 5px;
  829. border-radius: 5px;
  830. }
  831. table thead th{
  832. background-color: #CCC;
  833. padding:0.5em 1em;
  834. text-align: left;
  835. }
  836. table tbody tr.even, table tbody tr.odd{
  837. border-bottom: 0 solid #CCCCCC;
  838. padding: 0.1em 0.6em;
  839. }
  840. table tbody tr.even{background-color: #EEE;}
  841. table tbody tr.odd{background-color: #E5E5E5;}
  842. table tbody td{
  843. padding:0.5em 1em;
  844. text-align: left;
  845. }
  846. td.active {background-color: transparent;}
  847. #tasks{
  848. .tabs{
  849. border: none;
  850. padding:0;
  851. a{
  852. border:none;
  853. border-radius: 3px;
  854. background-color: #eee;
  855. padding:0.4em;
  856. color: #000;
  857. margin:0 1em 0 0;
  858. &.active{
  859. background-color: #999;
  860. }
  861. }
  862. }
  863. }