| Autor | Zpráva | ||
|---|---|---|---|
| pepazdepa Profil |
#1 · Zasláno: 11. 8. 2013, 17:32:44
Dobrý den,
mohu poprosit o pomoc? Snažím se upravit stylesheet pro button, který má být neaktivní. V IE vypadá button OK, ale ve FF se mi do funkce a.zero_button leze barva z a a a.hover. Nejsem programátor, kód jenom upravuju, takže prosím o shovívavost. a, a b {
color: #45738f;
text-decoration: none;
cursor: pointer;
}
a:hover {
color: #ea2e49;
text-decoration: none;
}
a.button, input.button {
cursor: pointer;
color: white;
font-family: 'Oswald', Tahoma, Geneva, sans-serif;
text-transform: uppercase;
font-size: 14px;
background-color: #ea2e49;
transition: all 0.2s ease-in-out;
min-height: 35px;
padding: 0 12px;
margin-right: -10px;
cursor: pointer;
-webkit-appearance: none;
border-radius: 0;
-webkit-font-smoothing: antialiased;
}
a.button {
display: inline-block;
text-decoration: none;
line-height: 2.7;
}
a.zero_button, input.zero_button {
color: #000000;
cursor: default;
font-family: 'Oswald', Tahoma, Geneva, sans-serif;
text-transform: uppercase;
background-color: #dbdbdb;
font-size: 13px;
min-height: 30px;
padding: 0 12px;
border: 0;
margin-right: -10px;
-webkit-appearance: none;
border-radius: 0;
-webkit-font-smoothing: antialiased;
display: inline-block;
text-decoration: none;
}
input.zero_button {
padding: 2px 12px;
}
a.zero_button {
line-height: 2.7;
}
a.zero_button:hover, input.zero_button:hover {
color: #000000;
}
.-moz- a.button{
line-height: 2.6;
}
input.button {
margin: 0;
border: 0;
line-height: 1.6;
padding-bottom: 2px;
}
a.button:hover,
input.button:hover {
background-color: #45738f;
}
.buttons {
border-top: 1px solid #dbdbdb;
overflow: auto;
padding: 10px;
padding-top: 15px;
margin-bottom: 10px;
min-height: 30px;
padding-left: 0;
}
.buttons a b:hover {
color: #ea2e49;
} |
||
|
Časová prodleva: 5 dní
|
|||
| majja01 Profil |
#2 · Zasláno: 16. 8. 2013, 09:34:23
pepazdepa:
zkuste color: #00000!important;
|
||
| pepazdepa Profil |
#3 · Zasláno: 16. 8. 2013, 21:45:44
Super. Děkuju moc!
|
||
|
Časová prodleva: 13 let
|
|||
0