widgets.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  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. margin-left: 5px;
  219. margin-bottom: 4px;
  220. }
  221. table p.datetime {
  222. font-size: 11px;
  223. margin-left: 0;
  224. padding-left: 0;
  225. }
  226. .datetimeshortcuts .clock-icon, .datetimeshortcuts .date-icon {
  227. position: relative;
  228. display: inline-block;
  229. vertical-align: middle;
  230. height: 16px;
  231. width: 16px;
  232. overflow: hidden;
  233. }
  234. .datetimeshortcuts .clock-icon {
  235. background: url(../img/icon-clock.svg) 0 0 no-repeat;
  236. }
  237. .datetimeshortcuts a:focus .clock-icon,
  238. .datetimeshortcuts a:hover .clock-icon {
  239. background-position: 0 -16px;
  240. }
  241. .datetimeshortcuts .date-icon {
  242. background: url(../img/icon-calendar.svg) 0 0 no-repeat;
  243. top: -1px;
  244. }
  245. .datetimeshortcuts a:focus .date-icon,
  246. .datetimeshortcuts a:hover .date-icon {
  247. background-position: 0 -16px;
  248. }
  249. .timezonewarning {
  250. font-size: 11px;
  251. color: #999;
  252. }
  253. /* URL */
  254. p.url {
  255. line-height: 20px;
  256. margin: 0;
  257. padding: 0;
  258. color: #666;
  259. font-size: 11px;
  260. font-weight: bold;
  261. }
  262. .url a {
  263. font-weight: normal;
  264. }
  265. /* FILE UPLOADS */
  266. p.file-upload {
  267. line-height: 20px;
  268. margin: 0;
  269. padding: 0;
  270. color: #666;
  271. font-size: 11px;
  272. font-weight: bold;
  273. }
  274. .aligned p.file-upload {
  275. margin-left: 170px;
  276. }
  277. .file-upload a {
  278. font-weight: normal;
  279. }
  280. .file-upload .deletelink {
  281. margin-left: 5px;
  282. }
  283. span.clearable-file-input label {
  284. color: #333;
  285. font-size: 11px;
  286. display: inline;
  287. float: none;
  288. }
  289. /* CALENDARS & CLOCKS */
  290. .calendarbox, .clockbox {
  291. margin: 5px auto;
  292. font-size: 12px;
  293. width: 19em;
  294. text-align: center;
  295. background: white;
  296. border: 1px solid #ddd;
  297. border-radius: 4px;
  298. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  299. overflow: hidden;
  300. position: relative;
  301. }
  302. .clockbox {
  303. width: auto;
  304. }
  305. .calendar {
  306. margin: 0;
  307. padding: 0;
  308. }
  309. .calendar table {
  310. margin: 0;
  311. padding: 0;
  312. border-collapse: collapse;
  313. background: white;
  314. width: 100%;
  315. }
  316. .calendar caption, .calendarbox h2 {
  317. margin: 0;
  318. text-align: center;
  319. border-top: none;
  320. background: #f5dd5d;
  321. font-weight: 700;
  322. font-size: 12px;
  323. color: #333;
  324. }
  325. .calendar th {
  326. padding: 8px 5px;
  327. background: #f8f8f8;
  328. border-bottom: 1px solid #ddd;
  329. font-weight: 400;
  330. font-size: 12px;
  331. text-align: center;
  332. color: #666;
  333. }
  334. .calendar td {
  335. font-weight: 400;
  336. font-size: 12px;
  337. text-align: center;
  338. padding: 0;
  339. border-top: 1px solid #eee;
  340. border-bottom: none;
  341. }
  342. .calendar td.selected a {
  343. background: #79aec8;
  344. color: #fff;
  345. }
  346. .calendar td.nonday {
  347. background: #f8f8f8;
  348. }
  349. .calendar td.today a {
  350. font-weight: 700;
  351. }
  352. .calendar td a, .timelist a {
  353. display: block;
  354. font-weight: 400;
  355. padding: 6px;
  356. text-decoration: none;
  357. color: #444;
  358. }
  359. .calendar td a:focus, .timelist a:focus,
  360. .calendar td a:hover, .timelist a:hover {
  361. background: #79aec8;
  362. color: white;
  363. }
  364. .calendar td a:active, .timelist a:active {
  365. background: #417690;
  366. color: white;
  367. }
  368. .calendarnav {
  369. font-size: 10px;
  370. text-align: center;
  371. color: #ccc;
  372. margin: 0;
  373. padding: 1px 3px;
  374. }
  375. .calendarnav a:link, #calendarnav a:visited,
  376. #calendarnav a:focus, #calendarnav a:hover {
  377. color: #999;
  378. }
  379. .calendar-shortcuts {
  380. background: white;
  381. font-size: 11px;
  382. line-height: 11px;
  383. border-top: 1px solid #eee;
  384. padding: 8px 0;
  385. color: #ccc;
  386. }
  387. .calendarbox .calendarnav-previous, .calendarbox .calendarnav-next {
  388. display: block;
  389. position: absolute;
  390. top: 8px;
  391. width: 15px;
  392. height: 15px;
  393. text-indent: -9999px;
  394. padding: 0;
  395. }
  396. .calendarnav-previous {
  397. left: 10px;
  398. background: url(../img/calendar-icons.svg) 0 0 no-repeat;
  399. }
  400. .calendarbox .calendarnav-previous:focus,
  401. .calendarbox .calendarnav-previous:hover {
  402. background-position: 0 -15px;
  403. }
  404. .calendarnav-next {
  405. right: 10px;
  406. background: url(../img/calendar-icons.svg) 0 -30px no-repeat;
  407. }
  408. .calendarbox .calendarnav-next:focus,
  409. .calendarbox .calendarnav-next:hover {
  410. background-position: 0 -45px;
  411. }
  412. .calendar-cancel {
  413. margin: 0;
  414. padding: 4px 0;
  415. font-size: 12px;
  416. background: #eee;
  417. border-top: 1px solid #ddd;
  418. color: #333;
  419. }
  420. .calendar-cancel:focus, .calendar-cancel:hover {
  421. background: #ddd;
  422. }
  423. .calendar-cancel a {
  424. color: black;
  425. display: block;
  426. }
  427. ul.timelist, .timelist li {
  428. list-style-type: none;
  429. margin: 0;
  430. padding: 0;
  431. }
  432. .timelist a {
  433. padding: 2px;
  434. }
  435. /* EDIT INLINE */
  436. .inline-deletelink {
  437. float: right;
  438. text-indent: -9999px;
  439. background: url(../img/inline-delete.svg) 0 0 no-repeat;
  440. width: 16px;
  441. height: 16px;
  442. border: 0px none;
  443. }
  444. .inline-deletelink:focus, .inline-deletelink:hover {
  445. cursor: pointer;
  446. }
  447. /* RELATED WIDGET WRAPPER */
  448. .related-widget-wrapper {
  449. float: left; /* display properly in form rows with multiple fields */
  450. overflow: hidden; /* clear floated contents */
  451. }
  452. .related-widget-wrapper-link {
  453. opacity: 0.3;
  454. }
  455. .related-widget-wrapper-link:link {
  456. opacity: .8;
  457. }
  458. .related-widget-wrapper-link:link:focus,
  459. .related-widget-wrapper-link:link:hover {
  460. opacity: 1;
  461. }
  462. select + .related-widget-wrapper-link,
  463. .related-widget-wrapper-link + .related-widget-wrapper-link {
  464. margin-left: 7px;
  465. }