styles.scss 20 KB

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