1
0

widgets.css 10 KB

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