Advertisement
Guest User

main.css

a guest
Feb 26th, 2018
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.72 KB | None | 0 0
  1. * {
  2.     margin: 0;
  3.     padding: 0;
  4. }
  5.  
  6. body {
  7.     font-family: Tahoma, Arial, sans-serif;
  8.     background: url('/cpt3/bg.png');
  9. }
  10.  
  11. /*
  12. td {
  13.     border: 1px solid gray;
  14.     padding: 5px;
  15. }
  16. */
  17.  
  18. .progress {
  19.     background-color: #f44336;
  20.     height: 7px;
  21.     /*text-shadow: 0px 0px 10px #fff;*/
  22.    
  23.    
  24. }
  25.  
  26. .progress-wrap {
  27.     background-color: #31db62;;
  28.     margin-top: 3px;
  29.     margin-bottom: 2px;
  30. }
  31.  
  32.  
  33. table {
  34.     font-family:Arial, Helvetica, sans-serif;
  35.     color:#666;
  36.     font-size:10pt;
  37.     text-shadow: 1px 1px 0px #fff;
  38.     background:#eaebec;
  39.     border:#ccc 1px solid;
  40.     border-collapse:separate;
  41.         width: 100%;
  42.  
  43.     -moz-border-radius:3px;
  44.     -webkit-border-radius:3px;
  45.     border-radius:3px;
  46.  
  47.     -moz-box-shadow: 0 1px 2px #d1d1d1;
  48.     -webkit-box-shadow: 0 1px 2px #d1d1d1;
  49.     box-shadow: 0 1px 2px #d1d1d1;
  50. }
  51.  
  52. th {
  53.     font-weight:bold;
  54.     padding:3px 7px;
  55.     border-top:1px solid #fafafa;
  56.     border-bottom:1px solid #e0e0e0;
  57.     background: #ededed;
  58.     background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
  59.     background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
  60. }
  61.  
  62. tr:first-child th:first-child{
  63.     -moz-border-radius-topleft:3px;
  64.     -webkit-border-top-left-radius:3px;
  65.     border-top-left-radius:3px;
  66. }
  67. tr:first-child th:last-child{
  68.     -moz-border-radius-topright:3px;
  69.     -webkit-border-top-right-radius:3px;
  70.     border-top-right-radius:3px;
  71. }
  72.  
  73. tr td:first-child{
  74.     border-left: 0;
  75. }
  76. tr td {
  77.     padding: 3px 7px;
  78.     border-top: 1px solid #ffffff;
  79.     border-bottom:1px solid #e0e0e0;
  80.     border-left: 1px solid #e0e0e0;
  81.    
  82.     background: #fafafa;
  83.     background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
  84.     background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
  85. }
  86. tr:nth-child(even) td{
  87.     background: #f6f6f6;
  88.     background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
  89.     background: -moz-linear-gradient(top,  #f8f8f8,  #f6f6f6);
  90. }
  91. tr:last-child td{
  92.     border-bottom:0;
  93. }
  94. tr:last-child td:first-child{
  95.     -moz-border-radius-bottomleft:3px;
  96.     -webkit-border-bottom-left-radius:3px;
  97.     border-bottom-left-radius:3px;
  98. }
  99. tr:last-child td:last-child{
  100.     -moz-border-radius-bottomright:3px;
  101.     -webkit-border-bottom-right-radius:3px;
  102.     border-bottom-right-radius:3px;
  103. }
  104. tr:hover td{
  105.     background: #f2f2f2;
  106.     background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
  107.     background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0); 
  108. }
  109.  
  110. a:link {
  111.     color: #666;
  112.     font-weight: bold;
  113.     text-decoration:none;
  114. }
  115.  
  116. a:visited {
  117.     color: #666;
  118.     font-weight:bold;
  119.     text-decoration:none;
  120. }
  121. a:active,
  122. a:hover {
  123.     color: #bd5a35;
  124.     text-decoration:underline;
  125. }
  126.  
  127. /*
  128. tr:first-child {
  129.     font-size: 10pt;
  130.     font-weight: bold;
  131. }
  132.  
  133. tr:not(:first-child):nth-child(odd) td {
  134.     background-color: #ffe5e5;
  135. }
  136.  
  137. tr:first-child {
  138.     background-color: #92b4a2;
  139. }
  140. */
  141.  
  142. .col {
  143.     display: inline-block;
  144.     vertical-align: top;
  145. }
  146.  
  147. .col:not(:first-child) {
  148.     margin-left: -5px;
  149. }
  150.  
  151. .block {
  152.     margin: 15px;
  153.     border: 1px solid black;
  154.     border-radius: 5px;
  155.     overflow:hidden;
  156. }
  157.  
  158. .col:not(:first-child) .block {
  159.     margin-left: 0;
  160. }
  161.  
  162. .block-title {
  163.     padding: 5px 10px;
  164.     border-bottom: 1px solid black;
  165.     background: linear-gradient(to bottom, rgba(109,117,135,1) 0%,rgba(63,76,107,1) 100%);
  166.     color: white;
  167.     text-align: center;
  168. }
  169.  
  170. .block-body {
  171.     padding: 10px;
  172.     background-color: white;
  173. }
  174.  
  175. #add-event .block-body {
  176.     text-align: center;
  177. }
  178.  
  179. #add-event button {
  180.     padding: 3px 7px;
  181. }
  182.  
  183. #add-event input {
  184.     width: 232px;
  185. }
  186.  
  187. #col1 {
  188.     width: 370px;
  189. }
  190.  
  191. #col2 {
  192.     width: 600px;
  193. }
  194.  
  195. table td:first-child {
  196.     width: 100%;
  197. }
  198.  
  199. td,th {
  200.     white-space: nowrap;
  201. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement