forms.php 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. <?php
  2. /**
  3. * Modbash Clean Elgg Theme
  4. *
  5. * Copyright (c) 2015 ModBash
  6. *
  7. * @author Shane Barron <admin@modbash.com>
  8. * @copyright 2015 SocialApparatus
  9. * @license GNU General Public License (GPL) version 2
  10. * @version 1
  11. * @link http://modbash.com
  12. */
  13. ?>
  14. //<style>
  15. /* ***************************************
  16. Form Elements
  17. *************************************** */
  18. fieldset > div {
  19. margin-bottom: 15px;
  20. }
  21. fieldset > div:last-child {
  22. margin-bottom: 0;
  23. }
  24. .elgg-form-alt > fieldset > .elgg-foot {
  25. border-top: 1px solid #CCC;
  26. padding: 10px 0;
  27. }
  28. .elgg-longtext-control {
  29. float: right;
  30. margin-left: 14px;
  31. font-size: 80%;
  32. cursor: pointer;
  33. }
  34. .elgg-input-access {
  35. margin:5px 0 0 0;
  36. }
  37. input[type="checkbox"],
  38. input[type="radio"] {
  39. margin:0 3px 0 0;
  40. padding:0;
  41. border:none;
  42. width:auto;
  43. }
  44. .elgg-input-checkboxes.elgg-horizontal li,
  45. .elgg-input-radios.elgg-horizontal li {
  46. display: inline;
  47. padding-right: 10px;
  48. }
  49. .elgg-form-login, .elgg-form-account {
  50. max-width: 450px;
  51. }
  52. /* ***************************************
  53. FRIENDS PICKER
  54. *************************************** */
  55. .friends-picker-main-wrapper {
  56. margin-bottom: 15px;
  57. }
  58. .friends-picker-container h3 {
  59. font-size:4em !important;
  60. text-align: left;
  61. margin:10px 0 20px !important;
  62. color:#999 !important;
  63. background: none !important;
  64. padding:0 !important;
  65. }
  66. .friends-picker .friends-picker-container .panel ul {
  67. text-align: left;
  68. margin: 0;
  69. padding:0;
  70. }
  71. .friends-picker-wrapper {
  72. margin: 0;
  73. padding:0;
  74. position: relative;
  75. width: 730px;
  76. }
  77. .friends-picker {
  78. position: relative;
  79. overflow: hidden;
  80. margin: 0;
  81. padding:0;
  82. width: 730px;
  83. height: auto;
  84. background-color: #dedede;
  85. -webkit-border-radius: 8px;
  86. -moz-border-radius: 8px;
  87. border-radius: 8px;
  88. }
  89. .friendspicker-savebuttons {
  90. background: white;
  91. -webkit-border-radius: 8px;
  92. -moz-border-radius: 8px;
  93. border-radius: 8px;
  94. margin:0 10px 10px;
  95. }
  96. .friends-picker .friends-picker-container { /* long container used to house end-to-end panels. Width is calculated in JS */
  97. position: relative;
  98. left: 0;
  99. top: 0;
  100. width: 100%;
  101. list-style-type: none;
  102. }
  103. .friends-picker .friends-picker-container .panel {
  104. float:left;
  105. height: 100%;
  106. position: relative;
  107. width: 730px;
  108. margin: 0;
  109. padding:0;
  110. }
  111. .friends-picker .friends-picker-container .panel .wrapper {
  112. margin: 0;
  113. padding:4px 10px 10px 10px;
  114. min-height: 230px;
  115. }
  116. .friends-picker-navigation {
  117. margin: 0 0 10px;
  118. padding:0 0 10px;
  119. border-bottom:1px solid #ccc;
  120. }
  121. .friends-picker-navigation ul {
  122. list-style: none;
  123. padding-left: 0;
  124. }
  125. .friends-picker-navigation ul li {
  126. float: left;
  127. margin:0;
  128. background:white;
  129. }
  130. .friends-picker-navigation a {
  131. font-weight: bold;
  132. text-align: center;
  133. background: white;
  134. color: #999;
  135. text-decoration: none;
  136. display: block;
  137. padding: 0;
  138. width:20px;
  139. -webkit-border-radius: 4px;
  140. -moz-border-radius: 4px;
  141. border-radius: 4px;
  142. }
  143. .tabHasContent {
  144. background: white;
  145. color:#333 !important;
  146. }
  147. .friends-picker-navigation li a:hover {
  148. background: #333;
  149. color:white !important;
  150. }
  151. .friends-picker-navigation li a.current {
  152. background: #4690D6;
  153. color:white !important;
  154. }
  155. .friends-picker-navigation-l, .friends-picker-navigation-r {
  156. position: absolute;
  157. top: 46px;
  158. text-indent: -9000em;
  159. }
  160. .friends-picker-navigation-l a, .friends-picker-navigation-r a {
  161. display: block;
  162. height: 40px;
  163. width: 40px;
  164. }
  165. .friends-picker-navigation-l {
  166. right: 48px;
  167. z-index:1;
  168. }
  169. .friends-picker-navigation-r {
  170. right: 0;
  171. z-index:1;
  172. }
  173. .friends-picker-navigation-l {
  174. background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat left top;
  175. }
  176. .friends-picker-navigation-r {
  177. background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat -60px top;
  178. }
  179. .friends-picker-navigation-l:hover {
  180. background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat left -44px;
  181. }
  182. .friends-picker-navigation-r:hover {
  183. background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat -60px -44px;
  184. }
  185. .friendspicker-savebuttons .elgg-button-submit,
  186. .friendspicker-savebuttons .elgg-button-cancel {
  187. margin:5px 20px 5px 5px;
  188. }
  189. .friendspicker-members-table {
  190. background: #dedede;
  191. -webkit-border-radius: 8px;
  192. -moz-border-radius: 8px;
  193. border-radius: 8px;
  194. margin:10px 0 0;
  195. padding:10px 10px 0;
  196. }
  197. /* ***************************************
  198. AUTOCOMPLETE
  199. *************************************** */
  200. <?php //autocomplete will expand to fullscreen without max-width ?>
  201. .ui-autocomplete {
  202. position: absolute;
  203. cursor: default;
  204. }
  205. .elgg-autocomplete-item .elgg-body {
  206. max-width: 600px;
  207. }
  208. .ui-autocomplete {
  209. background-color: white;
  210. border: 1px solid #ccc;
  211. overflow: hidden;
  212. -webkit-border-radius: 5px;
  213. -moz-border-radius: 5px;
  214. border-radius: 5px;
  215. }
  216. .ui-autocomplete .ui-menu-item {
  217. padding: 0px 4px;
  218. -webkit-border-radius: 5px;
  219. -moz-border-radius: 5px;
  220. border-radius: 5px;
  221. }
  222. .ui-autocomplete .ui-menu-item:hover {
  223. background-color: #eee;
  224. }
  225. .ui-autocomplete a:hover {
  226. text-decoration: none;
  227. color: #4690D6;
  228. }
  229. .ui-autocomplete a.ui-state-hover {
  230. background-color: #eee;
  231. display: block;
  232. }
  233. /* ***************************************
  234. USER PICKER
  235. *************************************** */
  236. .elgg-user-picker-list li:first-child {
  237. border-top: 1px dotted #ccc;
  238. margin-top: 5px;
  239. }
  240. .elgg-user-picker-list > li {
  241. border-bottom: 1px dotted #ccc;
  242. }
  243. /* ***************************************
  244. DATE PICKER
  245. **************************************** */
  246. .ui-datepicker {
  247. display: none;
  248. margin-top: 3px;
  249. width: 208px;
  250. background-color: white;
  251. border: 1px solid #0054A7;
  252. -webkit-border-radius: 6px;
  253. -moz-border-radius: 6px;
  254. border-radius: 6px;
  255. overflow: hidden;
  256. -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  257. -moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  258. box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  259. }
  260. .ui-datepicker-inline {
  261. -webkit-box-shadow: none;
  262. -moz-box-shadow: none;
  263. box-shadow: none;
  264. }
  265. .ui-datepicker-header {
  266. position: relative;
  267. background: #4690D6;
  268. color: white;
  269. padding: 2px 0;
  270. border-bottom: 1px solid #0054A7;
  271. }
  272. .ui-datepicker-header a {
  273. color: white;
  274. }
  275. .ui-datepicker-prev, .ui-datepicker-next {
  276. position: absolute;
  277. top: 5px;
  278. cursor: pointer;
  279. }
  280. .ui-datepicker-prev {
  281. left: 6px;
  282. }
  283. .ui-datepicker-next {
  284. right: 6px;
  285. }
  286. .ui-datepicker-title {
  287. line-height: 1.8em;
  288. margin: 0 30px;
  289. text-align: center;
  290. font-weight: bold;
  291. }
  292. .ui-datepicker-calendar {
  293. margin: 4px;
  294. }
  295. .ui-datepicker th {
  296. color: #0054A7;
  297. border: none;
  298. font-weight: bold;
  299. padding: 5px 6px;
  300. text-align: center;
  301. }
  302. .ui-datepicker td {
  303. padding: 1px;
  304. }
  305. .ui-datepicker td span, .ui-datepicker td a {
  306. display: block;
  307. padding: 2px;
  308. line-height: 1.2em;
  309. text-align: right;
  310. text-decoration: none;
  311. }
  312. .ui-datepicker-calendar .ui-state-default {
  313. border: 1px solid #ccc;
  314. color: #4690D6;;
  315. background: #fafafa;
  316. }
  317. .ui-datepicker-calendar .ui-state-hover {
  318. border: 1px solid #aaa;
  319. color: #0054A7;
  320. background: #eee;
  321. }
  322. .ui-datepicker-calendar .ui-state-active,
  323. .ui-datepicker-calendar .ui-state-active.ui-state-hover {
  324. font-weight: bold;
  325. border: 1px solid #0054A7;
  326. color: #0054A7;
  327. background: #E4ECF5;
  328. }