Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. .text {
  2. width: 90%;
  3. }
  4.  
  5. .divfloatleft {
  6. float: left;
  7. margin-left: 35%;
  8. width: 15%;
  9. text-align: left;
  10. background: linear-gradient(#036, #0FF);
  11. height: 70%;
  12. margin-top: 6%;
  13. }
  14.  
  15. .divpaginalogin {
  16. height: 100%;
  17. }
  18.  
  19. .divfloatright {
  20. float: right;
  21. margin-right: 35%;
  22. width: 15%;
  23. text-align: right;
  24. background: linear-gradient(#0FF, #036);
  25. height: 70%;
  26. margin-top: 6%;
  27. }
  28.  
  29. .div-container {
  30. background-image: url(../Images/pellicola.png);
  31. background-repeat: no-repeat;
  32. background-size: 100% 100%;
  33. height: 88%;
  34. overflow: hidden;
  35. }
  36.  
  37. .div-child {
  38. height: 50%;
  39. border: 1px solid;
  40. width: 100%;
  41. position: relative;
  42. }
  43.  
  44. .div-child a {
  45. text-decoration: none;
  46. font-weight: bold;
  47. color: black;
  48. font-family: helvetica, arial, sans-serif;
  49. }
  50.  
  51. .div-child:hover {
  52. background-size: 100% 100%;
  53. }
  54.  
  55. a:hover {
  56. color: #00C;
  57. }
  58.  
  59. .div-login {
  60. background: linear-gradient(#003, #00F);
  61. color: white;
  62. font-family: helvetica, arial, sans-serif;
  63. font-weight: normal;
  64. font-size: 12px;
  65. border-bottom: 1px solid black;
  66. overflow: auto;
  67. }
  68.  
  69. .div-footer {
  70. min-height: 5%;
  71. text-align: center;
  72. color: white;
  73. background: linear-gradient(#00F, #003);
  74. border-top: 1px solid black;
  75. }
  76.  
  77. .table-login {
  78. margin-left: auto;
  79. margin-right: 0px;
  80. }
  81.  
  82. .loginbutton {
  83. color: white;
  84. background-color: #0066ff;
  85. border-radius: 4px;
  86. border-color: black;
  87. border-width: 1px;
  88. box-shadow: 2px 2px 4px 0px #333333;
  89. font-weight: bold;
  90. font-size: 14px;
  91. width: 65px;
  92. cursor: pointer;
  93. }
  94.  
  95. <div class="divpaginalogin">
  96. <div class="div-login">
  97. @using (Html.BeginForm())
  98. {
  99. @Html.ValidationSummary(true)
  100. @Html.AntiForgeryToken()
  101. <table class="table-login">
  102. <tr>
  103. <td>@Html.LabelFor(a => a.Username)</td>
  104. <td>@Html.LabelFor(a => a.Password)</td>
  105. </tr>
  106. <tr>
  107. <td>@Html.TextBoxFor(a => a.Username, new { @class = "text" })</td>
  108. <td>@Html.PasswordFor(a => a.Password, new { @class = "text" })</td>
  109. <td>
  110. <input type="submit" value="Login" class="loginbutton" /></td>
  111. </tr>
  112. <tr>
  113. <td>@Html.ValidationMessageFor(a => a.Password)</td>
  114. <td>@Html.ValidationMessageFor(a => a.Username)</td>
  115. </tr>
  116. </table>
  117. }
  118. </div>
  119. <div class="div-container">
  120. <div class="divfloatleft">
  121. <div class="div-child" onmouseover="Show(this, 'Contatti.png')" onmouseout="Hide(this)">
  122. @Html.ActionLink("Contatti", "Contatti", null, new { @style = "position: absolute; top: 0px; left: 0px;" })
  123. </div>
  124. <div class="div-child" onmouseover="Show(this, 'Mappa.png')" onmouseout="Hide(this)">
  125. @Html.ActionLink("Dove Siamo", "DoveSiamo", null, new { @style = "position: absolute; bottom: 0px; left: 0px;" })
  126. </div>
  127. </div>
  128. <div class="divfloatright">
  129. <div class="div-child" onmouseover="Show(this, 'Informazioni.png')" onmouseout="Hide(this)">
  130. @Html.ActionLink("Informazioni", "Informazioni", null, new { @style = "position: absolute; top: 0px; right: 0px;" })
  131. </div>
  132. <div class="div-child" onmouseover="Show(this, 'Chi-siamo.png')" onmouseout="Hide(this)">
  133. @Html.ActionLink("Chi Siamo", "ChiSiamo", null, new { @style = "position: absolute; bottom: 0px; right: 0px;" })
  134. </div>
  135. </div>
  136. </div>
  137. <div id="footer" class="div-footer">
  138. <p>Videoteca online P.IVA: 00000000000</p>
  139. </div>
  140. </div>
  141.  
  142. * {
  143. margin: 0;
  144. padding: 0;
  145. }
  146.  
  147. html, body {
  148. height: 100%;
  149. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement