2017-10-19 16:40:00 -04:00
|
|
|
@import "../../css/colors.css";
|
|
|
|
@import "../../css/units.css";
|
2017-08-30 10:50:24 -04:00
|
|
|
|
|
|
|
.editor-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-10-25 13:37:41 -04:00
|
|
|
padding: calc(4 * $grid-unit);
|
2017-08-30 10:50:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2017-10-23 10:35:30 -04:00
|
|
|
.editor-container-top {
|
|
|
|
border-bottom: 1px dashed $ui-pane-border;
|
2017-10-25 13:37:41 -04:00
|
|
|
padding-bottom: calc(2 * $grid-unit);
|
2017-10-23 10:35:30 -04:00
|
|
|
}
|
|
|
|
|
2017-09-06 18:01:49 -04:00
|
|
|
.top-align-row {
|
2017-10-26 20:28:17 -04:00
|
|
|
display: flex;
|
2017-10-25 13:37:41 -04:00
|
|
|
padding-top: calc(5 * $grid-unit);
|
2017-09-06 18:01:49 -04:00
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2017-08-30 10:50:24 -04:00
|
|
|
.row + .row {
|
2017-10-25 13:37:41 -04:00
|
|
|
margin-top: calc(2 * $grid-unit);
|
2017-08-30 10:50:24 -04:00
|
|
|
}
|
|
|
|
|
2017-10-23 10:35:30 -04:00
|
|
|
.mod-dashed-border {
|
2017-10-26 20:28:17 -04:00
|
|
|
border-right: 1px dashed $ui-pane-border;
|
2017-10-25 13:37:41 -04:00
|
|
|
padding-right: calc(3 * $grid-unit);
|
2017-08-30 10:50:24 -04:00
|
|
|
}
|
|
|
|
|
2017-11-07 14:08:26 -05:00
|
|
|
.mod-unselect {
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2017-10-31 13:45:09 -04:00
|
|
|
.mod-labeled-icon-height {
|
|
|
|
height: 2.85rem; /* for the second row so the dashed borders are equal in size */
|
|
|
|
}
|
|
|
|
|
2017-08-30 10:50:24 -04:00
|
|
|
$border-radius: 0.25rem;
|
|
|
|
|
2017-10-23 10:35:30 -04:00
|
|
|
.button-group-button {
|
|
|
|
display: inline-block;
|
|
|
|
border: 1px solid $ui-pane-border;
|
2017-08-30 10:50:24 -04:00
|
|
|
border-radius: 0;
|
|
|
|
border-left: none;
|
2017-10-25 13:37:41 -04:00
|
|
|
padding: calc(2 * $grid-unit);
|
2017-10-23 10:35:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-group-button:last-of-type {
|
2017-08-30 10:50:24 -04:00
|
|
|
border-top-right-radius: $border-radius;
|
|
|
|
border-bottom-right-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
2017-10-23 10:35:30 -04:00
|
|
|
.button-group-button:first-of-type {
|
2017-10-26 14:03:09 -04:00
|
|
|
border-left: 1px solid $ui-pane-border;
|
2017-08-30 10:50:24 -04:00
|
|
|
border-top-left-radius: $border-radius;
|
|
|
|
border-bottom-left-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
2017-10-26 14:03:09 -04:00
|
|
|
.button-group-button.mod-left-border {
|
|
|
|
border-left: 1px solid $ui-pane-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-group-button.mod-no-right-border {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
2017-10-23 10:35:30 -04:00
|
|
|
.button-group-button-icon {
|
2017-10-25 13:37:41 -04:00
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
2017-10-23 10:35:30 -04:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-11-07 14:08:26 -05:00
|
|
|
.mod-context-menu {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-top-divider {
|
|
|
|
border-top: 1px solid $ui-pane-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-menu-item {
|
|
|
|
display: flex;
|
|
|
|
margin: 0 -$grid-unit;
|
|
|
|
min-width: 6.25rem;
|
|
|
|
padding: calc(3 * $grid-unit);
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: 0.1s ease;
|
|
|
|
align-items: center;
|
2017-11-09 16:03:57 -05:00
|
|
|
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
2017-11-07 14:08:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.mod-disabled {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-menu-item:hover {
|
|
|
|
background: $motion-transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-disabled:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-icon {
|
|
|
|
margin-right: calc(2* $grid-unit);
|
|
|
|
}
|
|
|
|
|
2017-10-23 10:35:30 -04:00
|
|
|
.mod-mode-tools {
|
2017-10-25 13:37:41 -04:00
|
|
|
margin-left: calc(3 * $grid-unit);
|
2017-08-30 10:50:24 -04:00
|
|
|
}
|
2017-09-06 18:01:49 -04:00
|
|
|
|
|
|
|
.canvas-container {
|
2017-10-25 16:47:56 -04:00
|
|
|
width: 500px;
|
|
|
|
height: 400px;
|
|
|
|
box-sizing: content-box;
|
2017-09-06 18:01:49 -04:00
|
|
|
border: 1px solid #e8edf1;
|
2017-10-23 10:35:30 -04:00
|
|
|
border-radius: .25rem;
|
2017-09-06 18:01:49 -04:00
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mode-selector {
|
|
|
|
display: flex;
|
2017-10-25 13:37:41 -04:00
|
|
|
margin-right: calc(2 * $grid-unit);
|
2017-11-07 14:08:26 -05:00
|
|
|
max-width: 6rem;
|
2017-10-23 10:35:30 -04:00
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
align-content: flex-start;
|
|
|
|
justify-content: space-between;
|
2017-09-06 18:10:19 -04:00
|
|
|
}
|
2017-10-26 20:28:17 -04:00
|
|
|
|
|
|
|
.zoom-controls {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2017-11-07 14:08:26 -05:00
|
|
|
|
|
|
|
@media only screen and (max-width: 1095px) {
|
|
|
|
.mode-selector {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2017-11-13 07:45:22 -05:00
|
|
|
|
|
|
|
.mod-dashed-border {
|
|
|
|
padding-right: calc(2 * $grid-unit);
|
|
|
|
}
|
2017-11-07 14:08:26 -05:00
|
|
|
}
|