UnlyEd/next-right-now-admin

View on GitHub
public/static/CDN/detect-outdated-browser/outdated-browser-rework.css

Summary

Maintainability
Test Coverage
#outdated {
  font-family: "Open Sans", "Segoe UI", sans-serif;
  position: absolute;
  background-color: #f25648;
  color: white;
  display: none;
  overflow: hidden;
  left: 0;
  position: fixed;
  text-align: center;
  text-transform: uppercase;
  top: 0;
  width: 100%;
  z-index: 1500;
  padding: 0 24px 24px 0;
}

#outdated.fullscreen {
  height: 100%;
}

#outdated .vertical-center {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

#outdated h6 {
  font-size: 25px;
  line-height: 25px;
  margin: 12px 0;
}

#outdated p {
  font-size: 12px;
  line-height: 12px;
  margin: 0;
}

#outdated #buttonUpdateBrowser {
  border: 2px solid white;
  color: white;
  cursor: pointer;
  display: block;
  margin: 30px auto 0;
  padding: 10px 20px;
  position: relative;
  text-decoration: none;
  width: 230px;
}

#outdated #buttonUpdateBrowser:hover {
  background-color: white;
  color: #f25648;
}

#outdated .last {
  height: 20px;
  position: absolute;
  right: 70px;
  top: 10px;
  width: auto;
  display: inline-table;
}

#outdated .last[dir=rtl] {
  left: 25px !important;
  right: auto !important;
}

#outdated #buttonCloseUpdateBrowser {
  color: white;
  display: block;
  font-size: 36px;
  height: 100%;
  line-height: 36px;
  position: relative;
  text-decoration: none;
  width: 100%;
}