2016-07-17 23:06:43 +00:00
|
|
|
.preview-console {
|
2016-09-14 16:53:25 +00:00
|
|
|
@include themify() {
|
|
|
|
background: getThemifyVariable('console-background-color');
|
2016-09-21 22:52:44 +00:00
|
|
|
border-color: getThemifyVariable('ide-border-color');
|
2016-09-14 16:53:25 +00:00
|
|
|
}
|
2016-09-21 22:52:44 +00:00
|
|
|
border-left: 1px solid;
|
|
|
|
border-right: 1px solid;
|
2016-07-21 04:05:47 +00:00
|
|
|
width: 100%;
|
2016-08-11 19:41:13 +00:00
|
|
|
height: 100%;
|
2016-07-21 04:05:47 +00:00
|
|
|
z-index: 1000;
|
|
|
|
overflow: hidden;
|
2016-08-27 23:22:41 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-07-17 23:06:43 +00:00
|
|
|
|
|
|
|
& > {
|
|
|
|
position:relative;
|
|
|
|
text-align:left;
|
|
|
|
}
|
2016-07-18 00:49:38 +00:00
|
|
|
|
2018-07-30 16:20:57 +00:00
|
|
|
.preview-console__message {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('console-color');
|
2016-09-14 16:53:25 +00:00
|
|
|
}
|
2016-08-27 23:22:41 +00:00
|
|
|
flex: 1 0 auto;
|
2018-07-30 16:20:57 +00:00
|
|
|
position: relative;
|
2016-07-18 00:49:38 +00:00
|
|
|
}
|
2016-07-21 04:05:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__header {
|
2016-09-14 16:53:25 +00:00
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('console-header-background-color');
|
2016-09-22 03:39:50 +00:00
|
|
|
color: getThemifyVariable('console-header-color');
|
2016-09-14 16:53:25 +00:00
|
|
|
}
|
2016-10-08 21:59:18 +00:00
|
|
|
min-height: #{30 / $base-font-size}rem;
|
2016-07-21 04:33:41 +00:00
|
|
|
padding: #{5 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2017-01-11 19:13:49 +00:00
|
|
|
align-items: center;
|
2016-07-21 04:33:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__header-title {
|
2016-12-19 22:07:04 +00:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
2016-07-21 04:05:47 +00:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2016-12-19 22:07:04 +00:00
|
|
|
.preview-console__icon {
|
|
|
|
padding-right: #{20 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2016-07-21 04:05:47 +00:00
|
|
|
.preview-console__messages {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: auto;
|
2016-07-21 04:33:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__collapse {
|
2017-01-11 19:13:49 +00:00
|
|
|
padding-top: #{3 / $base-font-size}rem;
|
2017-06-26 21:46:47 +00:00
|
|
|
@include icon();
|
2016-09-13 21:05:42 +00:00
|
|
|
.preview-console--collapsed & {
|
|
|
|
display: none;
|
2016-07-21 04:33:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__expand {
|
2017-01-11 19:13:49 +00:00
|
|
|
padding-top: #{3 / $base-font-size}rem;
|
2017-06-26 21:46:47 +00:00
|
|
|
@include icon();
|
2016-09-13 21:05:42 +00:00
|
|
|
display: none;
|
|
|
|
.preview-console--collapsed & {
|
|
|
|
display: inline-block;
|
2016-07-21 04:33:41 +00:00
|
|
|
}
|
2016-08-01 01:38:46 +00:00
|
|
|
}
|
2017-01-11 19:13:49 +00:00
|
|
|
|
|
|
|
.preview-console__header-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__clear {
|
2017-02-22 19:29:35 +00:00
|
|
|
@include themify() {
|
|
|
|
@extend %link;
|
|
|
|
}
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
2017-01-11 19:13:49 +00:00
|
|
|
padding-right: #{10 / $base-font-size}rem;
|
|
|
|
.preview-console--collapsed & {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-07-30 16:20:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__logged-times {
|
|
|
|
font-size: #{10 / $base-font-size}rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: #{2 / $base-font-size}rem 0 0 #{8 / $base-font-size}rem;
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: #{1 / $base-font-size}rem #{4 / $base-font-size}rem;
|
|
|
|
z-index: 100;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
.preview-console__message--info &, .preview-console__message--log & {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('console-info-background-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.preview-console__message--warn & {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('console-warn-background-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.preview-console__message--debug & {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('console-debug-background-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.preview-console__message--error & {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('console-error-background-color');
|
|
|
|
}
|
|
|
|
}
|
2017-01-11 19:13:49 +00:00
|
|
|
}
|