styles.scss 20 KB

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