Advertisement
Guest User

Untitled

a guest
Jul 19th, 2022
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.18 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en-IN">
  3. <head>
  4. <meta charset="utf-8">
  5. <title></title>
  6. <link href='http://fonts.googleapis.com/css?family=Ropa+Sans' rel='stylesheet'>
  7. <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel='stylesheet'>
  8. <style>
  9. body {
  10. font-family: 'Ropa Sans', sans-serif;
  11. color: #666;
  12. font-size: 14px;
  13. color: #333
  14. }
  15.  
  16. li, ul, body, input {
  17. margin: 0;
  18. padding: 0;
  19. list-style: none
  20. }
  21.  
  22. #login-form {
  23. width: 350px;
  24. background: #FFF;
  25. margin: 0 auto;
  26. margin-top: 70px;
  27. background: #BEBEBE;
  28. overflow: hidden;
  29. border-radius: 7px
  30. }
  31.  
  32. .form-header {
  33. display: table;
  34. clear: both
  35. }
  36.  
  37. .form-header label {
  38. display: block;
  39. cursor: pointer;
  40. z-index: 999
  41. }
  42.  
  43. .form-header li {
  44. margin: 0;
  45. line-height: 60px;
  46. width: 175px;
  47. text-align: center;
  48. background: #eee;
  49. font-size: 18px;
  50. float: left;
  51. transition: all 600ms ease
  52. }
  53.  
  54. /*sectiop*/
  55. .section-out {
  56. width: 700px;
  57. float: left;
  58. transition: all 600ms ease
  59. }
  60.  
  61. .section-out:after {
  62. content: '';
  63. clear: both;
  64. display: table
  65. }
  66.  
  67. .section-out section {
  68. width: 350px;
  69. float: left
  70. }
  71.  
  72. .login {
  73. padding: 20px
  74. }
  75.  
  76. .ul-list {
  77. clear: both;
  78. display: table;
  79. width: 100%
  80. }
  81.  
  82. .ul-list:after {
  83. content: '';
  84. clear: both;
  85. display: table
  86. }
  87.  
  88. .ul-list li {
  89. margin: 0 auto;
  90. margin-bottom: 12px
  91. }
  92.  
  93. .input {
  94. background: #fff;
  95. transition: all 800ms;
  96. width: 247px;
  97. border-radius: 3px 0 0 3px;
  98. font-family: 'Ropa Sans', sans-serif;
  99. border: solid 1px #ccc;
  100. border-right: none;
  101. outline: none;
  102. color: #999;
  103. height: 40px;
  104. line-height: 40px;
  105. display: inline-block;
  106. padding-left: 10px;
  107. font-size: 16px
  108. }
  109.  
  110. .input, .login span.icon {
  111. vertical-align: top
  112. }
  113.  
  114. .login span.icon {
  115. width: 50px;
  116. transition: all 800ms;
  117. text-align: center;
  118. color: #999;
  119. height: 40px;
  120. border-radius: 0 3px 3px 0;
  121. background: #FFFF00;
  122. height: 40px;
  123. line-height: 40px;
  124. display: inline-block;
  125. border: solid 1px #ccc;
  126. border-left: none;
  127. font-size: 16px
  128. }
  129.  
  130. .input:focus:invalid {
  131. border-color: red
  132. }
  133.  
  134. .input:focus:invalid + .icon {
  135. border-color: red
  136. }
  137.  
  138. .input:focus:valid {
  139. border-color: green
  140. }
  141.  
  142. .input:focus:valid + .icon {
  143. border-color: green
  144. }
  145.  
  146. #check, #check1 {
  147. top: 1px;
  148. position: relative
  149. }
  150.  
  151. .btn {
  152. border: none;
  153. outline: none;
  154. background: #0099CC;
  155. border-bottom: solid 4px #006699;
  156. font-family: 'Ropa Sans', sans-serif;
  157. margin: 0 auto;
  158. display: block;
  159. height: 40px;
  160. width: 100%;
  161. padding: 0 10px;
  162. border-radius: 3px;
  163. font-size: 16px;
  164. color: #FFF
  165. }
  166.  
  167. .social-login {
  168. padding: 15px 20px;
  169. background: #f1f1f1;
  170. border-top: solid 2px #e8e8e8;
  171. text-align: right
  172. }
  173.  
  174. .social-login a {
  175. display: inline-block;
  176. height: 35px;
  177. text-align: center;
  178. line-height: 35px;
  179. width: 35px;
  180. margin: 0 3px;
  181. text-decoration: none;
  182. color: #FFFFFF
  183. }
  184.  
  185. .form a i.fa {
  186. line-height: 35px
  187. }
  188.  
  189. .fb {
  190. background: #305891
  191. }
  192.  
  193. .tw {
  194. background: #2ca8d2
  195. }
  196.  
  197. .gp {
  198. background: #ce4d39
  199. }
  200.  
  201. .in {
  202. background: #006699
  203. }
  204.  
  205. .remember {
  206. width: 50%;
  207. display: inline-block;
  208. clear: both;
  209. font-size: 14px
  210. }
  211.  
  212. .remember:nth-child(2) {
  213. text-align: right
  214. }
  215.  
  216. .remember a {
  217. text-decoration: none;
  218. color: #666
  219. }
  220.  
  221. .hide {
  222. display: none
  223. }
  224.  
  225. /*swich form*/
  226. #signup:checked ~ .section-out {
  227. margin-left: -350px
  228. }
  229.  
  230. #login:checked ~ .section-out {
  231. margin-left: 0px
  232. }
  233.  
  234. #login:checked ~ div .form-header li:nth-child(1), #signup:checked ~ div .form-header li:nth-child(2) {
  235. background: #e8e8e8
  236. }
  237. </style>
  238. </head>
  239. <body>
  240. <div id="login-form">
  241.  
  242. <input type="radio" checked id="login" name="switch" class="hide">
  243. <input type="radio" id="signup" name="switch" class="hide">
  244.  
  245. <div>
  246. <ul class="form-header">
  247. </ul>
  248. </div>
  249.  
  250. <div class="section-out">
  251. <section class="login-section">
  252. <div class="login">
  253. <form action="">
  254. <ul class="ul-list">
  255. <li><input type="text" required class="input" placeholder="Server Admin" /><span class="icon"><i class="fa fa-user"></i></span></li>
  256. <li><input type="password" required class="input" placeholder="Server Password" /><span class="icon"><i class="fa fa-lock"></i></span></li>
  257. <li><span class="remember"><input type="checkbox" id="check"> <label for="check">An mich erinnern</label></span><span class="remember"><a href=""></a></span></li>
  258. <li><input type="submit" onclick="location.href = './dashboard.html'" value="ANMELDEN" class="btn"></li>
  259. </ul>
  260. </form>
  261. </div>
  262. </section>
  263.  
  264. <section class="signup-section">
  265. <div class="login">
  266. <form action="">
  267. <ul>
  268. </ul>
  269. </form>
  270. </div>
  271.  
  272. <div>
  273. </div>
  274. </section>
  275. </div>
  276.  
  277. </div>
  278.  
  279. </body>
  280. </html>
  281.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement