styles.scss 20 KB

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