mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 03:21:58 +08:00
75 lines
1.3 KiB
CSS
75 lines
1.3 KiB
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 rgba(153, 153, 153, 0.33);
|
|
width: auto;
|
|
margin: 0 auto;
|
|
left: 0;
|
|
margin: 0 5px;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
margin: 0;
|
|
margin-top: -13px;
|
|
|
|
&::before {
|
|
content: '';
|
|
border: 10px solid transparent;
|
|
border-top-color: white;
|
|
position: absolute;
|
|
right: 8.69em;
|
|
bottom: -20px;
|
|
z-index: 2;
|
|
}
|
|
|
|
&::after{
|
|
content: '';
|
|
border: 10px solid transparent;
|
|
border-top-color: rgba(153, 153, 153, 0.33);
|
|
position: absolute;
|
|
right: 8.69em;
|
|
bottom: -21px;
|
|
z-index: 1;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|