styles.scss 21 KB

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