Stackedit/src/components/common/app.scss

110 lines
1.7 KiB
SCSS
Raw Normal View History

2017-07-28 20:04:12 +00:00
@import './variables.scss';
@import './base';
@import './markdownHighlighting';
body {
background-color: #f3f3f3;
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;
height: 36px;
padding: 3px 12px;
margin-bottom: 0;
2017-07-31 09:04:01 +00:00
font-size: inherit;
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;
&:focus {
color: #333;
background-color: transparent;
&:active,
& {
outline: 0;
}
}
}
.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;
}