static.styles.css.copy-text.css Maven / Gradle / Ivy
/*
* Copyright 2023 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
.copy-button{
height: 25px;
display: flex;
justify-content: center;
align-items: center;
position: relative
}
.tip{
background-color: #263646;
padding: 0 14px;
line-height: 27px;
position: absolute;
border-radius: 4px;
z-index: 100;color: #fff;font-size: 12px;
animation-name: tip;
animation-duration: .6s;
animation-fill-mode: both
}
.tip:before{content: "";
background-color: #263646;
height: 10px;
width: 10px;
display: block;
position: absolute;
transform: rotate(45deg);
top: -4px;
left: 17px
}
#copied_tip{
animation-name: come_and_leave;
animation-duration: 1s;
animation-fill-mode: both;
bottom: -35px;
left:2px
}
.text-line{
font-size: 14px
}