Nessuna descrizione

widgets.css 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  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 var(--border-color);
  21. border-radius: 4px 4px 0 0;
  22. }
  23. .selector-chosen h2 {
  24. background: var(--primary);
  25. color: var(--header-link-color);
  26. }
  27. .selector .selector-available h2 {
  28. background: var(--darkened-bg);
  29. color: var(--body-quiet-color);
  30. }
  31. .selector .selector-filter {
  32. border: 1px solid var(--border-color);
  33. border-width: 0 1px;
  34. padding: 8px;
  35. color: var(--body-quiet-color);
  36. font-size: 10px;
  37. margin: 0;
  38. text-align: left;
  39. }
  40. .selector .selector-filter label,
  41. .inline-group .aligned .selector .selector-filter label {
  42. float: left;
  43. margin: 7px 0 0;
  44. width: 18px;
  45. height: 18px;
  46. padding: 0;
  47. overflow: hidden;
  48. line-height: 1;
  49. }
  50. .selector .selector-available input {
  51. width: 320px;
  52. margin-left: 8px;
  53. }
  54. .selector ul.selector-chooser {
  55. float: left;
  56. width: 22px;
  57. background-color: var(--selected-bg);
  58. border-radius: 10px;
  59. margin: 10em 5px 0 5px;
  60. padding: 0;
  61. }
  62. .selector-chooser li {
  63. margin: 0;
  64. padding: 3px;
  65. list-style-type: none;
  66. }
  67. .selector select {
  68. padding: 0 10px;
  69. margin: 0 0 10px;
  70. border-radius: 0 0 4px 4px;
  71. }
  72. .selector-add, .selector-remove {
  73. width: 16px;
  74. height: 16px;
  75. display: block;
  76. text-indent: -3000px;
  77. overflow: hidden;
  78. cursor: default;
  79. opacity: 0.55;
  80. }
  81. .active.selector-add, .active.selector-remove {
  82. opacity: 1;
  83. }
  84. .active.selector-add:hover, .active.selector-remove:hover {
  85. cursor: pointer;
  86. }
  87. .selector-add {
  88. background: url(../img/selector-icons.svg) 0 -96px no-repeat;
  89. }
  90. .active.selector-add:focus, .active.selector-add:hover {
  91. background-position: 0 -112px;
  92. }
  93. .selector-remove {
  94. background: url(../img/selector-icons.svg) 0 -64px no-repeat;
  95. }
  96. .active.selector-remove:focus, .active.selector-remove:hover {
  97. background-position: 0 -80px;
  98. }
  99. a.selector-chooseall, a.selector-clearall {
  100. display: inline-block;
  101. height: 16px;
  102. text-align: left;
  103. margin: 1px auto 3px;
  104. overflow: hidden;
  105. font-weight: bold;
  106. line-height: 16px;
  107. color: var(--body-quiet-color);
  108. text-decoration: none;
  109. opacity: 0.55;
  110. }
  111. a.active.selector-chooseall:focus, a.active.selector-clearall:focus,
  112. a.active.selector-chooseall:hover, a.active.selector-clearall:hover {
  113. color: var(--link-fg);
  114. }
  115. a.active.selector-chooseall, a.active.selector-clearall {
  116. opacity: 1;
  117. }
  118. a.active.selector-chooseall:hover, a.active.selector-clearall:hover {
  119. cursor: pointer;
  120. }
  121. a.selector-chooseall {
  122. padding: 0 18px 0 0;
  123. background: url(../img/selector-icons.svg) right -160px no-repeat;
  124. cursor: default;
  125. }
  126. a.active.selector-chooseall:focus, a.active.selector-chooseall:hover {
  127. background-position: 100% -176px;
  128. }
  129. a.selector-clearall {
  130. padding: 0 0 0 18px;
  131. background: url(../img/selector-icons.svg) 0 -128px no-repeat;
  132. cursor: default;
  133. }
  134. a.active.selector-clearall:focus, a.active.selector-clearall:hover {
  135. background-position: 0 -144px;
  136. }
  137. /* STACKED SELECTORS */
  138. .stacked {
  139. float: left;
  140. width: 490px;
  141. }
  142. .stacked select {
  143. width: 480px;
  144. height: 10.1em;
  145. }
  146. .stacked .selector-available, .stacked .selector-chosen {
  147. width: 480px;
  148. }
  149. .stacked .selector-available {
  150. margin-bottom: 0;
  151. }
  152. .stacked .selector-available input {
  153. width: 422px;
  154. }
  155. .stacked ul.selector-chooser {
  156. height: 22px;
  157. width: 50px;
  158. margin: 0 0 10px 40%;
  159. background-color: #eee;
  160. border-radius: 10px;
  161. }
  162. .stacked .selector-chooser li {
  163. float: left;
  164. padding: 3px 3px 3px 5px;
  165. }
  166. .stacked .selector-chooseall, .stacked .selector-clearall {
  167. display: none;
  168. }
  169. .stacked .selector-add {
  170. background: url(../img/selector-icons.svg) 0 -32px no-repeat;
  171. cursor: default;
  172. }
  173. .stacked .active.selector-add {
  174. background-position: 0 -32px;
  175. cursor: pointer;
  176. }
  177. .stacked .active.selector-add:focus, .stacked .active.selector-add:hover {
  178. background-position: 0 -48px;
  179. cursor: pointer;
  180. }
  181. .stacked .selector-remove {
  182. background: url(../img/selector-icons.svg) 0 0 no-repeat;
  183. cursor: default;
  184. }
  185. .stacked .active.selector-remove {
  186. background-position: 0 0px;
  187. cursor: pointer;
  188. }
  189. .stacked .active.selector-remove:focus, .stacked .active.selector-remove:hover {
  190. background-position: 0 -16px;
  191. cursor: pointer;
  192. }
  193. .selector .help-icon {
  194. background: url(../img/icon-unknown.svg) 0 0 no-repeat;
  195. display: inline-block;
  196. vertical-align: middle;
  197. margin: -2px 0 0 2px;
  198. width: 13px;
  199. height: 13px;
  200. }
  201. .selector .selector-chosen .help-icon {
  202. background: url(../img/icon-unknown-alt.svg) 0 0 no-repeat;
  203. }
  204. .selector .search-label-icon {
  205. background: url(../img/search.svg) 0 0 no-repeat;
  206. display: inline-block;
  207. height: 18px;
  208. width: 18px;
  209. }
  210. /* DATE AND TIME */
  211. p.datetime {
  212. line-height: 20px;
  213. margin: 0;
  214. padding: 0;
  215. color: var(--body-quiet-color);
  216. font-weight: bold;
  217. }
  218. .datetime span {
  219. white-space: nowrap;
  220. font-weight: normal;
  221. font-size: 11px;
  222. color: var(--body-quiet-color);
  223. }
  224. .datetime input, .form-row .datetime input.vDateField, .form-row .datetime input.vTimeField {
  225. margin-left: 5px;
  226. margin-bottom: 4px;
  227. }
  228. table p.datetime {
  229. font-size: 11px;
  230. margin-left: 0;
  231. padding-left: 0;
  232. }
  233. .datetimeshortcuts .clock-icon, .datetimeshortcuts .date-icon {
  234. position: relative;
  235. display: inline-block;
  236. vertical-align: middle;
  237. height: 16px;
  238. width: 16px;
  239. overflow: hidden;
  240. }
  241. .datetimeshortcuts .clock-icon {
  242. background: url(../img/icon-clock.svg) 0 0 no-repeat;
  243. }
  244. .datetimeshortcuts a:focus .clock-icon,
  245. .datetimeshortcuts a:hover .clock-icon {
  246. background-position: 0 -16px;
  247. }
  248. .datetimeshortcuts .date-icon {
  249. background: url(../img/icon-calendar.svg) 0 0 no-repeat;
  250. top: -1px;
  251. }
  252. .datetimeshortcuts a:focus .date-icon,
  253. .datetimeshortcuts a:hover .date-icon {
  254. background-position: 0 -16px;
  255. }
  256. .timezonewarning {
  257. font-size: 11px;
  258. color: var(--body-quiet-color);
  259. }
  260. /* URL */
  261. p.url {
  262. line-height: 20px;
  263. margin: 0;
  264. padding: 0;
  265. color: var(--body-quiet-color);
  266. font-size: 11px;
  267. font-weight: bold;
  268. }
  269. .url a {
  270. font-weight: normal;
  271. }
  272. /* FILE UPLOADS */
  273. p.file-upload {
  274. line-height: 20px;
  275. margin: 0;
  276. padding: 0;
  277. color: var(--body-quiet-color);
  278. font-size: 11px;
  279. font-weight: bold;
  280. }
  281. .aligned p.file-upload {
  282. margin-left: 170px;
  283. }
  284. .file-upload a {
  285. font-weight: normal;
  286. }
  287. .file-upload .deletelink {
  288. margin-left: 5px;
  289. }
  290. span.clearable-file-input label {
  291. color: var(--body-fg);
  292. font-size: 11px;
  293. display: inline;
  294. float: none;
  295. }
  296. /* CALENDARS & CLOCKS */
  297. .calendarbox, .clockbox {
  298. margin: 5px auto;
  299. font-size: 12px;
  300. width: 19em;
  301. text-align: center;
  302. background: var(--body-bg);
  303. color: var(--body-fg);
  304. border: 1px solid var(--hairline-color);
  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. font-weight: 700;
  329. font-size: 12px;
  330. color: #333;
  331. background: var(--accent);
  332. }
  333. .calendar th {
  334. padding: 8px 5px;
  335. background: var(--darkened-bg);
  336. border-bottom: 1px solid var(--border-color);
  337. font-weight: 400;
  338. font-size: 12px;
  339. text-align: center;
  340. color: var(--body-quiet-color);
  341. }
  342. .calendar td {
  343. font-weight: 400;
  344. font-size: 12px;
  345. text-align: center;
  346. padding: 0;
  347. border-top: 1px solid var(--hairline-color);
  348. border-bottom: none;
  349. }
  350. .calendar td.selected a {
  351. background: var(--primary);
  352. color: var(--button-fg);
  353. }
  354. .calendar td.nonday {
  355. background: var(--darkened-bg);
  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: var(--body-quiet-color);
  366. }
  367. .calendar td a:focus, .timelist a:focus,
  368. .calendar td a:hover, .timelist a:hover {
  369. background: var(--primary);
  370. color: white;
  371. }
  372. .calendar td a:active, .timelist a:active {
  373. background: var(--header-bg);
  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: var(--body-quiet-color);
  386. }
  387. .calendar-shortcuts {
  388. background: var(--body-bg);
  389. color: var(--body-quiet-color);
  390. font-size: 11px;
  391. line-height: 11px;
  392. border-top: 1px solid var(--hairline-color);
  393. padding: 8px 0;
  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 var(--border-color);
  426. color: var(--body-fg);
  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. }