signal-desktop/stylesheets/_debugLog.scss

97 lines
2.1 KiB
SCSS
Raw Normal View History

.debug-log {
&.modal {
padding: 50px;
.content {
margin: 0;
max-width: 100%;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
textarea {
flex-grow: 1;
width: 100%;
resize: none;
min-height: 100px;
font-family: Monaco, Consolas, 'Courier New', Courier, monospace;
font-size: 12px;
2019-10-04 18:06:17 +00:00
@include dark-theme {
background-color: $color-gray-90;
border: 1px solid $color-gray-45;
color: $color-gray-02;
}
}
}
}
.result {
$link-max-width: 400px;
$open-width: 100px;
$open-height: 36px;
text-align: center;
$group-max-width: $link-max-width + $open-width;
.input-group {
display: inline-block;
width: 100%;
max-width: $group-max-width;
}
$open-pad-x: ($open-width - 40px) / 2;
2019-10-04 18:06:17 +00:00
$open-pad-y: ($open-height - 22px) / 2;
.copy {
float: left;
display: inline-block;
width: $open-width;
height: $open-height;
padding: $open-pad-y $open-pad-x;
color: unset;
text-decoration: none;
cursor: pointer;
2019-10-04 18:06:17 +00:00
border-radius: 0 5px 5px 0;
@include light-theme {
border: solid 1px $color-gray-25;
background: $color-gray-02;
&:active {
background: $color-gray-25;
}
2019-10-04 18:06:17 +00:00
}
@include dark-theme {
border: solid 1px $color-gray-45;
background-color: $color-gray-90;
color: $color-gray-02;
&:active {
background: $color-gray-25;
2019-10-04 18:06:17 +00:00
}
}
}
.link {
2019-10-04 18:06:17 +00:00
border-radius: 5px 0 0 5px;
float: left;
width: calc(100% - #{$open-width});
max-width: $link-max-width;
height: $open-height;
padding: 0 10px;
outline-offset: -4px;
2019-10-04 18:06:17 +00:00
@include light-theme {
border: solid 1px $color-gray-25;
border-right: none;
}
@include dark-theme {
color: $color-gray-02;
border: solid 1px $color-gray-45;
border-right: none;
background-color: $color-gray-90;
}
}
}
}