mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
646 B
36 lines
646 B
@import '_mixins';
|
|
@import '_vars';
|
|
|
|
.code {
|
|
background: $color-code-background;
|
|
margin: .25rem 0;
|
|
padding-left: .5rem;
|
|
padding-right: 3rem;
|
|
}
|
|
|
|
.code,
|
|
.code-copy {
|
|
font-size: .8rem;
|
|
min-height: 27px;
|
|
padding-bottom: .25rem;
|
|
padding-top: .25rem;
|
|
}
|
|
|
|
.copy-container {
|
|
position: relative;
|
|
}
|
|
|
|
.code-copy {
|
|
& {
|
|
@include absolute(0, 0, auto, auto);
|
|
background: darken($color-border-dark, 30%);
|
|
border: 0;
|
|
color: $color-dark-foreground;
|
|
padding-left: .375rem;
|
|
padding-right: .375rem;
|
|
}
|
|
|
|
&:focus {
|
|
background: darken($color-border-dark, 40%);
|
|
}
|
|
}
|