stylesheet.scss 464 字节
Newer Older
J
Jason Park 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
@import "~/common/stylesheet/index";

.toast_container {
  display: flex;
  flex-direction: column-reverse;
  padding: 16px;
}

.toast {
  width: 280px;
  border: 1px solid;
  border-radius: 4px;
  padding: 16px;
  margin: 8px;
  font-size: $font-size-large;
J
Jason Park 已提交
16
  white-space: pre-line;
J
Jason Park 已提交
17 18 19 20 21 22 23 24 25 26 27

  &.success {
    border-color: rgb(0, 150, 0);
    background: rgba(0, 120, 0, .8);
  }

  &.error {
    border-color: rgb(150, 0, 0);
    background: rgba(120, 0, 0, .8);
  }
}