2017-07-28 20:04:12 +00:00
|
|
|
@import './variables.scss';
|
|
|
|
@import './base';
|
|
|
|
@import './markdownHighlighting';
|
|
|
|
|
|
|
|
body {
|
2017-08-06 00:58:39 +00:00
|
|
|
background-color: #fff;
|
2017-07-28 20:04:12 +00:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
tab-size: 4;
|
|
|
|
text-rendering: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
* {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-input {
|
|
|
|
display: block;
|
2017-07-31 09:04:01 +00:00
|
|
|
font-variant-ligatures: no-common-ligatures;
|
2017-07-28 20:04:12 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 36px;
|
|
|
|
padding: 3px 12px;
|
2017-07-31 09:04:01 +00:00
|
|
|
font-size: inherit;
|
2017-07-28 20:04:12 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
color: inherit;
|
|
|
|
background-color: #fff;
|
|
|
|
background-image: none;
|
|
|
|
border: 0;
|
|
|
|
border-radius: $border-radius-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
color: #333;
|
|
|
|
background-color: transparent;
|
|
|
|
display: inline-block;
|
2017-08-04 20:46:06 +00:00
|
|
|
height: auto;
|
|
|
|
padding: 6px 12px;
|
2017-07-28 20:04:12 +00:00
|
|
|
margin-bottom: 0;
|
2017-08-03 17:08:12 +00:00
|
|
|
font-size: 18px;
|
2017-07-28 20:04:12 +00:00
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.4;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
-ms-touch-action: manipulation;
|
|
|
|
touch-action: manipulation;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
background-image: none;
|
|
|
|
border: 0;
|
|
|
|
border-radius: $border-radius-base;
|
|
|
|
|
2017-08-03 17:08:12 +00:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2017-07-28 20:04:12 +00:00
|
|
|
color: #333;
|
2017-08-03 17:08:12 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
outline: 0;
|
2017-07-28 20:04:12 +00:00
|
|
|
}
|
2017-08-25 10:37:46 +00:00
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
&,
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.5;
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
|
|
|
}
|
2017-07-28 20:04:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -moz-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--row {
|
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--column {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2017-08-04 20:46:06 +00:00
|
|
|
.flex--center {
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2017-08-06 00:58:39 +00:00
|
|
|
.flex--end {
|
|
|
|
-webkit-justify-content: flex-end;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2017-08-03 17:08:12 +00:00
|
|
|
.flex--space-between {
|
|
|
|
-webkit-justify-content: space-between;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2017-08-04 20:46:06 +00:00
|
|
|
.flex--align-center {
|
|
|
|
-webkit-align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2017-08-04 08:20:50 +00:00
|
|
|
.side-title {
|
|
|
|
height: 44px;
|
|
|
|
line-height: 36px;
|
2017-08-06 00:58:39 +00:00
|
|
|
padding: 4px 4px 0;
|
2017-08-04 08:20:50 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
-webkit-flex: none;
|
|
|
|
flex: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-title__button {
|
|
|
|
width: 38px;
|
2017-08-04 20:46:06 +00:00
|
|
|
height: 36px;
|
2017-08-04 08:20:50 +00:00
|
|
|
padding: 6px;
|
|
|
|
display: inline-block;
|
|
|
|
background-color: transparent;
|
|
|
|
opacity: 0.75;
|
2017-08-06 00:58:39 +00:00
|
|
|
-webkit-flex: none;
|
|
|
|
flex: none;
|
2017-08-04 08:20:50 +00:00
|
|
|
|
|
|
|
/* prevent from seeing wrapped buttons */
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-title__title {
|
|
|
|
text-transform: uppercase;
|
|
|
|
padding: 0 5px;
|
2017-08-06 00:58:39 +00:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
2017-08-04 08:20:50 +00:00
|
|
|
}
|