MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
Linha 580: | Linha 580: | ||
padding: .5rem; | padding: .5rem; | ||
} | } | ||
/*Formulario de boost*/ | |||
.boostCalc__form { | |||
width: 25rem; | |||
margin: 0 auto; | |||
} | |||
.input-group { | |||
position: relative; | |||
margin-top: 2rem; | |||
} | |||
.checkbox-group { | |||
margin-top: .35rem; | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.checkbox-group label { | |||
padding-left: .2rem; | |||
} | |||
.boostCalc__label { | |||
position: absolute; | |||
left: .5rem; | |||
top: 50%; | |||
transform: translate(0%, -50%); | |||
font-size: .985rem; | |||
color: #626262; | |||
pointer-events: none; | |||
transition: all .25s ease; | |||
} | |||
.boostCalc__input, | |||
.boostCalc__select { | |||
position: relative; | |||
width: 100%; | |||
padding: .45rem 1rem; | |||
border: 1px solid #ced4da; | |||
border-radius: 8px; | |||
font-size: 1.15rem; | |||
transition: all .25s ease; | |||
} | |||
.boostCalc__input:focus { | |||
border-color: #80bdff; | |||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25); | |||
outline: 0; | |||
} | |||
.boostCalc__input:focus, | |||
.boostCalc__input:not(:placeholder-shown) { | |||
background: rgba(0, 123, 255, .035); | |||
} | |||
.boostCalc__input:focus+.boostCalc__label, | |||
.boostCalc__input:not(:placeholder-shown)+.boostCalc__label, | |||
.boostCalc__select:focus+.boostCalc__label, | |||
.boostCalc__select:not(:placeholder-shown)+.boostCalc__label { | |||
top: -.7rem; | |||
font-size: .85rem; | |||
} | |||
/*Formulario de boost*/ | |||
@media screen and (max-width: 1450px) { | @media screen and (max-width: 1450px) { |