2016-08-15 17:04:36 +00:00
|
|
|
@import '../constants/dimensions';
|
|
|
|
@import '../constants/colors';
|
|
|
|
|
|
|
|
.env-modal.modal__body {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 17rem 1fr;
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.env-modal__sidebar {
|
2016-08-29 17:58:59 +00:00
|
|
|
border-right: 1px solid @hl-md;
|
|
|
|
padding: @padding-md 0;
|
2016-08-15 17:04:36 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
overflow-y: auto;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.env-modal__sidebar-heading {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2016-08-29 17:58:59 +00:00
|
|
|
padding: @padding-sm @padding-sm 0;
|
2016-08-15 17:04:36 +00:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > *:first-child {
|
|
|
|
width: 100%;
|
2016-08-29 17:58:59 +00:00
|
|
|
padding: @padding-sm 0 @padding-sm @padding-sm;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
2016-08-29 17:58:59 +00:00
|
|
|
color: @hl-xxl;
|
2016-08-15 17:04:36 +00:00
|
|
|
height: 100%;
|
2016-08-29 17:58:59 +00:00
|
|
|
padding: @padding-sm;
|
2016-08-15 17:04:36 +00:00
|
|
|
|
|
|
|
&:hover {
|
2016-08-29 17:58:59 +00:00
|
|
|
color: @font-light-bg;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.env-modal__sidebar-root-item,
|
|
|
|
.env-modal__sidebar-item {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto;
|
2016-08-29 17:58:59 +00:00
|
|
|
grid-template-rows: @line-height-xs;
|
|
|
|
color: @hl-xxl;
|
2016-08-15 17:04:36 +00:00
|
|
|
|
|
|
|
& > button {
|
2016-08-29 17:58:59 +00:00
|
|
|
padding: 0 @padding-md 0 @padding-md;
|
2016-08-15 17:04:36 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editable {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: block;
|
2016-08-29 17:58:59 +00:00
|
|
|
padding-right: @padding-xs;
|
2016-08-15 17:04:36 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2016-08-29 17:58:59 +00:00
|
|
|
line-height: @line-height-xs;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.env-modal__sidebar-item--active,
|
|
|
|
& > button:focus {
|
2016-08-29 17:58:59 +00:00
|
|
|
color: @font-light-bg;
|
|
|
|
background-color: @hl-xs;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover > button {
|
2016-08-29 17:58:59 +00:00
|
|
|
background-color: @hl-xxs;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.env-modal__sidebar-item {
|
|
|
|
& > button {
|
2016-08-29 17:58:59 +00:00
|
|
|
padding-left: @padding-lg;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.env-modal__main {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.env-modal__editor {
|
|
|
|
display: block;
|
|
|
|
max-height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.env-modal__main__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2016-08-29 17:58:59 +00:00
|
|
|
padding: @padding-sm @padding-md @padding-sm;
|
|
|
|
height: @line-height-sm;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h1 > * {
|
|
|
|
padding: 0;
|
2016-08-29 17:58:59 +00:00
|
|
|
font-size: @font-size-xl;
|
2016-08-15 17:04:36 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|