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
|
|
|
|
|
|
|
// assign styles to different types of console messages
|
2016-07-18 23:10:42 +00:00
|
|
|
.preview-console__log {
|
2016-09-14 16:53:25 +00:00
|
|
|
@include themify(){
|
|
|
|
color: getThemifyVariable('secondary-text-color');
|
|
|
|
}
|
2016-08-27 23:22:41 +00:00
|
|
|
flex: 1 0 auto;
|
2016-07-18 00:49:38 +00:00
|
|
|
}
|
|
|
|
|
2016-07-18 23:10:42 +00:00
|
|
|
.preview-console__error {
|
|
|
|
color: $console-error-color;
|
2016-08-27 23:22:41 +00:00
|
|
|
flex: 1 0 auto;
|
2016-07-18 00:49:38 +00:00
|
|
|
}
|
|
|
|
|
2016-07-18 23:10:42 +00:00
|
|
|
.preview-console__warn {
|
|
|
|
color: $console-warn-color;
|
2016-08-27 23:22:41 +00:00
|
|
|
flex: 1 0 auto;
|
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-07-21 04:33:41 +00:00
|
|
|
padding: #{5 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__header-title {
|
2016-07-21 04:05:47 +00:00
|
|
|
font-size: #{16 / $base-font-size}rem;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__messages {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: auto;
|
2016-08-27 23:22:41 +00:00
|
|
|
flex: 1 0 0%;
|
2016-07-21 04:05:47 +00:00
|
|
|
|
2016-07-21 04:33:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.preview-console__collapse {
|
2016-09-13 20:42:06 +00:00
|
|
|
@include themify() {
|
|
|
|
@extend %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 {
|
2016-09-13 20:42:06 +00:00
|
|
|
@include themify() {
|
|
|
|
@extend %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
|
|
|
}
|