mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
54 lines
954 B
CSS
54 lines
954 B
CSS
.container {
|
|
border-radius: 3px;
|
|
padding: 15px 10px;
|
|
box-sizing: border-box;
|
|
box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.3);
|
|
border: solid 1px #999;
|
|
width: auto;
|
|
margin: 0 auto;
|
|
left: 0;
|
|
margin: 0 5px;
|
|
|
|
&:before {
|
|
box-shadow: 1px 3px 28px 48px rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
input {
|
|
display: inline-block;
|
|
width: calc(100% - 78px);
|
|
padding: 8px;
|
|
border-radius: 3px;
|
|
border: solid 1px #e0e0e0;
|
|
height: 32px;
|
|
box-sizing: border-box;
|
|
font-size: 1em;
|
|
}
|
|
|
|
button {
|
|
display: inline-block;
|
|
float: right;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
background-color: #e0e0e0;
|
|
font-size: 1em;
|
|
width: auto;
|
|
height: auto;
|
|
padding: 2px;
|
|
transition: background-color 0.4s ease;
|
|
|
|
&:hover{
|
|
color: black;
|
|
}
|
|
|
|
&.success {
|
|
background-color: #00897B;
|
|
color: white;
|
|
}
|
|
|
|
&.failure {
|
|
background-color: #FF5252;
|
|
color: white;
|
|
}
|
|
}
|
|
}
|