Guest User

Untitled

a guest
Jun 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. /*
  2. CSS Projeto Automacao Residencial
  3. FILIPEFLOP Componentes Eletronicos
  4. */
  5.  
  6. root {
  7. display: block;
  8. }
  9.  
  10. body {
  11. margin: 0;
  12. padding: 0;
  13. }
  14.  
  15. #wrapper {
  16. padding-top: 40px;
  17. position: relative;
  18. width: 530px;
  19. height: 600px;
  20. margin-right: auto;
  21. margin-top: 0;
  22. margin-left: auto;
  23. font-size: 30px;
  24. color: black;
  25. text-align: center;
  26. font-family: arial;
  27. }
  28.  
  29. div.rele1_ligado {
  30. position: absolute;
  31. right: -110px;
  32. top: 220px;
  33. width: 300px;
  34. height: 206px;
  35. border: none;
  36. margin:auto;
  37. background: url(lampada_ligada.png) no-repeat left top;
  38. }
  39.  
  40. div.rele1_desligado {
  41. position: absolute;
  42. right: -110px;
  43. top: 220px;
  44. width: 300px;
  45. height: 206px;
  46. border: none;
  47. background: url(lampada_desligada.png) no-repeat left top;
  48. }
  49.  
  50. div.rele2_ligado {
  51. position: absolute;
  52. right: -110px;
  53. top: 387px;
  54. width: 300px;
  55. height: 206px;
  56. border: none;
  57. background: url(lampada_ligada.png) no-repeat left top;
  58. }
  59.  
  60. div.rele2_desligado {
  61. position: absolute;
  62. right: -110px;
  63. top: 387px;
  64. width: 300px;
  65. height: 206px;
  66. border: none;
  67. background: url(lampada_desligada.png) no-repeat left top;
  68. }
  69.  
  70. #div1 {
  71. position: absolute;
  72. right: 85px;
  73. top: 195px;
  74. border-radius: 25px;
  75. border: 2px solid #000000;
  76. width: 350px;
  77. height: 150px;
  78. }
  79.  
  80. #div2 {
  81. position: absolute;
  82. right: 85px;
  83. top: 355px;
  84. border-radius: 25px;
  85. border: 2px solid #000000;
  86. width: 350px;
  87. height: 150px;
  88. }
  89.  
  90. #botao{
  91. position: absolute;
  92. right: 230px;
  93. top: 250px;
  94. width: 200px;
  95. height: 256px;
  96. }
  97.  
  98. .botao {
  99. -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
  100. -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
  101. box-shadow:inset 0px 0px 0px 0px #ffffff;
  102. background:-webkit-gradient( linear, left top, left bottom, color-stop(0.1, #16ADFF), color-stop(1, #26A8FF) );
  103. background:-moz-linear-gradient( center top, #16ADFF 5%, #26A8FF 100% );
  104. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#16ADFF', endColorstr='#26A8FF');
  105. background-color:#ededed;
  106. -moz-border-radius:6px;
  107. -webkit-border-radius:6px;
  108. border-radius:6px;
  109. border:1px solid #dcdcdc;
  110. display:inline-block;
  111. color:#ffffff;
  112. font-family:arial;
  113. font-size:28px;
  114. font-weight:bold;
  115. padding:10px 40px;
  116. text-decoration:none;
  117. text-shadow:0px 0px 0px #ffffff;
  118. width: 100px;
  119. text-align: center;
  120. }
  121.  
  122. }.botao:active {
  123. position:relative;
  124. top:1px;
  125. }
  126.  
  127. #botao_2{
  128. position: absolute;
  129. right: 230px;
  130. top: 417px;
  131. width: 200px;
  132. height: 256px;
  133. }
  134.  
  135. .botao_2 {
  136. -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
  137. -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
  138. box-shadow:inset 0px 0px 0px 0px #ffffff;
  139. background:-webkit-gradient( linear, left top, left bottom, color-stop(0.1, #16ADFF), color-stop(1, #26A8FF) );
  140. background:-moz-linear-gradient( center top, #16ADFF 5%, #26A8FF 100% );
  141. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#16ADFF', endColorstr='#26A8FF');
  142. background-color:#ededed;
  143. -moz-border-radius:6px;
  144. -webkit-border-radius:6px;
  145. border-radius:6px;
  146. border:1px solid #dcdcdc;
  147. display:inline-block;
  148. color:#ffffff;
  149. font-family:arial;
  150. font-size:28px;
  151. font-weight:bold;
  152. padding:10px 40px;
  153. text-decoration:none;
  154. text-shadow:0px 0px 0px #ffffff;
  155. width: 100px;
  156. text-align: center;
  157. }
  158.  
  159. }.botao_2:active {
  160. position:relative;
  161. top:1px;
  162. }
Add Comment
Please, Sign In to add comment