openreplay/frontend/app/components/Client/Projects/projectCodeSnippet.module.css
2025-01-14 12:48:11 +01:00

100 lines
No EOL
1.5 KiB
CSS

@import 'zindex.css';
.modalHeader {
display: flex !important;
align-items: center;
}
.content {
background-color: white !important;
}
.highLight {
background-color: rgba(204, 0, 0, 0.05);
color: $red;
padding: 2px 5px;
border-radius: 3px;
}
.snippetsWrapper {
position: relative;
& .codeCopy {
position: absolute;
right: 10px;
top: 10px;
z-index: $codeSnippet;
padding: 5px 10px;
color: $teal;
text-transform: uppercase;
cursor: pointer;
border-radius: 3px;
transition: all 0.4s;
user-select: none;
&:hover {
background-color: $gray-light;
transition: all 0.2s;
}
}
& .snippet {
overflow: hidden;
line-height: 18px;
border-radius: 5px;
user-select: none;
& > div {
background-color: $gray-lightest !important;
}
}
}
.siteInfo {
display: flex;
align-items: center;
margin-bottom: 10px;
& span {
color: $teal;
}
}
.instructions {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.closeButton {
margin-left: auto;
cursor: pointer;
padding: 5px;
}
.siteId {
font-weight: 500;
& span {
background: #f6f6f6;
border-radius: 3px;
padding: 2px 7px;
font-weight: normal;
margin-left: 4px;
border: solid thin #eee;
}
}
.info {
padding: 5px 10px;
}
.number {
width: 24px;
height: 24px;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
color: white;
font-size: 12px;
margin-right: 10px;
}