guibik.less.orig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. //@import 'elements.less';
  2. @import "gui.less";
  3. /** table */
  4. @grey:#E0E0E0;
  5. @greylite:#F4F4F4;
  6. /** GENERAL FORM */
  7. a{color:#0092D2;}
  8. table th{background-color: @grey;}
  9. .block,
  10. .item-list,
  11. .help-items ul,
  12. .form-item,
  13. .confirmation ul,
  14. .admin-list,
  15. .node-type-list,
  16. .admin-panel {
  17. border-width:0px;
  18. border-style:solid;
  19. border-color:#fff;
  20. }
  21. .text-format-wrapper .form-item {
  22. background:#F4F4F4;
  23. margin:0px 0px 10px;
  24. border-width:0;
  25. border-style:solid;
  26. border-color:#ddd;
  27. padding: 9px;
  28. }
  29. .form-item label {
  30. color:#1A1A1A;
  31. font-weight:normal;
  32. font-size:12px;
  33. text-transform: none;
  34. }
  35. input.form-autocomplete,
  36. input.form-text,
  37. textarea.form-textarea,
  38. select.form-select {
  39. padding:3px;
  40. border-width:1px;
  41. border-style:solid;
  42. border-color:#BFBFBF;
  43. background:#fff;
  44. color:#1A1A1A;
  45. max-width:100%;
  46. }
  47. span.autocomplete-deluxe-button{top:0.25em;}
  48. .fieldset {
  49. &.titled{margin:20px 0px 10px!important;}
  50. display:block;
  51. position:relative;
  52. min-height:28px;
  53. border: 0 solid #eee;
  54. border-top:1px solid #4C4C4C;
  55. legend{
  56. margin-top:-0.9em;
  57. }
  58. &.collapsible legend{
  59. a.fieldset-title{
  60. padding-right:15px;
  61. &:after{
  62. content:"-";
  63. padding:0 3px 2px;
  64. margin:-5px 0 0 10px;
  65. .rounded();
  66. color:#000;
  67. background-color: #FFF;
  68. /* font-size:9px;*/
  69. line-height:0;
  70. font-weight:bold;
  71. }
  72. &:hover{color:#fff; font-weight:bold;}
  73. }
  74. }
  75. &.collapsed legend{
  76. a.fieldset-title:after{
  77. content:"+";
  78. /* padding:2px 5px 3px;
  79. .rounded();
  80. color:#fff;
  81. background-color: #1A1A1A;
  82. */ }
  83. }
  84. }
  85. .tabledrag-processed{
  86. border:0 solid #fff;
  87. padding-bottom:2em;
  88. /* border-top:1px solid #4C4C4C;*/
  89. thead{
  90. background-color: transparent;
  91. label{color:inherit; text-shadow: none; padding:0 0 0 0.5em;}
  92. th{background-color: transparent; text-transform:uppercase; font-weight:bold;}
  93. }
  94. }
  95. .item-list h3,
  96. .block .block-title,
  97. .fieldset-title,
  98. .collapsible .fieldset-legend a{
  99. display:inline-block; width:auto;
  100. .rounded();
  101. font-size:12px;
  102. font-weight:normal;
  103. text-transform: uppercase;
  104. margin:0px;
  105. padding:2px 9px 3px;
  106. color:#fff;
  107. background:#666;
  108. }
  109. .block .block-content,
  110. .container-inline .fieldset-content,
  111. .fieldset-content {
  112. padding:10px 9px 9px;
  113. background:#F4F4F4;
  114. }
  115. /** popup description */
  116. .page-content .form-item .description {
  117. color:#fff;
  118. border-top:1px solid #E0E0E0;
  119. /* background: #1A1A1A url() no-repeat scroll top left;*/
  120. background:url(../images/popup.png) 50% 100% no-repeat;
  121. a{text-decoration: underline;}
  122. }
  123. li{list-style: none inside url();}
  124. /** NODE FORM */
  125. #user-profile-form, .node-form{
  126. label{text-transform: uppercase; font-size:1em;}
  127. .fieldset-title,
  128. .vertical-tab-button strong, .horizontal-tab-button strong{text-transform: uppercase; font-size:0.8em; font-weight:bold;}
  129. div.form-type-checkboxes{
  130. &>label, &>div.form-checkboxes{.inlineblock();}
  131. }
  132. .form-item-language, .form-type-select{
  133. &>label, &>select{.inlineblock();}
  134. &>label{width:35%;}
  135. &>select{max-width:60%;}
  136. }
  137. .form-type-textfield{
  138. &>label, &>input.form-text{.inlineblock(); margin:0; vertical-align:middle;}
  139. &>label{width:35%;}
  140. &>input.form-text{max-width:60%;}
  141. }
  142. .form-type-link-field{
  143. &>label, &>input.form-text{.inlineblock(); margin:0;}
  144. &>label{width:35%;}
  145. div{.inlineblock(); margin:0; width:100%;}
  146. &>div{width:60%;}
  147. input.form-text{max-width:100%;}
  148. }
  149. .form-phone-number{
  150. .form-item{.inlineblock();}
  151. input.form-text{width:100%;}
  152. }
  153. .autocomplete-deluxe-button{
  154. margin-top:-3px;
  155. }
  156. .addressfield-container-inline{
  157. &>div.form-item{.inlineblock(); margin:0; width:30%;}
  158. }
  159. fieldset.filter-wrapper{display:none;}
  160. input.fid.form-text{display:none;}
  161. .form-region-right{
  162. position:relative;
  163. fieldset.form-wrapper{max-width:100%; padding:0; margin:0;}
  164. .fieldset-wrapper{padding:0;}
  165. input.form-text{width:100%;}
  166. }
  167. tr.draggable{
  168. fieldset{
  169. legend{display:none;}
  170. .fieldset-content{
  171. padding:0;
  172. .date-padding{padding:0;}
  173. }
  174. }
  175. }
  176. .field-widget-term-reference-tree .form-item.form-type-checkbox-tree{
  177. display: block;
  178. .term-reference-tree{
  179. &>ul.term-reference-tree-level{.inlineblock(); padding:0 2em 0 0; min-width:30%;}
  180. .term-reference-track-list-container{.inlineblock(); border-left:1px solid #848484; padding:0 0 2em 1em;}
  181. }
  182. }
  183. }
  184. /** VERTICAL TABS */
  185. .vertical-tabs {
  186. background:@greylite;
  187. border:1px solid #BFBFBF;
  188. margin:0px 0px 10px;
  189. position:relative;
  190. }
  191. .vertical-tabs .fieldset-content,
  192. .vertical-tabs fieldset.titled .fieldset-content {
  193. border:0px;
  194. padding:10px;
  195. }
  196. .vertical-tabs .fieldset-content .fieldset-content {
  197. margin-top: 20px;
  198. }
  199. .vertical-tabs-list li a {
  200. display:block;
  201. text-shadow:#fff 0px 1px 0px;
  202. padding:5px 10px 4px 10px;
  203. border-bottom:1px solid #BFBFBF;
  204. border-right:1px solid #BFBFBF;
  205. color:#494949;
  206. background: @grey;
  207. }
  208. .vertical-tabs-list li.last a{
  209. border-bottom:0px solid #BFBFBF
  210. }
  211. .vertical-tabs-list .selected a ,
  212. .vertical-tabs-list li:hover a {
  213. background:@greylite;
  214. color:#1A1A1A;
  215. }
  216. .vertical-tabs-list .selected a{
  217. border-right:0 solid @greylite;
  218. }
  219. .vertical-tabs-list .summary { font-size:11px; }
  220. <<<<<<< HEAD
  221. .page-admin table,
  222. .update tr.warning .version-recommended,
  223. .update tr.error .version-recommended{
  224. background-color: transparent;
  225. border:0px solid transparent;
  226. tr{
  227. border:0px solid transparent;
  228. }
  229. }
  230. .page-admin table tr.even{
  231. background: #EFEFEF;
  232. }
  233. =======
  234. >>>>>>> d3b84b77338e29b835ff6348fb9f12a810dea950
  235. .page-admin table tr{
  236. &.even, &.odd{
  237. td, h3 {background-color: transparent;}
  238. &:hover{ background: #D4EFEE;}
  239. &.ok{
  240. background-color: #d1f2a3;
  241. }
  242. &.warning{
  243. background-color: #e9e2a6;
  244. }
  245. &.error{
  246. background-color: #ffc4be;
  247. }
  248. }
  249. &.even{
  250. background: #EFEFEF;
  251. }
  252. &.ok, &.ok:hover{
  253. color: #468847;//#036;
  254. background-color: #dff0d8;//#bdf;
  255. // td{
  256. // border-bottom:3px solid #d6e9c6;//#ace;
  257. // }
  258. }
  259. &.warning, &.warning:hover{
  260. color: #c09853;//#840;
  261. background-color: #fcf8e3;//#fe6;
  262. // td{
  263. // border-bottom: 3px solid #fbeed5;//#ed5;
  264. // }
  265. }
  266. &.error, &.error:hover{
  267. color: #b94a48;//#fff;
  268. background-color: #f2dede;//#e63;
  269. // td{
  270. // border-bottom: 3px solid #eed3d7;
  271. // }
  272. }
  273. // td{ border:0 solid #fff;}
  274. }
  275. .admin-block-description,
  276. .help-items ul li,
  277. .confirmation ul li,
  278. .item-list ul li,
  279. .prose .item-list li,
  280. .menu li {
  281. border-bottom:0 solid #f4f4f4;
  282. }
  283. form .form-actions {
  284. background:#eee;
  285. border:0 solid #ddd;
  286. padding:9px;
  287. }
  288. /** boutons */
  289. input.teaser-button,
  290. input.form-submit,
  291. .node-edit, .button, .node-delete{
  292. cursor:pointer;
  293. padding:0.3em 0.9em;
  294. color:#333;
  295. text-align:center;
  296. font-size:12px;
  297. font-weight:normal;
  298. border-width:1px;
  299. border-style:solid;
  300. border-color:#ddd #ddd #ccc;
  301. background:#bdf url();
  302. .rounded();
  303. &.field-add-more-submit{
  304. padding:0.1em 0.4em 0;
  305. font-size:10px;
  306. }
  307. }
  308. .node-edit, .button, .node-delete{font-size:10px;padding:0.1em 0.6em;}
  309. input.form-submit:hover,
  310. .node-edit:hover, .button:hover, .node-delete:hover{
  311. border-color:#ddd #ddd #ccc;
  312. -webkit-box-shadow:#ace 0px 0px 0px;
  313. color:#bdf;
  314. background-color: #848484;
  315. }
  316. input.button-yes:not(.field-add-more-submit), .node-edit{
  317. background-color: #CCFF2F;
  318. &:hover{
  319. color:#CCFF2F;
  320. }
  321. }
  322. input.button-no, .node-delete{
  323. background-color: #EA4B4A;
  324. &:hover{
  325. color:#EA4B4A;
  326. }
  327. }
  328. /** admin module */
  329. /**
  330. *
  331. * /!\ CUSTOM HERE /!\
  332. *
  333. * Provide better display for admin menu ==============================
  334. */
  335. body.admin-vertical #admin-menu{background:#222;background-image:none;}
  336. body.admin-vertical #admin-menu-wrapper{margin-left:35px!important;}
  337. body.admin-vertical.admin-expanded #admin-menu-wrapper{border-left:1px solid #323232;margin-left:260px!important;}
  338. #admin-toolbar{z-index:1000!important;}
  339. /* --- */
  340. /**
  341. * VIEW
  342. */
  343. #views-ui-edit-form{
  344. div.changed {
  345. background-color: #FFF98E;
  346. }
  347. .views-ui-display-tab-bucket h3{
  348. font-weight:bold;
  349. background-color: #D8D8D8;
  350. }
  351. .defaulted, .views-ui-display-tab-bucket .views-display-setting.even, .views-ui-display-tab-bucket .views-display-setting.odd{ //:not(.overriden)
  352. color: #666;
  353. background-color: #E0E0E0;
  354. font-style: italic;
  355. /* font-weight:bold;*/
  356. a{color: #3F80B3}
  357. }
  358. .views-ui-display-tab-bucket.overridden .views-display-setting, .views-ui-display-tab-bucket.overridden .views-display-setting,
  359. .views-display-setting.overridden{ //:not(.overriden)
  360. &, &.even, &.odd{
  361. color: #7F7F7F;
  362. background-color: #F9F9F9;
  363. font-style: normal;
  364. /* font-weight:bold;*/
  365. a{color: #3188D1;}
  366. }
  367. }
  368. }
  369. .view{
  370. .view-header{
  371. padding:0.5em; margin:0 0 1em 0;
  372. border: 1px solid #CCC; .border-radius(5px,5px,5px,5px);
  373. font-weight:bold;
  374. }
  375. .pager{
  376. padding:1em 0; margin:0; text-align: right; height:auto;
  377. ul{
  378. .inlineblock(); padding:0;
  379. li{
  380. height:20px;
  381. a, span{padding:1px 10px 2px;}
  382. }
  383. }
  384. }
  385. // EXPOSED
  386. .view-filters{
  387. padding:1em 0; margin:0 0 1em 0;
  388. border: 1px solid #CCC; .border-radius(5px,5px,5px,5px);
  389. &>span.title, &>form{.inlineblock();width:auto;position:relative;vertical-align: top;}
  390. &>span.title{padding:0.7em 1em;}
  391. fieldset{
  392. .inlineblock(); padding:0 1em;
  393. .fieldset-content{padding:0;}
  394. legend{display:none;}
  395. }
  396. /* .views-exposed-form{ */
  397. label{font-weight:normal; font-size:0.75em;}
  398. .form-item{.inlineblock(); padding:0 0.5em 0 0;
  399. select, input{font-size:0.8em;}
  400. }
  401. /* }*/
  402. }
  403. // VBO
  404. fieldset#edit-select{
  405. padding:1em 0; margin:0 0 1em 0;
  406. border: 1px solid #CCC; .border-radius(5px,5px,5px,5px);
  407. legend, .fieldset-content{.inlineblock();}
  408. legend{
  409. width:auto;
  410. *{background-color: transparent;}
  411. }
  412. .fieldset-content{
  413. padding:0;
  414. select, input{font-size:0.8em;}
  415. }
  416. }
  417. .vbo-fieldset-select-all{
  418. width:50%; text-align:left;
  419. .form-item{.inlineblock();vertical-align:top;}
  420. em{padding:0 1em;}
  421. }
  422. }
  423. /** media browser */
  424. .view.inline-block-list{
  425. .views-row {
  426. .inlineblock(); vertical-align:top;
  427. padding: 5px; margin:5px; width:250px; min-height:150px; background-color: #E3E3E3;
  428. .border-radius(5px,5px,5px,5px); border: 1px solid #ddd;
  429. .drop-shadow;
  430. .float-left{
  431. float:left;
  432. &>div{margin:0 10px 10px 0;}
  433. }
  434. }
  435. }
  436. *:focus{
  437. border: 1px solid #BDF!important;
  438. }
  439. /* Contain floats: h5bp.com/q */
  440. .clearfix:before, .clearfix:after { content: ""; display: table; }
  441. .clearfix:after { clear: both; }
  442. .clearfix { zoom: 1; }
  443. .path-admin-content-nodes span.icon { background-position:0px -30px; }
  444. /** admin view */
  445. .custom-admin{
  446. table{
  447. caption{ text-align: left; padding:2em 0 0 0; font-weight:bold;}
  448. th{line-height:1; background-color: @greylite!important;}
  449. td{padding-top:1em;padding-bottom:1em;}
  450. td.views-field-field-media{
  451. width:100px;
  452. img{max-width:100%; height:auto;}
  453. }
  454. &.has-caption{
  455. th, td.views-field-field-media, td.views-field-views-bulk-operations{
  456. background: @grey!important;
  457. }
  458. }
  459. td.views-field-title{ width:350px; }
  460. a.node-title-link{font-size:1.1em; padding:0 0 0.3em; display:inline-block;}
  461. td.views-field-field-people{width:100px;}
  462. }
  463. }
  464. #modalContent{
  465. }
  466. #modalContent div.ctools-modal-content{
  467. padding:5px;
  468. -moz-border-radius: 10px;
  469. -webkit-border-radius: 10px;
  470. border-radius: 10px;
  471. border: 1 solid #999;
  472. }
  473. #modalContent div.ctools-modal-content .modal-header,
  474. #modalContent div.ctools-modal-content .modal-header a,
  475. #modalContent div.ctools-modal-content .modal-header span{
  476. background-color: transparent; color:#000!important;
  477. }
  478. /** Messages. */
  479. .messages(){
  480. padding: 9px;
  481. margin: 0.5em 0 0;
  482. color: #3a87ad;//#360;
  483. background: #d9edf7;//#cf8;
  484. border: 1px solid #bce8f1;//#be7;
  485. -moz-border-radius: 5px;
  486. -webkit-border-radius: 5px;
  487. border-radius: 5px;
  488. &.warning {
  489. color: #c09853;//#840;
  490. background-color: #fcf8e3;//#fe6;
  491. border-color: #fbeed5;//#ed5;
  492. }
  493. &.error {
  494. color: #b94a48;//#fff;
  495. background-color: #f2dede;//#e63;
  496. border-color: #eed3d7;//#d52;
  497. }
  498. &.status {
  499. color: #468847;//#036;
  500. background-color: #dff0d8;//#bdf;
  501. border-color:#d6e9c6;//#ace;
  502. }
  503. }
  504. div.messages {
  505. .messages();
  506. }
  507. #better-messages-wrapper{
  508. background-color: rgba(255,255,255,0.6); .p(10px); .rounded(5px); .drop-shadow(0, 0, 6px, 0.4);
  509. #better-messages-default{
  510. .messages-label{display:none;}
  511. div.messages{
  512. .messages(); margin:0 0 10px 0;
  513. }
  514. .footer{
  515. border:none; padding:0; margin:0;
  516. a.message-close{
  517. background: #fff url('../images/close.png') no-repeat center center;
  518. width:15px; height:15px; .rounded(3px); display:block;
  519. }
  520. }
  521. }
  522. }