srbac.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. /**
  2. * CSS styles for form and input fields.
  3. *
  4. * These styles are used with form and input fields generated via yiic script.
  5. *
  6. * @author Qiang Xue <qiang.xue@gmail.com>
  7. * @link http://www.yiiframework.com/
  8. * @copyright Copyright &copy; 2008-2009 Yii Software LLC
  9. * @license http://www.yiiframework.com/license/
  10. */
  11. /* FORM ELEMENTS*/
  12. div.srbacForm
  13. {
  14. border: 2px solid #B7DDF2;
  15. background: #EBF4FB;
  16. margin: 0;
  17. padding: 5px;
  18. }
  19. div.srbacForm label.required
  20. {
  21. }
  22. div.srbacForm span.required
  23. {
  24. color: red;
  25. }
  26. div.errorSummary
  27. {
  28. border: 2px solid #C00;
  29. padding: 7px 7px 12px 7px;
  30. margin: 0 0 20px 0;
  31. background: #FEE;
  32. font-size: 0.9em;
  33. }
  34. div.errorSummary p
  35. {
  36. margin: 0;
  37. padding: 5px;
  38. }
  39. div.errorSummary ul
  40. {
  41. margin: 0;
  42. padding: 0 0 0 20px;
  43. }
  44. div.errorSummary ul li
  45. {
  46. list-style: square;
  47. }
  48. div.srbacForm p.hint
  49. {
  50. color: gray;
  51. font-size: 90%;
  52. margin: 0 0 0 110px;
  53. }
  54. div.srbacForm fieldset
  55. {
  56. border: #DDD 1px solid;
  57. margin: 10px 0;
  58. padding: 10px;
  59. }
  60. div.srbacForm legend
  61. {
  62. font-weight: bold;
  63. }
  64. div.srbacForm label
  65. {
  66. }
  67. div.srbacForm div.action
  68. {
  69. clear: left;
  70. margin-left: 110px;
  71. padding: 0.25em 0;
  72. }
  73. div.srbacForm div.simple,
  74. div.srbacForm div.complex
  75. {
  76. clear: left;
  77. padding: 0.25em 0;
  78. }
  79. div.srbacForm div.simple label,
  80. div.srbacForm div.complex span
  81. {
  82. display: block;
  83. float: left;
  84. margin-right: 10px;
  85. position: relative;
  86. text-align: right;
  87. width: 100px;
  88. }
  89. div.srbacForm label.error,
  90. div.srbacForm span.error
  91. {
  92. color: #C00;
  93. }
  94. div.srbacForm input.error,
  95. div.srbacForm textarea.error,
  96. div.srbacForm select.error
  97. {
  98. background: #FEE;
  99. border-color: #C00;
  100. }
  101. div.srbacForm div.simple div,
  102. div.srbacForm div.complex div
  103. {
  104. margin-left: 110px;
  105. }
  106. /* SRBAC ELEMENTS*/
  107. .iconSet {
  108. border:#dddddd solid 1px;
  109. background: #EBF4FB;
  110. padding:0.4em;
  111. -moz-border-radius:0.7em;
  112. height:54px;
  113. }
  114. .iconBox a {
  115. color:#222222;
  116. text-decoration:none;
  117. font-weight:normal;
  118. }
  119. .controlPanel a {
  120. color:#222222;
  121. text-decoration:none;
  122. font-weight:normal;
  123. }
  124. .icon{
  125. vertical-align:middle;
  126. border:0;
  127. }
  128. .controlPanel{
  129. background: #EBF4FB;
  130. padding:0.4em;
  131. -moz-border-radius:0.7em;
  132. border:#dddddd solid 1px;
  133. }
  134. .marginBottom{
  135. margin-bottom:0.5em;
  136. }
  137. .reset{
  138. clear:both;
  139. }
  140. .controlPanel a{
  141. margin-right:0.5em;
  142. }
  143. div.iconBox{
  144. float:left;
  145. padding:0.2em;
  146. -moz-border-radius:0.7em;
  147. margin:0.6em;
  148. border:1px outset #666666;
  149. background-color:white;
  150. }
  151. .iconBox:hover{
  152. background-color:#EEEEEE;
  153. cursor:pointer;
  154. }
  155. .controlPanel .iconBox {
  156. margin: 0px;
  157. }
  158. div.srbac
  159. {
  160. border: 2px solid #B7DDF2;
  161. background: #EBF4FB;
  162. margin: 0;
  163. padding: 5px;
  164. /*width: 600px;*/
  165. }
  166. div.srbac .dropdown{
  167. width: 100%;
  168. }
  169. div.srbac div.message{
  170. color:red;
  171. text-align:center;
  172. font-weight:bold;
  173. }
  174. /* begin data grid style */
  175. table.srbacDataGrid
  176. {
  177. background: white;
  178. border-collapse: collapse;
  179. width: 99%;
  180. }
  181. table.srbacDataGrid th, table.srbacDataGrid td
  182. {
  183. font-size: 0.9em;
  184. border: 1px #4F81BD solid;
  185. padding: 0.5em;
  186. text-align:left;
  187. }
  188. table.srbacDataGrid th
  189. {
  190. background: #d3dfee;
  191. text-align: center;
  192. }
  193. table.srbacDataGrid th.label
  194. {
  195. width: 150px;
  196. }
  197. table.srbacDataGrid tr.odd
  198. {
  199. background: #E6F2FF;
  200. }
  201. /* end of data grid style */
  202. div.error {
  203. color:red;
  204. }
  205. div.title {
  206. font-weight: bold;
  207. font-size: 16px;
  208. text-align: center;
  209. margin-bottom: 8px;
  210. }
  211. table.roles {
  212. background:white;
  213. width:100%;
  214. }
  215. table.tasks {
  216. float:right;
  217. width:75%;
  218. vertical-align:top;
  219. background-color: #66ffff;
  220. }
  221. table.operations {
  222. float:right;
  223. width:60%;
  224. background-color: #9999ff;
  225. }
  226. /* TABVIEW ELEMENTS */
  227. .horTab .yiiTab ul.tabs
  228. {
  229. padding: 2px 0;
  230. margin: 0;
  231. border-bottom: 1px solid #4F81BD;
  232. font: bold 12px Verdana, sans-serif;
  233. text-align:left;
  234. }
  235. .horTab .yiiTab ul.tabs li
  236. {
  237. list-style: none;
  238. margin: 0;
  239. display: inline;
  240. }
  241. .horTab .yiiTab ul.tabs a
  242. {
  243. -moz-border-radius-topleft:5px;
  244. -moz-border-radius-topright:5px;
  245. padding: 2px 0.5em;
  246. margin: 0 0 0 3px;
  247. border: 1px solid #4F81BD;
  248. border-bottom: none;
  249. background: #d3dfee;
  250. text-decoration: none;
  251. }
  252. .horTab .yiiTab ul.tabs a:link
  253. {
  254. color: #667;
  255. }
  256. .horTab .yiiTab ul.tabs a:visited
  257. {
  258. color: #667;
  259. }
  260. .horTab .yiiTab ul.tabs a:hover
  261. {
  262. color: #000;
  263. background: #E6F2FF;
  264. border-color: #227;
  265. }
  266. .horTab .yiiTab ul.tabs a.active
  267. {
  268. background: white;
  269. border-bottom: 1px solid white;
  270. }
  271. .horTab .yiiTab div.view
  272. {
  273. border-left: 1px solid #4F81BD;
  274. border-right: 1px solid #4F81BD;
  275. border-bottom: 1px solid #4F81BD;
  276. padding: 8px;
  277. margin: 0;
  278. }
  279. /* VERT TAB */
  280. .vertTab {
  281. width:90%;
  282. }
  283. .vertTab .yiiTab ul.tabs
  284. {
  285. padding: 2px 0;
  286. margin: 0;
  287. font: bold 12px Verdana, sans-serif;
  288. text-align:left;
  289. float:left;
  290. }
  291. .vertTab .yiiTab ul.tabs li
  292. {
  293. list-style: none;
  294. display: inline;
  295. margin: 0;
  296. }
  297. .vertTab .yiiTab ul.tabs a{
  298. display:block;
  299. -moz-border-radius-topleft:5px;
  300. -moz-border-radius-bottomleft:5px;
  301. -moz-border-radius-topright:0px;
  302. -moz-border-radius-bottomright:0px;
  303. padding:6px;
  304. margin: 0;
  305. border: 1px solid #4F81BD;
  306. border-right: 1px solid #4F81BD;
  307. background: #d3dfee;
  308. text-decoration: none;
  309. }
  310. .vertTab .yiiTab ul.tabs a:link
  311. {
  312. color: #667;
  313. }
  314. .vertTab .yiiTab ul.tabs a:visited
  315. {
  316. color: #667;
  317. }
  318. .vertTab .yiiTab ul.tabs a:hover
  319. {
  320. color: #000;
  321. background: #E6F2FF;
  322. border-color: #227;
  323. }
  324. .vertTab .yiiTab ul.tabs a.active
  325. {
  326. background: white;
  327. border-right: 1px solid white;
  328. }
  329. .vertTab .yiiTab div.view
  330. {
  331. border-right:1px solid #4F81BD;
  332. border-top:1px solid #4F81BD;
  333. border-bottom:1px solid #4F81BD;
  334. border-left:0;
  335. padding: 8px;
  336. margin: 0;
  337. text-align:left;
  338. float:none;
  339. /*height:200px;*/
  340. overflow:scroll;
  341. }
  342. /* LOADING INDICATORS */
  343. div.srbacLoading {
  344. background-position: center center;
  345. background-repeat: no-repeat;
  346. opacity: 1;
  347. background-image: url('process-working.gif');
  348. }
  349. div.srbacLoading * {
  350. opacity: .2;
  351. }
  352. /*Installing srbac styles*/
  353. div.installNoError{
  354. color:green;
  355. }
  356. div.installError{
  357. color:red;
  358. font-weight:bold;
  359. }
  360. div.installNoError {
  361. background-image: url(noError.png);
  362. background-repeat:no-repeat;
  363. background-position: right;
  364. }
  365. div.installError {
  366. background-image: url(error.png);
  367. background-repeat:no-repeat;
  368. background-position: right;
  369. }
  370. #srbacError{
  371. color:red;
  372. font-weight: bold;
  373. font-size: 110%;
  374. padding-top: 10px;
  375. }