Ignore:
Timestamp:
Jan 16, 2013, 2:15:29 AM (11 years ago)
Author:
mistic100
Message:

impove display, add LiveValidation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/template/style.css

    r17717 r20181  
    11#guestbookAdd {
    22  padding:15px;
    3   width:180px;
     3  width:550px;
    44  margin:10px auto 25px auto;
    5   background: #333333;
    6   background: -moz-linear-gradient(top, #333333 0%, #252525 100%);
    7   background: -webkit-linear-gradient(top, #333333 0%, #252525 100%);
    8   background: -o-linear-gradient(top, #333333 0%, #252525 100%);
    9   background: -ms-linear-gradient(top, #333333 0%, #252525 100%);
    10   background: linear-gradient(top, #333333 0%, #252525 100%);
    115  border-radius:5px;
    126  border:1px solid #555;
    137  box-shadow:5px 5px 5px rgba(0, 0, 0, 0.25);
    14   color:#aaa;
     8  overflow:hidden;
    159}
    1610
     
    1913  cursor:pointer;
    2014  text-align:center;
     15  font-size:13px;
    2116}
    22   #guestbookAdd h4:hover {
    23     color:#fff;
    24   }
     17 
    2518
    26 #guestbookAdd table {
     19.contact table {
    2720  width:100%;
    2821  text-align:left;
    2922}
     23  .contact table td {
     24    width:50%;
     25    text-align:left;
     26  }
     27.contact label {
     28  font-weight:bold;
     29  display:block;
     30}
     31.contact input[type="text"], .contact textarea, .contact select {
     32  border-radius:2px;
     33  padding:3px;
     34}
     35.contact textarea {
     36  width:535px;
     37}
     38.contact input[type="text"] {
     39  width:260px;
     40}
    3041
    31 #addComment {
    32   margin-top:5px;
     42
     43.LV_validation_message{
     44  display:block;
     45  font-weight:bold;
     46  margin:0 0 0 5px;
    3347}
     48.LV_valid {
     49   display:none;
     50}
     51.LV_invalid {
     52  color:#cc0000;
     53}
     54.LV_invalid_field,
     55input.LV_invalid_field:hover,
     56input.LV_invalid_field:active,
     57textarea.LV_invalid_field:hover,
     58textarea.LV_invalid_field:active {
     59  border: 1px solid #cc0000;
     60}
     61
    3462
    3563p.comment_count {
     
    4068}
    4169
    42 #guestbookAdd p, .commentElement p {
     70.commentElement p {
    4371  text-align:left;
    4472  margin-bottom:0.5em;
     
    4775
    4876.commentElement {
    49   padding:0;
     77  padding:0 !important;
    5078  list-style:none;
    5179  text-align:left;
     80  border:1px solid #555;
     81  border-radius:5px;
     82  margin:5px;
     83  overflow:hidden;
    5284}
    5385  .commentElement .description {
    5486    padding:7px !important;
     87    min-height:0;
    5588  }
    5689  .commentHeader  {
    57     background:#444;
     90    background:rgba(127,127,127,0.5);
    5891    margin:-7px;
    5992    margin-bottom:0;
Note: See TracChangeset for help on using the changeset viewer.