sd.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * this CSS is not part of the widget, it is here just as an example of the demo page styling....
  3. *
  4. * Don't copy this one, roll your own. One of the key things about the widget is that
  5. * it allows you to do your own styling!
  6. *
  7. */
  8. td:focus {
  9. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  10. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  11. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  12. outline: rgb(91, 157, 217) auto 5px;
  13. }
  14. input.error {
  15. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px red;
  16. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px red;
  17. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px red;
  18. outline: thin auto red;
  19. }
  20. input {
  21. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  22. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  23. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  24. outline: rgb(91, 157, 217) auto 5px;
  25. outline-offset: 0px;
  26. border: none;
  27. }
  28. #mainTable thead th, #mainTable tbody td {
  29. width: 25%;
  30. }
  31. #mainTable td + td, #mainTable th + th {
  32. text-align: right;
  33. }
  34. table.scrollable thead tr, table.scrollable tfoot tr {
  35. position: relative;
  36. display: block
  37. }
  38. html>body table.scrollable tbody {
  39. display: block;
  40. height: 330px;
  41. overflow: auto;
  42. width: 100%
  43. }
  44. html>body table.scrollable td, html>body table.scrollable th {
  45. width: 200px
  46. }