popup.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. .pop-over {
  2. background: #fff;
  3. border-radius: 3px;
  4. border: 1px solid #dbdbdb;
  5. border-bottom-color: #c2c2c2;
  6. box-shadow: 0 1px 6px rgba(0,0,0,0.3);
  7. position: absolute;
  8. width: 300px;
  9. z-index: 99999;
  10. margin-top: 5px;
  11. }
  12. .pop-over hr {
  13. margin: 4px 0px;
  14. }
  15. .pop-over p,
  16. .pop-over textarea,
  17. .pop-over input[type="text"],
  18. .pop-over input[type="email"],
  19. .pop-over input[type="password"],
  20. .pop-over input[type="file"] {
  21. width: 100%;
  22. }
  23. .pop-over select {
  24. width: 100%;
  25. margin-bottom: 14px;
  26. }
  27. .pop-over textarea {
  28. height: 72px;
  29. }
  30. .pop-over form a span {
  31. padding: 0 0.5rem;
  32. }
  33. .pop-over .header {
  34. height: 36px;
  35. position: relative;
  36. margin-bottom: 8px;
  37. background: #f7f7f7;
  38. border-bottom: 1px solid #dcdcdc;
  39. color: #666;
  40. }
  41. .pop-over .header .header-title {
  42. display: block;
  43. line-height: 32px;
  44. padding-top: 4px;
  45. margin: 0 10px;
  46. font-weight: bold;
  47. overflow: hidden;
  48. text-overflow: ellipsis;
  49. white-space: nowrap;
  50. }
  51. .pop-over .header .back-btn {
  52. float: left;
  53. overflow: hidden;
  54. width: 30px;
  55. transition: width 0.2s;
  56. }
  57. .pop-over .header .back-btn i.fa {
  58. margin: 10px;
  59. margin-top: 12px;
  60. }
  61. .pop-over .header .back-btn.is-hidden {
  62. width: 0;
  63. }
  64. .pop-over .header .close-btn {
  65. padding: 10px 10px 10px 4px;
  66. position: absolute;
  67. top: 0;
  68. right: 0;
  69. }
  70. .pop-over.no-title .header {
  71. background: none;
  72. }
  73. .pop-over .content-wrapper {
  74. width: 100%;
  75. overflow: hidden;
  76. }
  77. .pop-over .content-container {
  78. width: 5000px;
  79. max-height: 550px;
  80. transition: transform 0.2s;
  81. }
  82. .pop-over .content-container .content {
  83. width: 280px;
  84. padding: 0 10px 10px;
  85. float: left;
  86. }
  87. .pop-over .content-container .content.no-height {
  88. height: 20px;
  89. }
  90. .pop-over .quiet {
  91. padding: 6px 6px 4px;
  92. }
  93. .pop-over.search-over {
  94. background: #f0f0f0;
  95. min-height: 114px;
  96. }
  97. .pop-over.search-over .header {
  98. display: none;
  99. }
  100. .pop-over.search-over .content {
  101. padding: 8px 4px 8px 10px;
  102. margin-right: 8px;
  103. }
  104. .pop-over .at-form .at-error,
  105. .pop-over .at-form .at-result {
  106. padding: 8px 12px;
  107. margin: -8px -10px 10px;
  108. }
  109. .pop-over .at-form .at-error {
  110. background: #ef9a9a;
  111. }
  112. .pop-over .at-form .at-result {
  113. background: #b2dfdb;
  114. }
  115. .pop-over .sk-spinner {
  116. margin: 40px auto;
  117. }
  118. .pop-over .popup-container-depth-1 {
  119. transform: translateX(-300px);
  120. }
  121. .pop-over .popup-container-depth-2 {
  122. transform: translateX(-600px);
  123. }
  124. .pop-over .popup-container-depth-3 {
  125. transform: translateX(-900px);
  126. }
  127. .pop-over .popup-container-depth-4 {
  128. transform: translateX(-1200px);
  129. }
  130. .pop-over .popup-container-depth-5 {
  131. transform: translateX(-1500px);
  132. }
  133. .pop-over .popup-container-depth-6 {
  134. transform: translateX(-1800px);
  135. }
  136. .select-members-list,
  137. .select-avatars-list {
  138. margin-bottom: 8px;
  139. }
  140. .pop-over-list li {
  141. display: block;
  142. clear: both;
  143. }
  144. .pop-over-list li > a {
  145. clear: both;
  146. cursor: pointer;
  147. display: block;
  148. font-weight: 700;
  149. padding: 1.5px 10px;
  150. position: relative;
  151. margin: 0 -10px;
  152. text-decoration: none;
  153. overflow: hidden;
  154. line-height: 33px;
  155. }
  156. .pop-over-list li > a .item-name {
  157. display: block;
  158. width: auto;
  159. padding-right: 22px;
  160. }
  161. .pop-over-list li > a:not(.disabled):hover {
  162. background-color: #005377;
  163. color: #fff;
  164. }
  165. .pop-over-list li > a:not(.disabled):hover .sub-name,
  166. .pop-over-list li > a:not(.disabled):hover .quiet {
  167. color: #eee;
  168. }
  169. .pop-over-list li > a:not(.disabled):hover .unread-indicator {
  170. background: #fff;
  171. }
  172. .pop-over-list li > a .sub-name {
  173. color: #8c8c8c;
  174. display: block;
  175. font-size: 12px;
  176. font-weight: 400;
  177. line-height: 15px;
  178. }
  179. .pop-over-list li > a.current {
  180. background-color: #e2e6e9;
  181. }
  182. .pop-over-list li > a:active {
  183. background-color: #2e85b8;
  184. }
  185. .pop-over-list li > a.disabled {
  186. color: #8c8c8c;
  187. cursor: default;
  188. }
  189. .pop-over-list li > a.disabled .vis-icon {
  190. opacity: 0.35;
  191. }
  192. .pop-over-list li > a.disabled:hover {
  193. background: none;
  194. }
  195. .pop-over-list li > a.disabled:hover .sub-name,
  196. .pop-over-list li > a.disabled:hover .quiet {
  197. color: #8c8c8c;
  198. }
  199. .pop-over-list li > a.disabled:active {
  200. background: none;
  201. }
  202. .pop-over-list.inset li > a {
  203. border-radius: 3px;
  204. margin: 0;
  205. }
  206. .pop-over-list .pop-over-list.checkable .fa-check {
  207. display: none;
  208. position: absolute;
  209. top: 6px;
  210. right: 12px;
  211. }
  212. .pop-over-list .pop-over-list.checkable li.active a {
  213. padding-right: 28px;
  214. }
  215. .pop-over-list .pop-over-list.checkable li.active a .fa-check {
  216. display: block;
  217. }
  218. .pop-over.miniprofile .header {
  219. border-bottom-color: transparent;
  220. height: 30px;
  221. position: absolute;
  222. right: 0;
  223. top: 0;
  224. width: 60px;
  225. z-index: 1;
  226. }
  227. .pop-over.miniprofile .header-title {
  228. display: none;
  229. }
  230. .pop-over.miniprofile .pop-over-list {
  231. padding-top: 8px;
  232. }
  233. .pop-over.miniprofile .miniprofile-header {
  234. margin-top: 8px;
  235. min-height: 56px;
  236. position: relative;
  237. }
  238. .pop-over.miniprofile .miniprofile-header .member,
  239. .pop-over.miniprofile .miniprofile-header .avatar {
  240. position: absolute;
  241. top: 2px;
  242. left: 2px;
  243. height: 50px;
  244. width: 50px;
  245. }
  246. .pop-over.miniprofile .miniprofile-header .info {
  247. margin: 0 0 0 64px;
  248. word-wrap: break-word;
  249. }
  250. .pop-over.miniprofile .miniprofile-header .info h3 a {
  251. text-decoration: none;
  252. }
  253. .pop-over.miniprofile .miniprofile-header .info h3 a:hover {
  254. text-decoration: underline;
  255. }
  256. @media screen and (max-width: 800px) {
  257. .pop-over {
  258. width: 100%;
  259. height: 100%;
  260. overflow: hidden;
  261. margin-top: 0px;
  262. border: 0px solid #dbdbdb;
  263. }
  264. .pop-over .header {
  265. color: #fff;
  266. background: #2980b9;
  267. height: 48px;
  268. padding: 0px 0px;
  269. border: 0px;
  270. margin: 0px 0px;
  271. width: 100%;
  272. position: absolute;
  273. top: 0px;
  274. }
  275. .pop-over .header .header-title {
  276. font-size: 20px;
  277. font-weight: normal;
  278. padding-top: 8px;
  279. }
  280. .pop-over .header .back-btn {
  281. width: 30px;
  282. padding: 8px 12px 8px 12px;
  283. }
  284. .pop-over .header .back-btn i.fa {
  285. color: #fff;
  286. }
  287. .pop-over .header .close-btn {
  288. padding: 10px 12px;
  289. }
  290. .pop-over .header .close-btn i.fa {
  291. font-size: 24px;
  292. color: #fff;
  293. }
  294. .pop-over .content-wrapper {
  295. width: 100%;
  296. height: calc(100% - 48px);
  297. overflow-y: scroll;
  298. overflow-x: hidden;
  299. margin: 48px 0px 0px 0px;
  300. }
  301. .pop-over .content-container {
  302. width: 1000%;
  303. height: 100%;
  304. max-height: 100%;
  305. }
  306. .pop-over .content-container .content {
  307. width: calc(10% - 20px);
  308. height: calc(100% - 20px);
  309. padding: 10px;
  310. }
  311. .pop-over .content-container .content form {
  312. margin: 10px 10px;
  313. width: calc(100% - 20px);
  314. }
  315. .pop-over .content-container .content p,
  316. .pop-over .content-container .content textarea,
  317. .pop-over .content-container .content input[type="text"],
  318. .pop-over .content-container .content input[type="email"],
  319. .pop-over .content-container .content input[type="password"],
  320. .pop-over .content-container .content input[type="file"] {
  321. width: 100%;
  322. box-sizing: border-box;
  323. }
  324. .pop-over .pop-over-list li > a {
  325. width: calc(100% - 20px);
  326. margin: 0px 0px;
  327. }
  328. .pop-over .popup-container-depth-1 {
  329. transform: translateX(-10%);
  330. }
  331. .pop-over .popup-container-depth-2 {
  332. transform: translateX(-20%);
  333. }
  334. .pop-over .popup-container-depth-3 {
  335. transform: translateX(-30%);
  336. }
  337. .pop-over .popup-container-depth-4 {
  338. transform: translateX(-40%);
  339. }
  340. .pop-over .popup-container-depth-5 {
  341. transform: translateX(-50%);
  342. }
  343. .pop-over .popup-container-depth-6 {
  344. transform: translateX(-60%);
  345. }
  346. }