widgets.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  1. /* SELECTOR (FILTER INTERFACE) */
  2. .selector {
  3. width: 800px;
  4. float: left;
  5. }
  6. .selector select {
  7. width: 380px;
  8. height: 17.2em;
  9. }
  10. .selector-available, .selector-chosen {
  11. float: left;
  12. width: 380px;
  13. text-align: center;
  14. margin-bottom: 5px;
  15. }
  16. .selector-chosen select {
  17. border-top: none;
  18. }
  19. .selector-available h2, .selector-chosen h2 {
  20. border: 1px solid #ccc;
  21. border-radius: 4px 4px 0 0;
  22. }
  23. .selector-chosen h2 {
  24. background: #79aec8;
  25. color: #fff;
  26. }
  27. .selector .selector-available h2 {
  28. background: #f8f8f8;
  29. color: #666;
  30. }
  31. .selector .selector-filter {
  32. background: white;
  33. border: 1px solid #ccc;
  34. border-width: 0 1px;
  35. padding: 8px;
  36. color: #999;
  37. font-size: 10px;
  38. margin: 0;
  39. text-align: left;
  40. }
  41. .selector .selector-filter label,
  42. .inline-group .aligned .selector .selector-filter label {
  43. float: left;
  44. margin: 7px 0 0;
  45. width: 18px;
  46. height: 18px;
  47. padding: 0;
  48. overflow: hidden;
  49. line-height: 1;
  50. }
  51. .selector .selector-available input {
  52. width: 320px;
  53. margin-left: 8px;
  54. }
  55. .selector ul.selector-chooser {
  56. float: left;
  57. width: 22px;
  58. background-color: #eee;
  59. border-radius: 10px;
  60. margin: 10em 5px 0 5px;
  61. padding: 0;
  62. }
  63. .selector-chooser li {
  64. margin: 0;
  65. padding: 3px;
  66. list-style-type: none;
  67. }
  68. .selector select {
  69. padding: 0 10px;
  70. margin: 0 0 10px;
  71. border-radius: 0 0 4px 4px;
  72. }
  73. .selector-add, .selector-remove {
  74. width: 16px;
  75. height: 16px;
  76. display: block;
  77. text-indent: -3000px;
  78. overflow: hidden;
  79. cursor: default;
  80. opacity: 0.3;
  81. }
  82. .active.selector-add, .active.selector-remove {
  83. opacity: 1;
  84. }
  85. .active.selector-add:hover, .active.selector-remove:hover {
  86. cursor: pointer;
  87. }
  88. .selector-add {
  89. background: url(../img/selector-icons.svg) 0 -96px no-repeat;
  90. }
  91. .active.selector-add:focus, .active.selector-add:hover {
  92. background-position: 0 -112px;
  93. }
  94. .selector-remove {
  95. background: url(../img/selector-icons.svg) 0 -64px no-repeat;
  96. }
  97. .active.selector-remove:focus, .active.selector-remove:hover {
  98. background-position: 0 -80px;
  99. }
  100. a.selector-chooseall, a.selector-clearall {
  101. display: inline-block;
  102. height: 16px;
  103. text-align: left;
  104. margin: 1px auto 3px;
  105. overflow: hidden;
  106. font-weight: bold;
  107. line-height: 16px;
  108. color: #666;
  109. text-decoration: none;
  110. opacity: 0.3;
  111. }
  112. a.active.selector-chooseall:focus, a.active.selector-clearall:focus,
  113. a.active.selector-chooseall:hover, a.active.selector-clearall:hover {
  114. color: #447e9b;
  115. }
  116. a.active.selector-chooseall, a.active.selector-clearall {
  117. opacity: 1;
  118. }
  119. a.active.selector-chooseall:hover, a.active.selector-clearall:hover {
  120. cursor: pointer;
  121. }
  122. a.selector-chooseall {
  123. padding: 0 18px 0 0;
  124. background: url(../img/selector-icons.svg) right -160px no-repeat;
  125. cursor: default;
  126. }
  127. a.active.selector-chooseall:focus, a.active.selector-chooseall:hover {
  128. background-position: 100% -176px;
  129. }
  130. a.selector-clearall {
  131. padding: 0 0 0 18px;
  132. background: url(../img/selector-icons.svg) 0 -128px no-repeat;
  133. cursor: default;
  134. }
  135. a.active.selector-clearall:focus, a.active.selector-clearall:hover {
  136. background-position: 0 -144px;
  137. }
  138. /* STACKED SELECTORS */
  139. .stacked {
  140. float: left;
  141. width: 490px;
  142. }
  143. .stacked select {
  144. width: 480px;
  145. height: 10.1em;
  146. }
  147. .stacked .selector-available, .stacked .selector-chosen {
  148. width: 480px;
  149. }
  150. .stacked .selector-available {
  151. margin-bottom: 0;
  152. }
  153. .stacked .selector-available input {
  154. width: 422px;
  155. }
  156. .stacked ul.selector-chooser {
  157. height: 22px;
  158. width: 50px;
  159. margin: 0 0 10px 40%;
  160. background-color: #eee;
  161. border-radius: 10px;
  162. }
  163. .stacked .selector-chooser li {
  164. float: left;
  165. padding: 3px 3px 3px 5px;
  166. }
  167. .stacked .selector-chooseall, .stacked .selector-clearall {
  168. display: none;
  169. }
  170. .stacked .selector-add {
  171. background: url(../img/selector-icons.svg) 0 -32px no-repeat;
  172. cursor: default;
  173. }
  174. .stacked .active.selector-add {
  175. background-position: 0 -48px;
  176. cursor: pointer;
  177. }
  178. .stacked .selector-remove {
  179. background: url(../img/selector-icons.svg) 0 0 no-repeat;
  180. cursor: default;
  181. }
  182. .stacked .active.selector-remove {
  183. background-position: 0 -16px;
  184. cursor: pointer;
  185. }
  186. .selector .help-icon {
  187. background: url(../img/icon-unknown.svg) 0 0 no-repeat;
  188. display: inline-block;
  189. vertical-align: middle;
  190. margin: -2px 0 0 2px;
  191. width: 13px;
  192. height: 13px;
  193. }
  194. .selector .selector-chosen .help-icon {
  195. background: url(../img/icon-unknown-alt.svg) 0 0 no-repeat;
  196. }
  197. .selector .search-label-icon {
  198. background: url(../img/search.svg) 0 0 no-repeat;
  199. display: inline-block;
  200. height: 18px;
  201. width: 18px;
  202. }
  203. /* DATE AND TIME */
  204. p.datetime {
  205. line-height: 20px;
  206. margin: 0;
  207. padding: 0;
  208. color: #666;
  209. font-weight: bold;
  210. }
  211. .datetime span {
  212. white-space: nowrap;
  213. font-weight: normal;
  214. font-size: 11px;
  215. color: #ccc;
  216. }
  217. .datetime input, .form-row .datetime input.vDateField, .form-row .datetime input.vTimeField {
  218. min-width: 0;
  219. margin-left: 5px;
  220. margin-bottom: 4px;
  221. }
  222. table p.datetime {
  223. font-size: 11px;
  224. margin-left: 0;
  225. padding-left: 0;
  226. }
  227. .datetimeshortcuts .clock-icon, .datetimeshortcuts .date-icon {
  228. position: relative;
  229. display: inline-block;
  230. vertical-align: middle;
  231. height: 16px;
  232. width: 16px;
  233. overflow: hidden;
  234. }
  235. .datetimeshortcuts .clock-icon {
  236. background: url(../img/icon-clock.svg) 0 0 no-repeat;
  237. }
  238. .datetimeshortcuts a:focus .clock-icon,
  239. .datetimeshortcuts a:hover .clock-icon {
  240. background-position: 0 -16px;
  241. }
  242. .datetimeshortcuts .date-icon {
  243. background: url(../img/icon-calendar.svg) 0 0 no-repeat;
  244. top: -1px;
  245. }
  246. .datetimeshortcuts a:focus .date-icon,
  247. .datetimeshortcuts a:hover .date-icon {
  248. background-position: 0 -16px;
  249. }
  250. .timezonewarning {
  251. font-size: 11px;
  252. color: #999;
  253. }
  254. /* URL */
  255. p.url {
  256. line-height: 20px;
  257. margin: 0;
  258. padding: 0;
  259. color: #666;
  260. font-size: 11px;
  261. font-weight: bold;
  262. }
  263. .url a {
  264. font-weight: normal;
  265. }
  266. /* FILE UPLOADS */
  267. p.file-upload {
  268. line-height: 20px;
  269. margin: 0;
  270. padding: 0;
  271. color: #666;
  272. font-size: 11px;
  273. font-weight: bold;
  274. }
  275. .aligned p.file-upload {
  276. margin-left: 170px;
  277. }
  278. .file-upload a {
  279. font-weight: normal;
  280. }
  281. .file-upload .deletelink {
  282. margin-left: 5px;
  283. }
  284. span.clearable-file-input label {
  285. color: #333;
  286. font-size: 11px;
  287. display: inline;
  288. float: none;
  289. }
  290. /* CALENDARS & CLOCKS */
  291. .calendarbox, .clockbox {
  292. margin: 5px auto;
  293. font-size: 12px;
  294. width: 19em;
  295. text-align: center;
  296. background: white;
  297. border: 1px solid #ddd;
  298. border-radius: 4px;
  299. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  300. overflow: hidden;
  301. position: relative;
  302. }
  303. .clockbox {
  304. width: auto;
  305. }
  306. .calendar {
  307. margin: 0;
  308. padding: 0;
  309. }
  310. .calendar table {
  311. margin: 0;
  312. padding: 0;
  313. border-collapse: collapse;
  314. background: white;
  315. width: 100%;
  316. }
  317. .calendar caption, .calendarbox h2 {
  318. margin: 0;
  319. text-align: center;
  320. border-top: none;
  321. background: #f5dd5d;
  322. font-weight: 700;
  323. font-size: 12px;
  324. color: #333;
  325. }
  326. .calendar th {
  327. padding: 8px 5px;
  328. background: #f8f8f8;
  329. border-bottom: 1px solid #ddd;
  330. font-weight: 400;
  331. font-size: 12px;
  332. text-align: center;
  333. color: #666;
  334. }
  335. .calendar td {
  336. font-weight: 400;
  337. font-size: 12px;
  338. text-align: center;
  339. padding: 0;
  340. border-top: 1px solid #eee;
  341. border-bottom: none;
  342. }
  343. .calendar td.selected a {
  344. background: #79aec8;
  345. color: #fff;
  346. }
  347. .calendar td.nonday {
  348. background: #f8f8f8;
  349. }
  350. .calendar td.today a {
  351. font-weight: 700;
  352. }
  353. .calendar td a, .timelist a {
  354. display: block;
  355. font-weight: 400;
  356. padding: 6px;
  357. text-decoration: none;
  358. color: #444;
  359. }
  360. .calendar td a:focus, .timelist a:focus,
  361. .calendar td a:hover, .timelist a:hover {
  362. background: #79aec8;
  363. color: white;
  364. }
  365. .calendar td a:active, .timelist a:active {
  366. background: #417690;
  367. color: white;
  368. }
  369. .calendarnav {
  370. font-size: 10px;
  371. text-align: center;
  372. color: #ccc;
  373. margin: 0;
  374. padding: 1px 3px;
  375. }
  376. .calendarnav a:link, #calendarnav a:visited,
  377. #calendarnav a:focus, #calendarnav a:hover {
  378. color: #999;
  379. }
  380. .calendar-shortcuts {
  381. background: white;
  382. font-size: 11px;
  383. line-height: 11px;
  384. border-top: 1px solid #eee;
  385. padding: 8px 0;
  386. color: #ccc;
  387. }
  388. .calendarbox .calendarnav-previous, .calendarbox .calendarnav-next {
  389. display: block;
  390. position: absolute;
  391. top: 8px;
  392. width: 15px;
  393. height: 15px;
  394. text-indent: -9999px;
  395. padding: 0;
  396. }
  397. .calendarnav-previous {
  398. left: 10px;
  399. background: url(../img/calendar-icons.svg) 0 0 no-repeat;
  400. }
  401. .calendarbox .calendarnav-previous:focus,
  402. .calendarbox .calendarnav-previous:hover {
  403. background-position: 0 -15px;
  404. }
  405. .calendarnav-next {
  406. right: 10px;
  407. background: url(../img/calendar-icons.svg) 0 -30px no-repeat;
  408. }
  409. .calendarbox .calendarnav-next:focus,
  410. .calendarbox .calendarnav-next:hover {
  411. background-position: 0 -45px;
  412. }
  413. .calendar-cancel {
  414. margin: 0;
  415. padding: 4px 0;
  416. font-size: 12px;
  417. background: #eee;
  418. border-top: 1px solid #ddd;
  419. color: #333;
  420. }
  421. .calendar-cancel:focus, .calendar-cancel:hover {
  422. background: #ddd;
  423. }
  424. .calendar-cancel a {
  425. color: black;
  426. display: block;
  427. }
  428. ul.timelist, .timelist li {
  429. list-style-type: none;
  430. margin: 0;
  431. padding: 0;
  432. }
  433. .timelist a {
  434. padding: 2px;
  435. }
  436. /* EDIT INLINE */
  437. .inline-deletelink {
  438. float: right;
  439. text-indent: -9999px;
  440. background: url(../img/inline-delete.svg) 0 0 no-repeat;
  441. width: 16px;
  442. height: 16px;
  443. border: 0px none;
  444. }
  445. .inline-deletelink:focus, .inline-deletelink:hover {
  446. cursor: pointer;
  447. }
  448. /* RELATED WIDGET WRAPPER */
  449. .related-widget-wrapper {
  450. float: left; /* display properly in form rows with multiple fields */
  451. overflow: hidden; /* clear floated contents */
  452. }
  453. .related-widget-wrapper-link {
  454. opacity: 0.3;
  455. }
  456. .related-widget-wrapper-link:link {
  457. opacity: .8;
  458. }
  459. .related-widget-wrapper-link:link:focus,
  460. .related-widget-wrapper-link:link:hover {
  461. opacity: 1;
  462. }
  463. select + .related-widget-wrapper-link,
  464. .related-widget-wrapper-link + .related-widget-wrapper-link {
  465. margin-left: 7px;
  466. }