PageRenderTime 42ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/public/style/style.css.php

https://github.com/IAmCorbin/MooKit
PHP | 89 lines | 64 code | 13 blank | 12 comment | 0 complexity | 51319c58045cbe9be104e293b7bfdc43 MD5 | raw file
Possible License(s): GPL-3.0
  1. <?php header("Content-type: text/css");
  2. $curved = '25px';
  3. ?>
  4. * { margin: 0; padding: 0; z-index: 0; }
  5. html, body { height: 100%; }
  6. body { background-image : url('../img/back.jpg'); }
  7. input[type="text"], input[type="password"] { border: inset #AAA 1px; padding: 2px 5px 2px 5px; }
  8. <? /* <!-- TABLE STYLE --> */ ?>
  9. table { clear: left; border: double black 4px; }
  10. table *, ul.pagination * { font-family: Monospace; }
  11. table tr td { padding: 5px;}
  12. table thead th { padding: 5px; height: 50px; font-weight: bold; font-size: 20px; background: #CCF; vertical-align: top; }
  13. table thead th span { display: block; position: relative; bottom: 0px; left: 40%; width: 14px; height: 15px; }
  14. table thead th.forward_sort { background: #88F; }
  15. table thead th.reverse_sort { background: #C8B; }
  16. table tbody tr { background-color: #AAF; cursor: pointer; }
  17. table tbody tr:hover { background-color: #FAA; }
  18. table tbody tr.alt { background-color: #88D; }
  19. ul.pagination li { margin-left: 50px; margin: 10px; float: left; list-style-type: none; }
  20. ul.pagination li a.currentPage { background: #AAA }
  21. /* SHORTCUTS */
  22. .floatL { float: left; }
  23. .floatR { float: right; }
  24. .clearB { clear: both; }
  25. /* SLIDE BUTTONS */
  26. .login_buttonWrap, .signup_buttonWrap { width:70px; height:36px; overflow:hidden; font-weight:bold; font-size:11px; margin:10px; }
  27. .login_buttonWrap { position: absolute; right: 3px; top: 3px; z-index: 1050; }
  28. .login_buttonSlide{ width:70px; height:36px; background-color:#093d6f; color:#fff; top:0px; right:0px; position:absolute; line-height:36px; text-align:left; }
  29. .login_buttonSlide span{ /* display:none; */ visibility:hidden; padding-left:20px; color:#fff; }
  30. .login_buttonText { width:64px; height:30px; background-color:#fff; color:#000; position:absolute; top:3px; right:3px; text-transform:uppercase; line-height:30px; text-align:center; cursor:pointer; }
  31. .login_buttonText span{ color:#008ddd; }
  32. .signup_buttonWrap { position: absolute; left: 3px; top: 3px; z-index: 2050; }
  33. .signup_buttonSlide { width:70px; height:36px; background-color:#093d6f; color:#fff; top:0px; left:0px; position:absolute; line-height:36px; text-align:right; }
  34. .signup_buttonSlide span{ /* display:none; */ visibility:hidden; padding-right:20px; color:#fff; }
  35. .signup_buttonText { width:64px; height:30px; background-color:#fff; color:#000; position:absolute; top:3px; left:3px; text-transform:uppercase; line-height:30px; text-align:center; cursor:pointer; }
  36. .signup_buttonText span{ color:#008ddd; }
  37. /* END SLIDE BUTTONS */
  38. /* DEFAULT LINK STYLES */
  39. .link > a:first-child { font-size: 20px; color: #0FF; background: #AAF; padding: 3px; padding: 5px; margin: 2px; }
  40. .link > a:first-child:hover { background: #88F; }
  41. .sublink { position: absolute; }
  42. .sublink > a:first-child { font-size: 10px; color: #00F; background: #0FF; margin: 20px; padding: 2px; }
  43. .sublink > a:first-child:hover { background: #0CC; }
  44. .linkDesc { display: block; visibility: hidden; opacity: 0; position: absolute; padding: 3px; background: #CCC; border: solid #AAA 2px; z-index: 1000 }
  45. /* FORM VALIDATION */
  46. .validation-passed { background-color: #99cc99 !important; } /* This style is applied to input fields after successful validation */
  47. .validation-advice, .phpError { border: solid #600 2px; background: #F88; color: #000; } /* This style is applied to the error messages */
  48. .validation-failed, .phpError { background-color: #cc9999; } /* This style is applied to input fields after validation failed */
  49. .phpError { display: none; width: 80%; }
  50. /* STRUCTURE */
  51. div#userInfo { background: #AAF; border: solid 5px #AAA; width: 400px; position: absolute; right: 2%; top: 20%; padding: 10px; }
  52. div#userInfo:hover { background: #AFA; border: solid 5px #FFF; }
  53. div#userInfo > div { border: solid black 1px; padding: 5px; background: #77F;}
  54. div#userInfo > div:hover { background: #99F;}
  55. #mainNav { margin: 10px auto 10px auto; left: 10px; top: 2px; width: 80%; }
  56. #content { float: left; margin: 5% 5% 5% 5%; padding-bottom: 50px; }
  57. /* CUSTOM */
  58. .curved, input[type="password"],
  59. input[type="text"], div#userInfo, span.linkDesc, .link > a:first-child, .sublink > a:first-child
  60. { -moz-border-radius:<?echo $curved?>; <?/* Firefox */?> -webkit-border-radius:<?echo $curved?>; <?/* Safari and chrome */?> -khtml-border-radius:<?echo $curved?>; <?/* Linux browsers */?> border-radius:<?echo $curved?>; <?/* CSS3 */?> }
  61. .button { background: #AAA; border: outset #666 4px; margin: 8px;}
  62. .button:hover { background: #888; border: outset 3px; cursor: pointer;}
  63. .cancelButton { width: 30px; height: 10px; color: black; float: right; background: #A00; }
  64. .cancelButton:hover { background: #FAA; color: #FFF; font-weight: bold; }
  65. .resultsBox { background: #AAA; border: outset 2px; #FFF; cursor: pointer; }
  66. .blueBox { width: 50px; height: 50px; background: blue; }
  67. form.singleton { display: inline; padding: 4px; border: solid #555 5px; background: #333; }
  68. form.singleton input { border: none; background: #333; color: #AAA; }
  69. form.singleton input[type="submit"] { border-left: solid 5px #555; }
  70. /* OTHER */
  71. #w3_validated { position: absolute; bottom: 10px; right: 10px; }
  72. #debugBox { width: 80%; height: 10px; position:fixed !important; position: absolute; /*ie6 and above*/ bottom: 0px; left: 10%; background: #FFF; border: solid #000 4px; border-bottom: none; overflow: auto;}
  73. .break { width: 100%; border-bottom: 3px solid #000; margin: 15px 0 15px 0; }
  74. <? /* <!-- LOADING ANIMATIONS --> */ ?>
  75. .loadingB { background: url('../img/anim/loadingW.gif') no-repeat; !important; }
  76. .loadingW { background: url('../img/anim/loadingW.gif') no-repeat !important; }