moved drag handle

pull/14016/head
Torkel Ödegaard 7 years ago
parent c9802c283e
commit b60ebf92b2
  1. 5
      public/sass/_variables.dark.scss
  2. 1
      public/sass/_variables.light.scss
  3. 2
      public/sass/components/_buttons.scss
  4. 29
      public/sass/components/_viz_editor.scss

@ -77,6 +77,7 @@ $brand-gradient: linear-gradient(
rgba(255, 68, 0, 0.7) 99%, rgba(255, 68, 0, 0.7) 99%,
rgba(255, 68, 0, 0.7) 100% rgba(255, 68, 0, 0.7) 100%
); );
$page-gradient: linear-gradient(180deg, #222426 10px, rgb(22, 23, 25) 100px); $page-gradient: linear-gradient(180deg, #222426 10px, rgb(22, 23, 25) 100px);
// Links // Links
@ -110,7 +111,6 @@ $divider-border-color: #555;
// Graphite Target Editor // Graphite Target Editor
$tight-form-bg: $dark-3; $tight-form-bg: $dark-3;
$tight-form-func-bg: #333334; $tight-form-func-bg: #333334;
$tight-form-func-highlight-bg: #444445; $tight-form-func-highlight-bg: #444445;
@ -128,6 +128,7 @@ $list-item-bg: $card-background;
$list-item-hover-bg: lighten($gray-blue, 2%); $list-item-hover-bg: lighten($gray-blue, 2%);
$list-item-link-color: $text-color; $list-item-link-color: $text-color;
$list-item-shadow: $card-shadow; $list-item-shadow: $card-shadow;
$empty-list-cta-bg: $gray-blue; $empty-list-cta-bg: $gray-blue;
// Scrollbars // Scrollbars
@ -152,8 +153,8 @@ $table-bg-hover: $dark-3;
$btn-primary-bg: #ff6600; $btn-primary-bg: #ff6600;
$btn-primary-bg-hl: #bc3e06; $btn-primary-bg-hl: #bc3e06;
$btn-secondary-bg: $blue-dark;
$btn-secondary-bg-hl: lighten($blue-dark, 5%); $btn-secondary-bg-hl: lighten($blue-dark, 5%);
$btn-secondary-bg: $blue-dark;
$btn-success-bg: $green; $btn-success-bg: $green;
$btn-success-bg-hl: darken($green, 6%); $btn-success-bg-hl: darken($green, 6%);

@ -31,6 +31,7 @@ $white: #fff;
// Accent colors // Accent colors
// ------------------------- // -------------------------
$blue: #0083b3; $blue: #0083b3;
$blue-dark: #005f81;
$blue-light: #00a8e6; $blue-light: #00a8e6;
$green: #3aa655; $green: #3aa655;
$red: #d44939; $red: #d44939;

@ -120,8 +120,8 @@
// Info appears as a neutral blue // Info appears as a neutral blue
.btn-secondary { .btn-secondary {
@include buttonBackground($btn-secondary-bg, $btn-secondary-bg-hl); @include buttonBackground($btn-secondary-bg, $btn-secondary-bg-hl);
// Inverse appears as dark gray
} }
// Inverse appears as dark gray
.btn-inverse { .btn-inverse {
@include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl, $btn-inverse-text-color, $btn-inverse-text-shadow); @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl, $btn-inverse-text-color, $btn-inverse-text-shadow);
//background: $card-background; //background: $card-background;

@ -170,26 +170,37 @@
position: absolute; position: absolute;
height: 2px; height: 2px;
width: 100%; width: 100%;
top: 1px; top: -23px;
padding-left: 32px; text-align: center;
height: 1px;
&:hover {
border-bottom: 2px dashed $text-color-faint;
}
} }
.panel-editor-resizer__handle { .panel-editor-resizer__handle {
display: inline-block; display: inline-block;
width: 100px; width: 180px;
position: relative; position: relative;
background: $input-label-bg;
top: -12px;
border-radius: 2px; border-radius: 2px;
box-shadow: 0 0 8px $black; height: 10px;
height: 8px;
cursor: grabbing; cursor: grabbing;
background: $dark-4;
top: -8px;
&:hover {
background: linear-gradient(80deg, $blue-dark, lighten($blue-dark, 10%));
.panel-editor-resizer__handle-dots {
display: none;
}
}
} }
.panel-editor-resizer__handle-dots { .panel-editor-resizer__handle-dots {
border-top: 2px dotted $text-color-faint; border-top: 2px dashed $text-color-faint;
position: relative; position: relative;
top: 3px; top: 4px;
} }
.panel-editor { .panel-editor {

Loading…
Cancel
Save