mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 01:01:01 +08:00
91 lines
1.4 KiB
CSS
91 lines
1.4 KiB
CSS
.popover {
|
|
display: none;
|
|
background-color: white;
|
|
position: absolute;
|
|
border-radius: 3px;
|
|
padding: 15px 10px;
|
|
box-sizing: border-box;
|
|
border: solid 1px rgba(153, 153, 153, 0.33);
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 10;
|
|
}
|
|
.popover::before {
|
|
content: '';
|
|
border: 10px solid transparent;
|
|
border-top-color: white;
|
|
position: absolute;
|
|
right: 7em;
|
|
bottom: -20px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.popover::after{
|
|
content: '';
|
|
border: 10px solid transparent;
|
|
border-top-color: rgba(153, 153, 153, 0.33);
|
|
position: absolute;
|
|
right: 7em;
|
|
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 {
|
|
composes: buttonReset from "coral-framework/styles/reset.css";
|
|
margin: 5px 0px 5px 10px;
|
|
}
|
|
|
|
.copyButton {
|
|
display: inline-block;
|
|
margin: 5px 10px 5px 0px;
|
|
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;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.copyButton:hover{
|
|
color: black;
|
|
}
|
|
|
|
.copyButton.success {
|
|
background-color: #00897B;
|
|
color: white;
|
|
}
|
|
|
|
.copyButton.failure {
|
|
background-color: #FF5252;
|
|
color: white;
|
|
}
|
|
|
|
.container {
|
|
z-index: 2;
|
|
}
|
|
|
|
.active {
|
|
display: block;
|
|
}
|
|
|
|
.icon {
|
|
padding: 0 2px;
|
|
font-size: 12px;
|
|
vertical-align: middle;
|
|
}
|