@import "../node_modules/normalize-css/normalize.css";
@import "../node_modules/highlight.js/styles/idea.css";
@import "./grid.css";
@import "./blocks/alert/styles.css";
@import "./blocks/attachment-row/styles.css";
@import "./blocks/bar/styles.css";
@import "./blocks/button/styles.css";
@import "./blocks/island/styles.css";
@import "./blocks/label/styles.css";
@import "./blocks/link/styles.css";
@import "./blocks/spinner/styles.css";
@import "./blocks/splash/styles.css";
@import "./blocks/text/styles.css";
@import "./blocks/widget/styles.css";
@import "./variables.css";

body {
  color: $text-color;
  font-family: -apple-system, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-size: 14px;
}

#content {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  .app {
    flex: 1;
  }
  & > .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
  }
}


.view {
  padding: 0 15px;
  margin: 0 auto;
  &_narrow {
    max-width: 1100px;
  }
}

.clickable {
  cursor: pointer;
}

.long-line {
  word-break: break-word;
}

.line-nobreak {
  white-space: nowrap;
}

.preformatted-text {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.line-ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
