/css/list.css

https://gitlab.com/x33n/respond · CSS · 541 lines · 444 code · 87 blank · 10 comment · 0 complexity · 85cb93dc219735caf421ef889332abbd MD5 · raw file

  1. /* begin list */
  2. div.list.has-dropzone{
  3. margin-right: 200px;
  4. min-height: 400px;
  5. }
  6. .listItem{
  7. position: relative;
  8. border-bottom: 1px solid #eee;
  9. padding: 20px 20px;
  10. margin: 0;
  11. }
  12. .listItem.expired{
  13. background-color: rgba(201,44,41,.1);
  14. }
  15. .listItem.expired h2 a, .listItem.expired span a, .listItem.expired span, .listItem.expired em{
  16. color: rgba(201,44,41,1);
  17. }
  18. .listItem.expired .remove{
  19. background-color: rgba(201,44,41,1);
  20. }
  21. .listItem.expired .status{
  22. font-weight: bold;
  23. }
  24. div.list.has-photo .listItem{
  25. min-height: 105px;
  26. padding-left: 105px;
  27. padding-top: 27px;
  28. }
  29. .listItem:last-child{
  30. border-bottom: none;
  31. }
  32. .listItem h2{
  33. line-height: 1em;
  34. margin: 0;
  35. padding: 0 0 5px 0;
  36. font-size: 1.25em;
  37. font-weight: bold;
  38. width: 80%;
  39. color: #888;
  40. background: none;
  41. border: none;
  42. }
  43. .listItem small{
  44. display: block;
  45. padding: 5px 0 5px 0;
  46. color: #aaa;
  47. font-size: 12px;
  48. text-transform: uppercase;
  49. }
  50. .listItem small .tags{
  51. display: inline-block;
  52. margin-left: 10px;
  53. }
  54. .listItem small .tags i{
  55. margin-right: 5px;
  56. }
  57. .listItem.sortable h2{
  58. margin-left: 20px;
  59. }
  60. .listItem h2 a{
  61. display: inline-block;
  62. }
  63. .listItem h2 a.hasDraft{
  64. font-style: italic;
  65. }
  66. .listItem .draft-tag{
  67. display: inline-block;
  68. margin-right: 5px;
  69. }
  70. .listItem h2 small{
  71. font-weight: normal;
  72. font-size: 0.75em;
  73. margin-left: 10px;
  74. }
  75. .listItem p{
  76. width: 80%;
  77. margin: 0;
  78. padding: 0 0 2px 0;
  79. color: #888;
  80. }
  81. .listItem p.lastUpdated, .listItem em{
  82. color: #ccc;
  83. font-size: 11px;
  84. font-style: normal;
  85. text-transform: uppercase;
  86. }
  87. div.placeholder{
  88. height: 40px;
  89. border: 1px solid #fbec5d !important;
  90. background: #fbec5d !important;
  91. }
  92. .listItem.sortable{
  93. padding-left: 40px;
  94. }
  95. .listItem span.hook{
  96. position: absolute;
  97. top: 20px;
  98. left: 20px;
  99. display: block;
  100. width: 25px;
  101. height: 25px;
  102. background: #f0f0f0;
  103. line-height: 25px;
  104. color: #aaa;
  105. text-align: center;
  106. }
  107. .listItem span.hook:hover{
  108. cursor: n-resize;
  109. background: #f0f0f0 url('../images/app-sprite.png') no-repeat -100px 0;
  110. }
  111. .listItem.has-thumb{
  112. min-height: 110px;
  113. }
  114. .listItem.has-thumb h2, .listItem.has-thumb p, .listItem.has-thumb em, .listItem.has-thumb small{
  115. margin-left: 90px;
  116. }
  117. .listItem span.image{
  118. position: absolute;
  119. top: 20px;
  120. left: 20px;
  121. }
  122. .listItem span.image img{
  123. width: 75px;
  124. height: 75px;
  125. border-radius: 50%;
  126. border: 2px solid #f8f8f8;
  127. margin-top: -2px;
  128. }
  129. .listItem span.icon{
  130. position: absolute;
  131. top: 15px;
  132. left: 60px;
  133. }
  134. div#pageFileList .listItem span.icon{
  135. left: 15px;
  136. }
  137. .listItem a.switchSite{
  138. position: absolute;
  139. top: 15px;
  140. right: 15px;
  141. display: block;
  142. width: 20px;
  143. height: 50px;
  144. border: 1px solid #ccc;
  145. }
  146. .listItem a.switchSite.selected{
  147. background: #fbec5d;
  148. }
  149. .listItem p.size{
  150. font-size: 12px;
  151. color: #888;
  152. line-height: 17px;
  153. }
  154. .listItem button{
  155. position: absolute;
  156. top: 15px;
  157. right: 20px;
  158. }
  159. button.update-photo{
  160. box-sizing: border-box;
  161. right: auto;
  162. left: 20px;
  163. width: 65px;
  164. height: 65px;
  165. padding-top: 4px;
  166. background-color: #fff;
  167. border: 2px dashed #eee;
  168. border-radius: 50%;
  169. color: #ccc;
  170. font-size: 10px;
  171. text-transform: uppercase;
  172. outline: none;
  173. }
  174. button.update-photo.has-photo{
  175. border: none;
  176. background-size:cover;
  177. }
  178. button.update-photo.has-photo span{
  179. display: none;
  180. }
  181. button.update-photo:hover{
  182. border-color: #3299BB;
  183. }
  184. /* begin images */
  185. div#imageList .listItem span.field{
  186. margin-left: 10px;
  187. }
  188. div#imageList .listItem span.field input{
  189. width: 300px;
  190. }
  191. div#imageList .listItem img{
  192. margin-bottom: 10px;
  193. }
  194. .list-loading, .list-none{
  195. padding: 30px 20px 20px 20px;
  196. color: #ccc;
  197. text-transform: uppercase;
  198. font-size: 12px;
  199. }
  200. .list-instructions{
  201. margin: 20px;
  202. }
  203. /* begin actions */
  204. .listItem .remove{
  205. position: absolute;
  206. top: 19px;
  207. right: 20px;
  208. display: inline-block;
  209. width: 22px;
  210. height: 22px;
  211. text-align: center;
  212. color: #fff;
  213. background-color: #ddd;
  214. line-height: 22px;
  215. border-radius: 50%;
  216. }
  217. .listItem .remove i{
  218. padding-top: 5px;
  219. font-size: 14px;
  220. }
  221. .editing .remove{
  222. display: none;
  223. }
  224. .listItem .remove:hover{
  225. background-color: #B11623;
  226. text-decoration: none;
  227. }
  228. .listItem .edit{
  229. position: absolute;
  230. top: 20px;
  231. right: 42px;
  232. display: inline-block !important;
  233. width: 25px !important;
  234. height: 25px !important;
  235. color: #ccc;
  236. }
  237. .listItem .edit:hover{
  238. color: #ff9900;
  239. text-decoration: none;
  240. }
  241. /* handles an editable mode for a list-item */
  242. .editable-selected{
  243. position: absolute;
  244. top: 20px;
  245. right: 45px;
  246. color: #fff;
  247. background-color: #ff9900;
  248. border-radius: 10px;
  249. padding: 2px 10px;
  250. font-size: 0.85em;
  251. display: none;
  252. }
  253. .editing .editable-selected{
  254. display: block;
  255. }
  256. .cancel-edit{
  257. position: absolute;
  258. top: 20px;
  259. right: 20px;
  260. color: #fff;
  261. font-size: 0.85em;
  262. color: #ff9900;
  263. display: none;
  264. }
  265. .editing .cancel-edit{
  266. display: block;
  267. }
  268. .cancel-edit:hover{
  269. color: #888;
  270. }
  271. /* handles statuses */
  272. .listItem .status{
  273. display: inline-block;
  274. margin-right: 10px;
  275. color: #888;
  276. }
  277. /* menuItemsList */
  278. .nested-left, .nested-right{
  279. font-size: 18px;
  280. margin-right: 10px;
  281. margin-left: 40px;
  282. display: inline-block;
  283. width: 25px;
  284. height: 25px;
  285. line-height: 25px;
  286. text-align: center;
  287. cursor: pointer;
  288. float: left;
  289. }
  290. .nested-left .fa-spin, .nested-right .fa-spin{
  291. display: none;
  292. }
  293. .nested-left.active .fa-spin, .nested-right.active .fa-spin{
  294. display: inline-block;
  295. }
  296. .nested-left.active .arrow, .nested-right.active .arrow{
  297. display: none;
  298. }
  299. .nested-left i, .nested-right i{
  300. color: #aaa;
  301. }
  302. .nested-left:hover, .nested-right:hover{
  303. background-color: #FF9900;
  304. }
  305. .nested-left:hover i, .nested-right:hover i{
  306. color: #fff;
  307. }
  308. .nested-left{
  309. display: none;
  310. margin-left: 80px;
  311. }
  312. .nested-right{
  313. display: inline-block;
  314. }
  315. .is-nested .nested-left{
  316. display: inline-block;
  317. }
  318. .is-nested .nested-right{
  319. display: none;
  320. }
  321. .listItem .url{
  322. display: block;
  323. color: #ccc;
  324. font-weight: normal;
  325. font-size: 13px;
  326. margin-top: 5px;
  327. }
  328. /* image-list */
  329. .image-list{
  330. margin: 0 15px;
  331. }
  332. .image-item{
  333. position: relative;
  334. display: inline-block;
  335. width: 200px;
  336. height: 200px;
  337. margin: 15px 15px 15px 0;
  338. border: 1px solid #ddd;
  339. }
  340. .image-item h2{
  341. position: absolute;
  342. top: 0;
  343. left: 0;
  344. margin: 0;
  345. padding: 0;
  346. width: 100%;
  347. font-size: 18px;
  348. background-color: #fff;
  349. border: none;
  350. border-bottom: 1px solid #f0f0f0;
  351. height: 30px;
  352. line-height: 30px;
  353. text-align: center;
  354. z-index: 2;
  355. font-size: 14px;
  356. color: #888;
  357. text-transform: uppercase;
  358. }
  359. .image-item img{
  360. position: absolute;
  361. top: 0;
  362. left: 0;
  363. width: 198px;
  364. height: 198px;
  365. z-index: 1;
  366. }
  367. .image-item div{
  368. position: absolute;
  369. bottom: 0;
  370. left: 0;
  371. width: 100%;
  372. background-color: #fff;
  373. color: #888;
  374. border-top: 1px solid #f0f0f0;
  375. font-size: 13px;
  376. height: 35px;
  377. line-height: 35px;
  378. text-align: center;
  379. z-index: 2;
  380. cursor: pointer;
  381. }
  382. .image-item div.secondary{
  383. background-color: #f0f0f0;
  384. color: #555;
  385. }
  386. .image-item div:hover{
  387. background-color: #fff;
  388. color: #555;
  389. }
  390. .image-item .active-button{
  391. display: none;
  392. }
  393. .image-item .inactive-button{
  394. display: block;
  395. }
  396. .image-item.active .active-button{
  397. display: block;
  398. }
  399. .image-item.active .inactive-button{
  400. display: none;
  401. }
  402. .image-item.active h2{
  403. background-color: #81b841 !important;
  404. color: #fff;
  405. border-bottom: 1px solid #81b841 !important;
  406. }
  407. /* #usersList */
  408. #usersList .role{
  409. display: inline-block;
  410. background-color: #aaa;
  411. border-radius: 20px;
  412. padding: 2px 10px;
  413. color: #fff;
  414. font-size: 12px;
  415. font-family: "Roboto", sans-serif;
  416. }
  417. #usersList .role.admin{
  418. background-color: #D25F37;
  419. }
  420. #usersList .role.contributor{
  421. background-color: #94D237;
  422. }
  423. /* sites list */
  424. #sitesList i{
  425. color: #ccc;
  426. margin-left: 5px;
  427. font-size: 11px;
  428. }
  429. /* font awesome selection */
  430. #searchIcons{
  431. margin-bottom: 10px;
  432. }
  433. div#selectIcon ul {
  434. text-align: center;
  435. }
  436. div#selectIcon ul li {
  437. display: inline-block;
  438. margin: 3px;
  439. padding: 5px;
  440. border: 1px solid #F0F0F0;
  441. text-align: center;
  442. color: #111;
  443. width: 15%;
  444. min-height: 90px;
  445. vertical-align: top;
  446. font-size: 12px;
  447. }
  448. div#selectIcon ul li i {
  449. display: block;
  450. font-size: 25px;
  451. text-align: center;
  452. margin: 5px 0 0 0;
  453. padding: 5px 0;
  454. }