Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>FlaskovskiSemafor</title>
- <style>
- .button {
- display: inline-block;
- vertical-align: top;
- position: relative;
- overflow: hidden;
- width: 100px;
- height:100px;
- padding: 0 24px;
- font-size: 24px;
- color: white;
- text-align: center;
- text-decoration: none;
- text-shadow: 0 1px #154c86;
- background-color: #247edd;
- background-clip: padding-box;
- border: 1px solid;
- border-color: #1c65b2 #18589c #18589c;
- border-radius: 100%;
- -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
- 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));
- 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));
- 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));
- 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));
- }
- .button:before {
- content: '';
- position: absolute;
- top: -25%;
- bottom: -25%;
- left: -20%;
- right: -20%;
- border-radius: 50%;
- background: transparent;
- -webkit-box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.5);
- box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.5);
- }
- .button:hover {
- background-color: #1a74d3;
- }
- .button:active {
- color: rgba(255, 255, 255, 0.9);
- text-shadow: 0 -1px #154c86;
- background: #1f71c8;
- border-color: #113f70 #154c86 #1c65b2;
- -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.4);
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.4);
- background-image: -webkit-linear-gradient(top, #1a5da5, #3a8be0);
- background-image: -moz-linear-gradient(top, #1a5da5, #3a8be0);
- background-image: -o-linear-gradient(top, #1a5da5, #3a8be0);
- background-image: linear-gradient(to bottom, #1a5da5, #3a8be0);
- }
- .button:active:before {
- top: -50%;
- bottom: -125%;
- left: -15%;
- right: -15%;
- -webkit-box-shadow: inset 0 0 96px rgba(0, 0, 0, 0.2);
- box-shadow: inset 0 0 96px rgba(0, 0, 0, 0.2);
- }
- .button-green {
- text-shadow: 0 1px #0d4d09;
- background-color: #1ca913;
- border-color: #147b0e #11640b #11640b;
- }
- .button-green:hover {
- background-color: #159b0d;
- }
- .button-green:active {
- text-shadow: 0 -1px #0d4d09;
- background: #189210;
- border-color: #093606 #0d4d09 #147b0e;
- background-image: -webkit-linear-gradient(top, #126d0c, #20c016);
- background-image: -moz-linear-gradient(top, #126d0c, #20c016);
- background-image: -o-linear-gradient(top, #126d0c, #20c016);
- background-image: linear-gradient(to bottom, #126d0c, #20c016);
- }
- .button-red {
- text-shadow: 0 1px #72100d;
- background-color: #cd1d18;
- border-color: #9f1713 #891310 #891310;
- }
- .button-red:hover {
- background-color: #c01511;
- }
- .button-red:active {
- text-shadow: 0 -1px #72100d;
- background: #b61a15;
- border-color: #5b0d0b #72100d #9f1713;
- background-image: -webkit-linear-gradient(top, #921511, #e4201b);
- background-image: -moz-linear-gradient(top, #921511, #e4201b);
- background-image: -o-linear-gradient(top, #921511, #e4201b);
- background-image: linear-gradient(to bottom, #921511, #e4201b);
- }
- .button-yellow {
- text-shadow: 0 1px #706c0d;
- background-color: #ece662;
- border-color: #9f9913 #898410 #bfc011;
- }
- .button-yellow:hover {
- background-color: #c0b911;
- }
- .button-yellow:active {
- text-shadow: 0 -1px #706c0d;
- background-color: #ffff00;
- border-color: #9f9913 #898410 #bfc011;
- background-image: -webkit-linear-gradient(top, #9f9913 #898410);
- background-image: -moz-linear-gradient(top, #9f9913 #898410);
- background-image: -o-linear-gradient(top, #9f9913 #898410);
- background-image: linear-gradient(to bottom, #9f9913 #898410);
- }
- .button-semafor{
- background: rgb(255,183,107);
- background: -moz-linear-gradient(top, rgba(255,183,107,1) 0%, rgba(255,167,61,1) 50%, rgba(255,124,0,1) 51%, rgba(255,127,4,1) 100%);
- background: -webkit-linear-gradient(top, rgba(255,183,107,1) 0%,rgba(255,167,61,1) 50%,rgba(255,124,0,1) 51%,rgba(255,127,4,1) 100%);
- background: linear-gradient(to bottom, rgba(255,183,107,1) 0%,rgba(255,167,61,1) 50%,rgba(255,124,0,1) 51%,rgba(255,127,4,1) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb76b', endColorstr='#ff7f04',GradientType=0 );
- }
- .button-semafor:hover{
- background: rgb(255,168,76);
- background: -moz-linear-gradient(top, rgba(255,168,76,1) 0%, rgba(255,123,13,1) 100%);
- background: -webkit-linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%);
- background: linear-gradient(to bottom, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa84c', endColorstr='#ff7b0d',GradientType=0 );
- }
- .button-upalisve{
- background: rgb(216,224,222);
- background: -moz-linear-gradient(top, rgba(216,224,222,1) 0%, rgba(174,191,188,1) 22%, rgba(153,175,171,1) 33%, rgba(142,166,162,1) 50%, rgba(130,157,152,1) 67%, rgba(78,92,90,1) 82%, rgba(14,14,14,1) 100%);
- background: -webkit-linear-gradient(top, rgba(216,224,222,1) 0%,rgba(174,191,188,1) 22%,rgba(153,175,171,1) 33%,rgba(142,166,162,1) 50%,rgba(130,157,152,1) 67%,rgba(78,92,90,1) 82%,rgba(14,14,14,1) 100%);
- background: linear-gradient(to bottom, rgba(216,224,222,1) 0%,rgba(174,191,188,1) 22%,rgba(153,175,171,1) 33%,rgba(142,166,162,1) 50%,rgba(130,157,152,1) 67%,rgba(78,92,90,1) 82%,rgba(14,14,14,1) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8e0de', endColorstr='#0e0e0e',GradientType=0 );
- }
- .button-upalisve:hover{
- background: rgb(206,220,231);
- background: -moz-linear-gradient(top, rgba(206,220,231,1) 0%, rgba(89,106,114,1) 100%);
- background: -webkit-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%);
- background: linear-gradient(to bottom, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7', endColorstr='#596a72',GradientType=0 );
- }
- #desno{
- float: right;
- }
- #levo{
- float: left;
- }
- #veliki{
- text-align: center;
- margin: auto;
- }
- </style>
- </head>
- <div id="veliki">
- <div id="levo">
- <form action="/upalicrveno">
- <input class="button button-red" type="submit" value="" >
- </form>
- <form action="/upalizuto">
- <input class="button button-yellow" type="submit" value="">
- </form>
- <form action="/upalizeleno">
- <input class="button button-green" type="submit" value="">
- </form>
- </div>
- <div id="desno">
- <form action="/upalisve">
- <input class="button button-upalisve" type="submit" value="">
- </form>
- <form action="/ugasisve">
- <input class="button button-ugasisve" type="submit" value="">
- </form>
- <form action="/upali">
- <input class="button button-semafor" type="submit" value="">
- </form>
- <form action="/ugasi">
- <input class="button button-semafor" type="submit" value="">
- </form>
- </div>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment