styles.scss 20 KB

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