2019-12-18 21:25:03 +00:00
|
|
|
/* Looking Glass */
|
|
|
|
|
|
|
|
// Dialog
|
|
|
|
#LookingGlassDialog {
|
2022-11-03 15:28:24 +00:00
|
|
|
background-color: transparentize($bg_color,0.05);
|
2022-01-17 16:44:25 +00:00
|
|
|
border-radius: 0 0 $modal_radius $modal_radius;
|
2022-11-03 15:28:24 +00:00
|
|
|
border: 1px solid $outer_borders_color;
|
2021-12-28 13:46:54 +00:00
|
|
|
border-top-width: 0;
|
2022-11-03 15:28:24 +00:00
|
|
|
color: $fg_color;
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $base_padding;
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
2022-04-26 18:19:41 +00:00
|
|
|
box-shadow: 0 2px 4px 0 $shadow_color;
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2022-11-03 15:28:24 +00:00
|
|
|
@if $is_highcontrast {
|
|
|
|
border: 2px solid $hc_inset_color;
|
|
|
|
background-color: $bg_color;
|
|
|
|
border-top-width: 0;
|
|
|
|
box-shadow:none;
|
|
|
|
}
|
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
& > #Toolbar {
|
|
|
|
border: none;
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $base_padding;
|
|
|
|
border-radius: 0;
|
|
|
|
background-color: transparent;
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
2022-02-04 14:31:13 +00:00
|
|
|
|
|
|
|
.lg-toolbar-button {
|
|
|
|
padding: $base_padding $base_padding*2;
|
|
|
|
@extend %button;
|
|
|
|
|
|
|
|
& > StIcon { icon-size: $base_icon_size; }
|
|
|
|
}
|
2021-12-28 13:46:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.labels {
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
.notebook-tab {
|
2021-12-28 13:46:54 +00:00
|
|
|
-natural-hpadding: $base_padding*2;
|
|
|
|
-minimum-hpadding: $base_padding*2;
|
2022-11-03 15:28:24 +00:00
|
|
|
@extend %button;
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $base_padding $base_padding*2;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2021-12-28 13:46:54 +00:00
|
|
|
|
2022-02-07 18:22:40 +00:00
|
|
|
StBoxLayout#EvalBox { padding: 4px; spacing: $base_padding; padding: $base_padding; }
|
|
|
|
StBoxLayout#ResultsArea { spacing: $base_padding; padding: $base_padding; }
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-dialog {
|
2021-12-28 13:46:54 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
StEntry {
|
2020-02-19 09:36:23 +00:00
|
|
|
min-height: 22px;
|
2022-11-03 15:28:24 +00:00
|
|
|
@extend %entry;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2021-12-28 13:46:54 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
.shell-link {
|
2020-02-19 09:36:23 +00:00
|
|
|
color: $link_color;
|
|
|
|
&:hover { color: lighten($link_color, 10%); }
|
|
|
|
&:active { color: darken($link_color, 10%); }
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2021-12-28 13:46:54 +00:00
|
|
|
|
2020-05-31 20:31:48 +00:00
|
|
|
.actor-link {
|
2021-12-28 13:46:54 +00:00
|
|
|
color: $insensitive_fg_color;
|
|
|
|
&:hover { color: lighten($insensitive_fg_color, 20%); }
|
|
|
|
&:active { color: darken($insensitive_fg_color, 20%); }
|
2022-03-21 15:44:24 +00:00
|
|
|
|
|
|
|
& StIcon { icon-size: 12px; }
|
2020-05-31 20:31:48 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-completions-text {
|
2022-02-07 18:22:40 +00:00
|
|
|
@extend %caption;
|
2021-12-28 13:46:54 +00:00
|
|
|
font-style: italic;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-obj-inspector-title {
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-obj-inspector-button {
|
2022-11-03 15:28:24 +00:00
|
|
|
border: 1px solid $borders_color;
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: 4px;
|
|
|
|
border-radius: $base_border_radius;
|
2022-11-03 15:28:24 +00:00
|
|
|
&:hover { border: 1px solid $fg_color; }
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Extensions
|
2021-12-28 13:46:54 +00:00
|
|
|
#lookingGlassExtensions { padding: $base_padding; }
|
2019-12-18 21:25:03 +00:00
|
|
|
|
|
|
|
.lg-extensions-list {
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $base_padding;
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-extension {
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $base_padding*2;
|
2022-02-02 18:17:42 +00:00
|
|
|
@include card;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-extension-name {
|
2022-02-07 18:22:40 +00:00
|
|
|
@extend %heading;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-extension-meta {
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Inspector
|
|
|
|
#LookingGlassPropertyInspector {
|
2022-11-03 15:28:24 +00:00
|
|
|
background: $bg_color;
|
|
|
|
border: 1px solid $borders_color;
|
2019-12-19 15:38:27 +00:00
|
|
|
border-radius: $base_border_radius;
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $base_padding;
|
2021-09-29 18:09:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-debug-flag-button {
|
2022-02-07 18:22:40 +00:00
|
|
|
StLabel { padding: $base_padding, 2 * $base_padding; }
|
2021-09-29 18:09:19 +00:00
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
color: $fg_color;
|
|
|
|
&:hover { color: lighten($fg_color, 20%); }
|
|
|
|
&:active { color: darken($fg_color, 20%); }
|
2021-09-29 18:09:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lg-debug-flags-header {
|
2022-02-07 18:22:40 +00:00
|
|
|
padding-top: 2 * $base_padding;
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $base_padding;
|
2022-02-07 18:22:40 +00:00
|
|
|
@extend %title_2;
|
2022-02-02 18:17:42 +00:00
|
|
|
}
|