Advertisement
Guest User

Untitled

a guest
Mar 5th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.97 KB | None | 0 0
  1. @import url('http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic-ext,cyrillic');
  2.  
  3.  
  4. @import "reset.less";
  5.  
  6. body
  7. {
  8. -webkit-font-smoothing: antialiased;
  9. }
  10. html, body, #content-body-wrapper {
  11. height: 100%;
  12. }
  13.  
  14. #header {
  15. width: 100%;
  16. height: 50px;
  17. background: url(/dashboards/img/head_bg.jpg) repeat-x center;
  18. }
  19.  
  20. #menuBtn {
  21. color: #f0f0f0;
  22. cursor: pointer;
  23. text-align: center;
  24. width: 170px;
  25. padding:15px 10px;
  26. font-size: 16px;
  27. text-transform: uppercase;
  28. padding-top: 19px;
  29. background: url(/dashboards/img/menu.png) no-repeat left;
  30. background-position-x: 15px;
  31. background-position-y: 15px;
  32. }
  33.  
  34.  
  35. #menuExt {
  36. position: absolute;
  37. top: 50px;
  38. left: 0px;
  39. background-color: #e0e0e0;
  40. width: 100%;
  41. height: 50px;
  42. box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  43. display: none !important;
  44. }
  45. #menuExt a {
  46. display: inline-block;
  47. padding: 17px 17px 17px 49px;
  48. color: #000;
  49. background-repeat: no-repeat;
  50. background-size: 18%;
  51. background-position: 15px 12px;
  52. }
  53.  
  54. #menuExt a:hover {
  55. background-color: #fff;
  56. }
  57.  
  58. #create_catalog_input, #material_search_input{
  59. background: #ebedf1;
  60. border: 1px solid #8cc0ef;
  61. width: 120px;
  62. height: 35px;
  63. margin: 8px 9px;
  64. padding: 0px 30px 0px 5px;
  65. font-size: 14px;
  66. line-height: 1.428571429;
  67. color: #555;
  68. vertical-align: middle;
  69. border-radius: 5px;
  70. }
  71.  
  72. #material_search_input {
  73. width: 220px;
  74. background-image: url(/dashboards/img/search.png);
  75. background-size: 15px;
  76. background-repeat: no-repeat;
  77. background-position: 232px 11px;
  78. }
  79.  
  80. #create_catalog_input
  81. {
  82. background-image: url(/dashboards/img/enter.png);
  83. background-size: 15px;
  84. background-repeat: no-repeat;
  85. background-position: 130px 12px;
  86. }
  87. #catalog
  88. {
  89.  
  90. .cat
  91. {
  92. text-decoration: none;
  93. font-size: 13px;
  94. cursor: pointer;
  95. color: #131313;
  96. overflow: hidden;
  97. text-overflow: ellipsis;
  98. white-space: nowrap;
  99. line-height: 54px;
  100. padding: 0px 10px;
  101. width: 157px;
  102. &:hover
  103. {
  104. background-color: #FCF8E4;
  105.  
  106. }
  107. &.select
  108. {
  109. background-color: #EFEFEF;
  110. }
  111. }
  112. }
  113. #pages, #catalog{
  114.  
  115. width: 100%;
  116. height: 100%;
  117. overflow: hidden;
  118. overflow-y: auto;
  119. }
  120. #pages .block {
  121. padding: 5px 10px;
  122. cursor: pointer;
  123. &.active
  124. {
  125. background-color: #EFEFEF;
  126. }
  127. &:hover
  128. {
  129. background-color: #FCF8E4;
  130. }
  131. .header
  132. {
  133. font-weight: bold;
  134. line-height: 16px;
  135. font-size: 12px;
  136. text-transform: uppercase;
  137. float: left;
  138. padding: 10px 0px 0px 0px;
  139. display: inline-block;
  140. width: 60%;
  141. overflow: hidden;
  142. text-overflow: ellipsis;
  143. white-space: nowrap;
  144. }
  145. .date
  146. {
  147. line-height: 16px;
  148. font-size: 12px;
  149. padding-top: 10px;
  150. width: 40%;
  151. display: inline-block;
  152. text-align: right;
  153. overflow: hidden;
  154. }
  155. .short_content
  156. {
  157. margin-top: 5px;
  158. margin-bottom: 10px;
  159. line-height: 16px;
  160. font-size: 12px;
  161. height: 48px;
  162. overflow: hidden;
  163. -ms-text-overflow: ellipsis;
  164. text-overflow: ellipsis;
  165. color: #878787;
  166. }
  167. a
  168. {
  169. text-decoration: none;
  170. cursor: pointer;
  171. color: #131313;
  172. }
  173. }
  174.  
  175. #content-body-wrapper {
  176. display:table;
  177. border-collapse:collapse;
  178. width: 100%;
  179. padding-top: 50px;
  180.  
  181. }
  182. #content-body {
  183. display:table-row;
  184. }
  185. #primary-nav, #secondary-nav, #content {
  186. display:table-cell;
  187. // overflow:hidden;
  188. height:100%;
  189. }
  190. #primary-nav, #secondary-nav {
  191. width:120px;
  192. border-right: 1px solid #f4f4f4;
  193.  
  194. }
  195.  
  196. #content {
  197. width: auto;
  198. background-color: #fff;
  199. }
  200.  
  201. input.title {
  202.  
  203. width: 100%;
  204. padding: 11px 0px 13px 0px;
  205. font-size: 18px;
  206. border: 0px;
  207. margin: 2px;
  208. font-family: 'PT Sans', sans-serif;
  209. box-shadow: none;
  210. -webkit-box-shadow: none;
  211. outline: 0;
  212. border-bottom: 1px solid #bdbdbd;
  213. }
  214. textarea.content {
  215. width: 100%;
  216. padding: 11px 0px 13px 0px;
  217. font-size: 18px;
  218. border: 0px;
  219. margin: 2px;
  220. font-family: 'PT Sans', sans-serif;
  221. box-shadow: none;
  222. -webkit-box-shadow: none;
  223. outline: 0;
  224. }
  225.  
  226. #header div
  227. {
  228. vertical-align: middle;
  229. display: inline-block;
  230. }
  231. #header .mnblock
  232. {
  233. color: rgb(240, 240, 240);
  234. height: 50px;
  235. cursor: pointer;
  236. }
  237. #header .mnblock:hover
  238. {
  239. background-color: rgba(255,255,255,0.3);
  240. }
  241. #header .mnblock .glyphicon
  242. {
  243. float: left;
  244. font-size: 24px;
  245. margin: 13px;
  246. }
  247. #header .mnblock .text
  248. {
  249. margin-right: 10px;
  250. line-height: 50px;
  251. font-size: 16px;
  252. }
  253. #header button
  254. {
  255. height: 30px;
  256. line-height: 14px;
  257. }
  258.  
  259. #header_content
  260. {
  261. padding-left: 295px;
  262. }
  263.  
  264. #header_content .block
  265. {
  266. display: none;
  267. }
  268. #header_content .logout
  269. {
  270. display: inline-block;
  271. position: absolute;
  272. right: 0;
  273. top: 0;
  274. }
  275. #header_content .logout img
  276. {
  277. height: 24px;
  278. }
  279. #header_content .block.edit
  280. {
  281. display: inline-block;
  282. }
  283. #header_content .glyphicon-custom
  284. {
  285. width: 24px;
  286. font-size: 0 !important;
  287. top: 0;
  288. }
  289.  
  290. /*
  291. Ajax loadingbar
  292. */
  293.  
  294. #loadingbar {
  295. position: fixed;
  296. z-index: 2147483647;
  297. top: 50px;
  298. left: -6px;
  299. width: 1%;
  300. height: 3px;
  301. background: #42daf1;
  302. -moz-border-radius: 1px;
  303. -webkit-border-radius: 1px;
  304. border-radius: 1px;
  305. -moz-transition: all 500ms ease-in-out;
  306. -ms-transition: all 500ms ease-in-out;
  307. -o-transition: all 500ms ease-in-out;
  308. -webkit-transition: all 500ms ease-in-out;
  309. transition: all 500ms ease-in-out;
  310. }
  311.  
  312. #loadingbar.left {
  313. left: 100%;
  314. right: 0px;
  315. width: 100%;
  316. }
  317.  
  318. #loadingbar.up {
  319. left: 0px;
  320. top: 100%;
  321. width: 5px;
  322. bottom: 0px;
  323. height: 100%;
  324. }
  325.  
  326. #loadingbar.down {
  327. left: 0;
  328. width: 5px;
  329. height: 0;
  330. }
  331.  
  332. #loadingbar.waiting dd, #loadingbar.waiting dt {
  333. -moz-animation: pulse 2s ease-out 0s infinite;
  334. -ms-animation: pulse 2s ease-out 0s infinite;
  335. -o-animation: pulse 2s ease-out 0s infinite;
  336. -webkit-animation: pulse 2s ease-out 0s infinite;
  337. animation: pulse 2s ease-out 0s infinite;
  338. }
  339.  
  340. #loadingbar dt {
  341. opacity: .6;
  342. width: 180px;
  343. right: -80px;
  344. clip: rect(-6px,90px,14px,-6px);
  345. }
  346.  
  347. #loadingbar dd {
  348. opacity: .6;
  349. width: 20px;
  350. right: 0;
  351. clip: rect(-6px,22px,14px,10px);
  352. }
  353.  
  354. #loadingbar dd, #loadingbar dt {
  355. position: absolute;
  356. top: 0;
  357. height: 3px;
  358. -moz-box-shadow: #42daf1 1px 0 6px 1px;
  359. -ms-box-shadow: #42daf1 1px 0 6px 1px;
  360. -webkit-box-shadow: #42daf1 1px 0 1px 1px;
  361. box-shadow: #42daf1 -3px 0 11px 3px;
  362. -moz-border-radius: 100%;
  363. -webkit-border-radius: 100%;
  364. border-radius: 100%;
  365. }
  366.  
  367. #loadingbar.left dt {
  368. opacity: .6;
  369. width: 180px;
  370. left: -4px;
  371. clip: rect(-6px,185px,14px,25px);
  372. }
  373.  
  374. #loadingbar.left dd {
  375. opacity: .6;
  376. width: 20px;
  377. left: 0;
  378. margin: 0;
  379. clip: rect(-6px,22px,14px,0px);
  380. }
  381.  
  382. #loadingbar.left dd, #loadingbar.left dt {
  383. top: 0;
  384. height: 2px;
  385. }
  386.  
  387. #loadingbar.down dt {
  388. opacity: .6;
  389. height: 180px;
  390. top: auto;
  391. bottom: -47px;
  392. clip: rect(-6px,20px,130px,-6px);
  393. }
  394.  
  395. #loadingbar.down dd {
  396. opacity: .6;
  397. height: 20px;
  398. top: auto;
  399. bottom: 0;
  400. clip: rect(-6px,22px,20px,10px);
  401. margin: 0;
  402. }
  403.  
  404. #loadingbar.down dd, #loadingbar.down dt {
  405. left: -5px;
  406. right: auto;
  407. width: 10px;
  408. }
  409.  
  410. #loadingbar.up dt {
  411. opacity: .6;
  412. height: 180px;
  413. bottom: auto;
  414. top: -10px;
  415. clip: rect(13px,20px,190px,-6px);
  416. }
  417.  
  418. #loadingbar.up dd {
  419. opacity: .6;
  420. height: 20px;
  421. bottom: auto;
  422. top: 0;
  423. clip: rect(-6px,22px,25px,10px);
  424. margin: 0;
  425. }
  426.  
  427. #loadingbar.up dd, #loadingbar.up dt {
  428. left: -5px;
  429. right: auto;
  430. width: 10px;
  431. }
  432.  
  433. /*
  434. Config block
  435. */
  436.  
  437. @import "configBlock.less";
  438.  
  439. @keyframes pulse {
  440. 30% { opacity:0.6; }
  441. 60% { opacity:0; }
  442. 100% { opacity:0.6; }
  443. }
  444.  
  445. @-moz-keyframes pulse
  446. {
  447. 30% { opacity:0.6; }
  448. 60% { opacity:0; }
  449. 100% { opacity:0.6; }
  450. }
  451.  
  452. @-ms-keyframes pulse
  453. {
  454. 30% { opacity:0.6; }
  455. 60% { opacity:0; }
  456. 100% { opacity:0.6; }
  457. }
  458.  
  459. @-webkit-keyframes pulse
  460. {
  461. 30% { opacity:0.6; }
  462. 60% { opacity:0; }
  463. 100% { opacity:0.6; }
  464. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement