_designer.scss 8.2 KB

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