@import 'node_modules/normalize.css/normalize.css';
@import 'mixins';
@import 'colors';
@import 'typography';
$max-width: 1024px;
$col-padding: 20px;

// header and logo area

.dashboard-header {
  background-color: $bg-white;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.tools-wrapper {
  background: $bg-white;
  border-bottom: 1px solid $black-50;
  width: 100%;
}

.tools {
  @include clearfix();

  margin: 0 auto;
  max-width: $max-width;
  width: 100%;
}

.tool-head,
.tool-link {
  float: left;
  margin: 12px 0;
}

.tool-head {
  @include tool-head-copy();

  padding: 2px 20px 0 0;
  text-transform: uppercase;
}

.tool-link {
  @include tool-links-copy();

  padding: 2px 20px;
}

.tool-link:nth-of-type(n + 2) {
  border-left: 1px solid $blue;
}

.logo-area {
  @include clearfix();

  margin: 20px auto;
  max-width: $max-width;
  width: 100%;
}

.clay-logo {
  float: left;
  height: auto;
  width: 100px;
}

.new-article-button {
  @include cta-copy();

  background: none;
  border: 1px solid $blue;
  border-radius: 4px;
  float: right;
  padding: 8px 10px;
}

// article list

.article-list {
  margin: 0 auto;
  width: 100%;
}

.table-header-wrapper {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .30);
  width: 100%;
}

.table-header {
  display: flex;
  margin: 0 auto;
  max-width: $max-width;
  width: 100%;
}

.table-header-column {
  @include header-copy();

  padding-left: $col-padding;
  padding-right: $col-padding;
}

.table {
  margin: 0 auto;
  max-width: $max-width;
  width: 100%;
}

// rows

.row {
  border-bottom: 1px solid $black-50;
  display: flex;
  width: 100%;
}

// columns

.column {
  align-items: center;
  border-right: 1px solid $black-50;
  display: flex;
  justify-content: flex-start;
  padding: $col-padding;
}

.column:first-of-type {
  border-left: 1px solid $black-50;
}

.site-column {
  flex: 0 0 70px;
}

.article-column {
  flex: 1 1 300px;
}

.byline-column {
  flex: 1 1 100px;
}

.lastmodified-column {
  flex: 1 1 120px;
}

.status-column {
  flex: 1 1 120px;
}

// individual article properties

.site-link {
  max-width: 100%;
  width: 100%;
}

.site-logo {
  display: block;
  height: auto;
  margin: 0 auto;
  width: 90%;
}

.article-link {
  text-decoration: none;
}

.article-headline,
.article-teaser {
  color: $black;
  margin: 0;
}

.article-headline {
  @include header-copy();
}

.article-teaser,
.article-bylines,
.article-status {
  @include body-copy();
}

.article-status,
.article-publishedate {
  flex: 0 0 100%;
  margin: 0;
}

.published {
  color: $green;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}
