designer.css.php 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Designer styles for the pmahomme theme
  5. *
  6. * @package PhpMyAdmin-theme
  7. * @subpackage PMAHomme
  8. */
  9. use PhpMyAdmin\Theme;
  10. // unplanned execution path
  11. if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
  12. exit();
  13. }
  14. $headerImg = $theme->getImgPath('designer/Header.png');
  15. $headerLinkedImg = $theme->getImgPath('designer/Header_Linked.png');
  16. $minusImg = $theme->getImgPath('designer/minus.png');
  17. $plusImg = $theme->getImgPath('designer/plus.png');
  18. $leftPanelButtonImg = $theme->getImgPath('designer/left_panel_butt.png');
  19. $topPanelImg = $theme->getImgPath('designer/top_panel.png');
  20. $smallTabImg = $theme->getImgPath('designer/small_tab.png');
  21. $frams1Img = $theme->getImgPath('designer/1.png');
  22. $frams2Img = $theme->getImgPath('designer/2.png');
  23. $frams3Img = $theme->getImgPath('designer/3.png');
  24. $frams4Img = $theme->getImgPath('designer/4.png');
  25. $frams5Img = $theme->getImgPath('designer/5.png');
  26. $frams6Img = $theme->getImgPath('designer/6.png');
  27. $frams7Img = $theme->getImgPath('designer/7.png');
  28. $frams8Img = $theme->getImgPath('designer/8.png');
  29. $resizeImg = $theme->getImgPath('designer/resize.png');
  30. ?>
  31. /* Designer */
  32. .input_tab {
  33. background-color: #A6C7E1;
  34. color: #000;
  35. }
  36. .content_fullscreen {
  37. position: relative;
  38. overflow: auto;
  39. }
  40. #canvas_outer {
  41. position: relative;
  42. width: 100%;
  43. display: block;
  44. }
  45. #canvas {
  46. background-color: #fff;
  47. color: #000;
  48. }
  49. canvas.designer {
  50. display: inline-block;
  51. overflow: hidden;
  52. text-align: left;
  53. }
  54. canvas.designer * {
  55. behavior: url(#default#VML);
  56. }
  57. .designer_tab {
  58. background-color: #fff;
  59. color: #000;
  60. border-collapse: collapse;
  61. border: 1px solid #aaa;
  62. z-index: 1;
  63. -moz-user-select: none;
  64. }
  65. .designer_tab .header {
  66. background-image: url(<?php echo $headerImg; ?>);
  67. background-repeat: repeat-x;
  68. }
  69. .tab_zag {
  70. text-align: center;
  71. cursor: move;
  72. padding: 1px;
  73. font-weight: bold;
  74. }
  75. .tab_zag_2 {
  76. background-image: url(<?php echo $headerLinkedImg; ?>);
  77. background-repeat: repeat-x;
  78. text-align: center;
  79. cursor: move;
  80. padding: 1px;
  81. font-weight: bold;
  82. }
  83. .tab_field {
  84. background: #fff;
  85. color: #000;
  86. cursor: default;
  87. }
  88. .tab_field:hover, .tab_field_3:hover {
  89. background-color: #CCFFCC;
  90. color: #000;
  91. background-repeat: repeat-x;
  92. cursor: default;
  93. }
  94. .tab_field_3 {
  95. background-color: #FFE6E6 !important; /*#DDEEFF*/
  96. color: #000;
  97. cursor: default;
  98. }
  99. #designer_hint {
  100. white-space: nowrap;
  101. position: absolute;
  102. background-color: #99FF99;
  103. color: #000;
  104. z-index: 3;
  105. border: #00CC66 solid 1px;
  106. display: none;
  107. }
  108. .scroll_tab {
  109. overflow: auto;
  110. width: 100%;
  111. height: 500px;
  112. }
  113. .designer_Tabs {
  114. cursor: default;
  115. color: #0055bb;
  116. white-space: nowrap;
  117. text-decoration: none;
  118. text-indent: 3px;
  119. font-weight: bold;
  120. margin-left: 2px;
  121. text-align: <?php echo $left; ?>;
  122. background-color: #fff;
  123. background-image: url(<?php echo $leftPanelButtonImg; ?>);
  124. border: #ccc solid 1px;
  125. }
  126. .designer_Tabs:hover {
  127. cursor: default;
  128. color: #0055bb;
  129. background: #FFEE99;
  130. text-indent: 3px;
  131. font-weight: bold;
  132. white-space: nowrap;
  133. text-decoration: none;
  134. border: #9999FF solid 1px;
  135. text-align: <?php echo $left; ?>;
  136. }
  137. .owner {
  138. font-weight: normal;
  139. color: #888;
  140. }
  141. .option_tab {
  142. padding-left: 2px;
  143. padding-right: 2px;
  144. width: 5px;
  145. }
  146. .select_all {
  147. vertical-align: top;
  148. padding-left: 2px;
  149. padding-right: 2px;
  150. cursor: default;
  151. width: 1px;
  152. color: #000;
  153. background-image: url(<?php echo $headerImg; ?>);
  154. background-repeat: repeat-x;
  155. }
  156. .small_tab {
  157. vertical-align: top;
  158. background-color: #0064ea;
  159. color: #fff;
  160. background-image: url(<?php echo $smallTabImg; ?>);
  161. cursor: default;
  162. text-align: center;
  163. font-weight: bold;
  164. padding-left: 2px;
  165. padding-right: 2px;
  166. width: 1px;
  167. text-decoration: none;
  168. }
  169. .small_tab:hover {
  170. vertical-align: top;
  171. color: #fff;
  172. background-color: #FF9966;
  173. cursor: default;
  174. padding-left: 2px;
  175. padding-right: 2px;
  176. text-align: center;
  177. font-weight: bold;
  178. width: 1px;
  179. text-decoration: none;
  180. }
  181. .small_tab_pref {
  182. background-image: url(<?php echo $headerImg; ?>);
  183. background-repeat: repeat-x;
  184. text-align: center;
  185. width: 1px;
  186. }
  187. .small_tab_pref:hover {
  188. vertical-align: top;
  189. color: #fff;
  190. background-color: #FF9966;
  191. cursor: default;
  192. text-align: center;
  193. font-weight: bold;
  194. width: 1px;
  195. text-decoration: none;
  196. }
  197. .butt {
  198. border: #4477aa solid 1px;
  199. font-weight: bold;
  200. height: 19px;
  201. width: 70px;
  202. background-color: #fff;
  203. color: #000;
  204. vertical-align: baseline;
  205. }
  206. .L_butt2_1 {
  207. padding: 1px;
  208. text-decoration: none;
  209. vertical-align: middle;
  210. cursor: default;
  211. }
  212. .L_butt2_1:hover {
  213. padding: 0;
  214. border: #0099CC solid 1px;
  215. background: #FFEE99;
  216. color: #000;
  217. text-decoration: none;
  218. vertical-align: middle;
  219. cursor: default;
  220. }
  221. /* ---------------------------------------------------------------------------*/
  222. .bor {
  223. width: 10px;
  224. height: 10px;
  225. }
  226. .frams1 {
  227. background: url(<?php echo $frams1Img; ?>) no-repeat right bottom;
  228. }
  229. .frams2 {
  230. background: url(<?php echo $frams2Img; ?>) no-repeat left bottom;
  231. }
  232. .frams3 {
  233. background: url(<?php echo $frams3Img; ?>) no-repeat left top;
  234. }
  235. .frams4 {
  236. background: url(<?php echo $frams4Img; ?>) no-repeat right top;
  237. }
  238. .frams5 {
  239. background: url(<?php echo $frams5Img; ?>) repeat-x center bottom;
  240. }
  241. .frams6 {
  242. background: url(<?php echo $frams6Img; ?>) repeat-y left;
  243. }
  244. .frams7 {
  245. background: url(<?php echo $frams7Img; ?>) repeat-x top;
  246. }
  247. .frams8 {
  248. background: url(<?php echo $frams8Img; ?>) repeat-y right;
  249. }
  250. #osn_tab {
  251. position: absolute;
  252. background-color: #fff;
  253. color: #000;
  254. }
  255. .designer_header {
  256. background-color: #EAEEF0;
  257. color: #000;
  258. text-align: center;
  259. font-weight: bold;
  260. margin: 0;
  261. padding: 0;
  262. background-image: url(<?php echo $topPanelImg; ?>);
  263. background-position: top;
  264. background-repeat: repeat-x;
  265. border-right: #999 solid 1px;
  266. border-left: #999 solid 1px;
  267. height: 28px;
  268. z-index: 101;
  269. width: 100%;
  270. position: fixed;
  271. }
  272. .designer_header a, .designer_header span{
  273. display: block;
  274. float: <?php echo $left; ?>;
  275. margin: 3px 1px 4px;
  276. height: 20px;
  277. border: 1px dotted #fff;
  278. }
  279. .designer_header .M_bord {
  280. display: block;
  281. float: <?php echo $left; ?>;
  282. margin: 4px;
  283. height: 20px;
  284. width: 2px;
  285. }
  286. .designer_header a.first {
  287. margin-right: 1em;
  288. }
  289. .designer_header a.last {
  290. margin-left: 1em;
  291. }
  292. a.M_butt_Selected_down_IE,
  293. a.M_butt_Selected_down {
  294. border: 1px solid #C0C0BB;
  295. background-color: #99FF99;
  296. color: #000;
  297. }
  298. a.M_butt_Selected_down_IE:hover,
  299. a.M_butt_Selected_down:hover,
  300. a.M_butt:hover {
  301. border: 1px solid #0099CC;
  302. background-color: #FFEE99;
  303. color: #000;
  304. }
  305. #layer_menu {
  306. z-index: 98;
  307. position: relative;
  308. float: right;
  309. background-color: #EAEEF0;
  310. border: #999 solid 1px;
  311. }
  312. #layer_menu.left {
  313. float: left;
  314. }
  315. #layer_upd_relation {
  316. position: absolute;
  317. <?php echo $left; ?>: 637px;
  318. top: 224px;
  319. z-index: 100;
  320. }
  321. #layer_new_relation {
  322. position: absolute;
  323. <?php echo $left; ?>: 636px;
  324. top: 85px;
  325. z-index: 100;
  326. width: 153px;
  327. }
  328. #designer_optionse {
  329. position: absolute;
  330. <?php echo $left; ?>: 636px;
  331. top: 85px;
  332. z-index: 100;
  333. width: 153px;
  334. }
  335. #layer_menu_sizer {
  336. background-image: url(<?php echo $resizeImg; ?>);
  337. cursor: ew-resize;
  338. }
  339. #layer_menu_sizer .icon {
  340. margin: 0;
  341. }
  342. .panel {
  343. position: fixed;
  344. top: 60px;
  345. <?php echo $right; ?>: 0;
  346. width: 350px;
  347. max-height: 500px;
  348. display: none;
  349. overflow: auto;
  350. padding-top: 34px;
  351. z-index: 102;
  352. }
  353. a.trigger {
  354. position: fixed;
  355. text-decoration: none;
  356. top: 60px;
  357. <?php echo $right; ?>: 0;
  358. color: #fff;
  359. padding: 10px 40px 10px 15px;
  360. background: #333 url(<?php echo $plusImg; ?>) 85% 55% no-repeat;
  361. border: 1px solid #444;
  362. display: block;
  363. z-index: 102;
  364. }
  365. a.trigger:hover {
  366. color: #080808;
  367. background: #fff696 url(<?php echo $plusImg; ?>) 85% 55% no-repeat;
  368. border: 1px solid #999;
  369. }
  370. a.active.trigger {
  371. background: #222 url(<?php echo $minusImg; ?>) 85% 55% no-repeat;
  372. z-index: 999;
  373. }
  374. a.active.trigger:hover {
  375. background: #fff696 url(<?php echo $minusImg; ?>) 85% 55% no-repeat;
  376. }
  377. .toggle_container .block {
  378. background-color: #DBE4E8;
  379. border-top: 1px solid #999;
  380. }
  381. .history_table {
  382. text-align: center;
  383. cursor: pointer;
  384. background-color: #DBE4E8;
  385. }
  386. .history_table:hover {
  387. background-color: #9999CC;
  388. }
  389. #ab {
  390. min-width: 300px;
  391. }
  392. #ab .ui-accordion-content {
  393. padding: 0;
  394. }
  395. #box {
  396. display: none;
  397. }
  398. #foreignkeychk {
  399. text-align: <?php echo $left; ?>;
  400. position: absolute;
  401. cursor: pointer;
  402. }
  403. .side-menu {
  404. float: left;
  405. position: fixed;
  406. width: auto;
  407. height: auto;
  408. background: #efefef;
  409. border: 1px solid grey;
  410. overflow: hidden;
  411. z-index: 50;
  412. padding: 2px;
  413. }
  414. .side-menu.right {
  415. float: right;
  416. right: 0;
  417. }
  418. .side-menu .hide {
  419. display: none;
  420. }
  421. .side-menu a {
  422. display: block;
  423. float: none;
  424. overflow: hidden;
  425. }
  426. .side-menu img,
  427. .side-menu .text {
  428. float: left;
  429. }
  430. #name-panel {
  431. border-bottom: 1px solid grey;
  432. text-align: center;
  433. background: #efefef;
  434. width: 100%;
  435. font-size: 1.2em;
  436. padding: 10px;
  437. font-weight: bold;
  438. }
  439. #container-form {
  440. width: 100%;
  441. position: absolute;
  442. left: 0;
  443. }