Advertisement
Stojanov1999

Semafor_stari_index.html

Oct 20th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.99 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>FlaskovskiSemafor</title>
  4. <style>
  5. .button {
  6.             display: inline-block;
  7.             vertical-align: top;
  8.             position: relative;
  9.             overflow: hidden;
  10.             width: 100px;
  11.         height:100px;
  12.             padding: 0 24px;
  13.             font-size: 24px;
  14.             color: white;
  15.             text-align: center;
  16.             text-decoration: none;
  17.             text-shadow: 0 1px #154c86;
  18.             background-color: #247edd;
  19.             background-clip: padding-box;
  20.             border: 1px solid;
  21.             border-color: #1c65b2 #18589c #18589c;
  22.             border-radius: 100%;
  23.             -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
  24.             box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
  25.             background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
  26.             background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
  27.             background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
  28.             background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0.04));
  29.         }
  30.  
  31. .button:before {
  32.             content: '';
  33.             position: absolute;
  34.             top: -25%;
  35.             bottom: -25%;
  36.             left: -20%;
  37.             right: -20%;
  38.             border-radius: 50%;
  39.             background: transparent;
  40.             -webkit-box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.5);
  41.             box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.5);
  42.         }
  43.  
  44. .button:hover {
  45.             background-color: #1a74d3;
  46.         }
  47.        
  48. .button:active {
  49.             color: rgba(255, 255, 255, 0.9);
  50.             text-shadow: 0 -1px #154c86;
  51.             background: #1f71c8;
  52.             border-color: #113f70 #154c86 #1c65b2;
  53.             -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.4);
  54.             box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.4);
  55.             background-image: -webkit-linear-gradient(top, #1a5da5, #3a8be0);
  56.             background-image: -moz-linear-gradient(top, #1a5da5, #3a8be0);
  57.             background-image: -o-linear-gradient(top, #1a5da5, #3a8be0);
  58.             background-image: linear-gradient(to bottom, #1a5da5, #3a8be0);
  59.         }
  60.        
  61. .button:active:before {
  62.             top: -50%;
  63.             bottom: -125%;
  64.             left: -15%;
  65.             right: -15%;
  66.             -webkit-box-shadow: inset 0 0 96px rgba(0, 0, 0, 0.2);
  67.             box-shadow: inset 0 0 96px rgba(0, 0, 0, 0.2);
  68.         }
  69.        
  70. .button-green {
  71.             text-shadow: 0 1px #0d4d09;
  72.             background-color: #1ca913;
  73.             border-color: #147b0e #11640b #11640b;
  74.         }
  75.        
  76. .button-green:hover {
  77.             background-color: #159b0d;
  78.         }
  79.  
  80. .button-green:active {
  81.             text-shadow: 0 -1px #0d4d09;
  82.             background: #189210;
  83.             border-color: #093606 #0d4d09 #147b0e;
  84.             background-image: -webkit-linear-gradient(top, #126d0c, #20c016);
  85.             background-image: -moz-linear-gradient(top, #126d0c, #20c016);
  86.             background-image: -o-linear-gradient(top, #126d0c, #20c016);
  87.             background-image: linear-gradient(to bottom, #126d0c, #20c016);
  88.         }
  89.  
  90. .button-red {
  91.             text-shadow: 0 1px #72100d;
  92.             background-color: #cd1d18;
  93.             border-color: #9f1713 #891310 #891310;
  94.         }
  95.  
  96. .button-red:hover {
  97.             background-color: #c01511;
  98.         }
  99.  
  100. .button-red:active {
  101.             text-shadow: 0 -1px #72100d;
  102.             background: #b61a15;
  103.             border-color: #5b0d0b #72100d #9f1713;
  104.             background-image: -webkit-linear-gradient(top, #921511, #e4201b);
  105.             background-image: -moz-linear-gradient(top, #921511, #e4201b);
  106.             background-image: -o-linear-gradient(top, #921511, #e4201b);
  107.             background-image: linear-gradient(to bottom, #921511, #e4201b);
  108.         }
  109.  
  110.        
  111. .button-yellow {
  112.             text-shadow: 0 1px #706c0d;
  113.             background-color: #ece662;
  114.             border-color: #9f9913 #898410 #bfc011;
  115.         }
  116.        
  117. .button-yellow:hover {
  118.             background-color: #c0b911;
  119.         }
  120.        
  121. .button-yellow:active {
  122.             text-shadow: 0 -1px #706c0d;
  123.             background-color: #ffff00;
  124.             border-color: #9f9913 #898410 #bfc011;
  125.             background-image: -webkit-linear-gradient(top, #9f9913 #898410);
  126.             background-image: -moz-linear-gradient(top, #9f9913 #898410);
  127.             background-image: -o-linear-gradient(top, #9f9913 #898410);
  128.             background-image: linear-gradient(to bottom, #9f9913 #898410);
  129. }
  130.        
  131. .button-semafor{
  132.             background: #d8e0de;
  133.             background: -moz-linear-gradient(top, #d8e0de 0%, #aebfbc 22%, #99afab 33%, #8ea6a2 50%, #829d98 67%, #4e5c5a 82%, #0e0e0e 100%);
  134.             background: -webkit-linear-gradient(top, #d8e0de 0%,#aebfbc 22%,#99afab 33%,#8ea6a2 50%,#829d98 67%,#4e5c5a 82%,#0e0e0e 100%);
  135.             background: linear-gradient(to bottom, #d8e0de 0%,#aebfbc 22%,#99afab 33%,#8ea6a2 50%,#829d98 67%,#4e5c5a 82%,#0e0e0e 100%);
  136.             filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8e0de', endColorstr='#0e0e0e',GradientType=0 );
  137. }
  138.  
  139. .button-upalisve{
  140.             background: #d8e0de;
  141.             background: -moz-linear-gradient(top, #d8e0de 0%, #aebfbc 22%, #99afab 33%, #8ea6a2 50%, #829d98 67%, #4e5c5a 82%, #0e0e0e 100%);
  142.             background: -webkit-linear-gradient(top, #d8e0de 0%,#aebfbc 22%,#99afab 33%,#8ea6a2 50%,#829d98 67%,#4e5c5a 82%,#0e0e0e 100%);
  143.             background: linear-gradient(to bottom, #d8e0de 0%,#aebfbc 22%,#99afab 33%,#8ea6a2 50%,#829d98 67%,#4e5c5a 82%,#0e0e0e 100%);
  144.             filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8e0de', endColorstr='#0e0e0e',GradientType=0 );
  145. }
  146.  
  147. .button-ugasisve{
  148.             background: #d0e4f7;
  149.             background: -moz-linear-gradient(top, hsla(209,71%,89%,1) 0%, hsla(208,71%,68%,1) 24%, hsla(208,91%,44%,1) 50%, hsla(208,70%,60%,1) 79%, hsla(208,70%,73%,1) 100%);
  150.             background: -webkit-linear-gradient(top, hsla(209,71%,89%,1) 0%,hsla(208,71%,68%,1) 24%,hsla(208,91%,44%,1) 50%,hsla(208,70%,60%,1) 79%,hsla(208,70%,73%,1) 100%);
  151.             background: linear-gradient(to bottom, hsla(209,71%,89%,1) 0%,hsla(208,71%,68%,1) 24%,hsla(208,91%,44%,1) 50%,hsla(208,70%,60%,1) 79%,hsla(208,70%,73%,1) 100%);
  152.             filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d0e4f7', endColorstr='#87bcea',GradientType=0 );
  153. }
  154.  
  155. #desno{
  156.     float: right;  
  157. }
  158.  
  159. #levo{
  160.   float: left;
  161. }
  162. #veliki{
  163.     text-align: center;
  164.     margin: auto;
  165. }
  166. </style>
  167. </head>
  168.      
  169. <div id="veliki">
  170. <div id="levo">
  171.     <form action="/upalicrveno">
  172.     <input class="button button-red" type="submit" value="" >
  173.     </form>
  174.    
  175.     <form action="/upalizuto">
  176.     <input class="button button-yellow" type="submit"  value="">
  177.     </form>
  178.    
  179.     <form action="/upalizeleno">
  180.     <input class="button button-green" type="submit" value="">
  181.     </form>
  182.    
  183. </div>
  184. <div id="desno">
  185.     <form action="/upalisve">
  186.     <input  class="button button-upalisve" type="submit" value="Upali sve">
  187.     </form>
  188.     <form action="/ugasisve">
  189.     <input  class="button button-ugasisve" type="submit"  value="Ugasi sve" >
  190.     </form>
  191.     <br><br>
  192.     <form action="/upalisemafor">
  193.     <input  class="button button-semafor" type="submit" value="Upali semafor">
  194.     </form>
  195.     <form action="/ugasisve">
  196.     <input  class="button button-ugasisve" type="submit"  value="Ugasi semafor" >
  197.     </form>
  198. </div>
  199. </div>
  200.    
  201. </body>
  202. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement