Loikkaa: valikkoon, hakuun

Ero sivun ”Järjestelmäviesti:Vector.css” versioiden välillä

Share/Save/Bookmark
Rivi 5: Rivi 5:
 
   0%, 100% {
 
   0%, 100% {
 
     opacity: 1;
 
     opacity: 1;
 +
background-color: #fff;
 
   }
 
   }
 
   50% {
 
   50% {
     opacity: 0.3;
+
     opacity: 0.4;
 +
background-color: #9dc94e;
 
   }
 
   }
 
}
 
}
Rivi 15: Rivi 17:
 
   0%, 100% {
 
   0%, 100% {
 
     opacity: 1;
 
     opacity: 1;
 +
background-color: #fff;
 
   }
 
   }
 
   50% {
 
   50% {
     opacity: 0.3;
+
     opacity: 0.4;
 +
background-color: #9dc94e;
 
   }
 
   }
 
}
 
}
Rivi 25: Rivi 29:
 
   0%, 100% {
 
   0%, 100% {
 
     opacity: 1;
 
     opacity: 1;
 +
background-color: #fff;
 
   }
 
   }
 
   50% {
 
   50% {
     opacity: 0.3;
+
     opacity: 0.4;
 +
background-color: #9dc94e;
 
   }
 
   }
 
}
 
}
Rivi 33: Rivi 39:
 
@-webkit-keyframes searchEffect
 
@-webkit-keyframes searchEffect
 
{
 
{
  0%, 100% {
+
    0%, 100% {
 
     opacity: 1;
 
     opacity: 1;
 +
background-color: #fff;
 
   }
 
   }
 
   50% {
 
   50% {
     opacity: 0.3;
+
     opacity: 0.4;
 +
background-color: #9dc94e;
 
   }
 
   }
 
}
 
}

Versio 24. huhtikuuta 2014 kello 05.52

/* Tämä sivu sisältää Vector-ulkoasua muuttavia tyylejä. */

@keyframes searchEffect
{
  0%, 100% {
    opacity: 1;
background-color: #fff;
  }
  50% {
    opacity: 0.4;
background-color: #9dc94e;
  }
}

@-o-keyframes searchEffect
{
  0%, 100% {
    opacity: 1;
background-color: #fff;
  }
  50% {
    opacity: 0.4;
background-color: #9dc94e;
  }
}

@-moz-keyframes searchEffect
{
  0%, 100% {
    opacity: 1;
background-color: #fff;
  }
  50% {
    opacity: 0.4;
background-color: #9dc94e;
  }
}

@-webkit-keyframes searchEffect
{
    0%, 100% {
    opacity: 1;
background-color: #fff;
  }
  50% {
    opacity: 0.4;
background-color: #9dc94e;
  }
}

input#searchInput
{
-webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
font-weight: bold;
-webkit-animation: searchEffect 5s infinite; /* Safari 4+ */
  -moz-animation:    searchEffect 5s infinite; /* Fx 5+ */
  -o-animation:      searchEffect 5s infinite; /* Opera 12+ */
  animation:         searchEffect 5s infinite;
}

input#searchInput:hover, input#searchInput:focus
{
opacity: 1;
-webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.5);
}