weathermen/soundstorm

View on GitHub
app/assets/stylesheets/components/dialog.scss

Summary

Maintainability
Test Coverage
.dialog {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 1000;
  background: rgba(0,0,0,.5);
}
.dialog__window {
  width: 300px;
  margin: 100px auto;
  background-color: $background-color;
  border: 1px solid #000;
  padding: 15px;
  text-align: left;
}
.dialog__taskbar {
  display: grid;
  grid-template-columns: 23fr 1fr;
}
.dialog__title {
  padding-top: 7px;
  margin: 0;
  font-weight: bold;
}
.dialog__close {
  text-align: right;
  text-decoration: none;
  background: $link-color;
  color: $foreground-color;
  padding: 5px;
}