xref: /openbmc/phosphor-webui/app/login/styles/index.scss (revision 6f7ec80eb14084228cd7d8dae580da4b794c2595)
199d199f3SIftekharul Islam#login {
299d199f3SIftekharul Islam  @include mediaQuery(medium) {
3*6f7ec80eSYoshie Muranaka    background: linear-gradient(to right, $background-01 49.999%, $background-02 50%);
499d199f3SIftekharul Islam    @include fastTransition-all;
599d199f3SIftekharul Islam  }
699d199f3SIftekharul Islam}
799d199f3SIftekharul Islam
899d199f3SIftekharul Islam.login__wrapper {
999d199f3SIftekharul Islam  position: relative;
1099d199f3SIftekharul Islam  padding-top: 1em;
11*6f7ec80eSYoshie Muranaka  color: $primary-dark;
1299d199f3SIftekharul Islam  .row {
13859f502dSRyan Arnell    max-width: 1080px;
1499d199f3SIftekharul Islam  }
1599d199f3SIftekharul Islam  @include mediaQuery(small) {
1699d199f3SIftekharul Islam    top: 50%;
1799d199f3SIftekharul Islam    transform: translateY(-50%);
1899d199f3SIftekharul Islam  }
1999d199f3SIftekharul Islam  @include mediaQuery(medium) {
2099d199f3SIftekharul Islam    left: 0;
2199d199f3SIftekharul Islam    margin-left: 0;
2299d199f3SIftekharul Islam  }
2399d199f3SIftekharul Islam  .login__logo {
2499d199f3SIftekharul Islam    max-width: 200px;
2599d199f3SIftekharul Islam    display: block;
26859f502dSRyan Arnell    margin: 0 auto 2em;
2799d199f3SIftekharul Islam    @include mediaQuery(small) {
28859f502dSRyan Arnell      margin: 0 auto;
2999d199f3SIftekharul Islam    }
3099d199f3SIftekharul Islam  }
311a606beeSDerick Montague
321a606beeSDerick Montague  // Must be applied to the <main> element in the app
331a606beeSDerick Montague  // Required to create an elegant page transition
341a606beeSDerick Montague  @include page-transition;
351a606beeSDerick Montague  &.ng-leave-active,
361a606beeSDerick Montague  &.ng-enter {
371a606beeSDerick Montague    @include page-transition-visibility;
381a606beeSDerick Montague  }
3999d199f3SIftekharul Islam}
4099d199f3SIftekharul Islam
4199d199f3SIftekharul Islam#login__form {
42*6f7ec80eSYoshie Muranaka  color: $primary-dark;
4399d199f3SIftekharul Islam  background: transparent;
4499d199f3SIftekharul Islam  padding: 1em 0;
4599d199f3SIftekharul Islam  display: block;
4699d199f3SIftekharul Islam  overflow: hidden;
4799d199f3SIftekharul Islam  @include mediaQuery(small) {
4899d199f3SIftekharul Islam    max-width: 50%;
49859f502dSRyan Arnell    margin: 0 auto;
5099d199f3SIftekharul Islam  }
5199d199f3SIftekharul Islam  @include mediaQuery(medium) {
52859f502dSRyan Arnell    padding: 0 3em;
5399d199f3SIftekharul Islam    max-width: 100%;
5499d199f3SIftekharul Islam  }
55859f502dSRyan Arnell  @include mediaQuery(large) {
56859f502dSRyan Arnell    padding: 0 0 0 6em;
57859f502dSRyan Arnell  }
5899d199f3SIftekharul Islam  @include fastTransition-all;
59b76d5f06SMichael Davis
60b76d5f06SMichael Davis  input:disabled,
61b76d5f06SMichael Davis  input:disabled:hover {
62*6f7ec80eSYoshie Muranaka    background-color: $background-03;
63b76d5f06SMichael Davis    cursor: default;
64b76d5f06SMichael Davis  }
6599d199f3SIftekharul Islam}
6699d199f3SIftekharul Islam
6799d199f3SIftekharul Islam.login__desc {
68859f502dSRyan Arnell  text-align: center;
6999d199f3SIftekharul Islam  font-size: 2em;
70859f502dSRyan Arnell  margin: 0.5em 0 2em;
7199d199f3SIftekharul Islam  font-weight: bold;
7299d199f3SIftekharul Islam}
7399d199f3SIftekharul Islam
7499d199f3SIftekharul Islam.login__server-info {
7599d199f3SIftekharul Islam  margin-top: 2em;
7699d199f3SIftekharul Islam  margin-left: 0;
7799d199f3SIftekharul Islam  padding-left: 0;
7899d199f3SIftekharul Islam  list-style-type: none;
7999d199f3SIftekharul Islam  @include mediaQuery(small) {
8099d199f3SIftekharul Islam    max-width: 50%;
8199d199f3SIftekharul Islam  }
8299d199f3SIftekharul Islam  @include mediaQuery(medium) {
8399d199f3SIftekharul Islam    max-width: 90%;
8499d199f3SIftekharul Islam  }
8599d199f3SIftekharul Islam  li {
8699d199f3SIftekharul Islam    padding: 1em 0;
87*6f7ec80eSYoshie Muranaka    border-top: 1px solid $border-color-01;
8899d199f3SIftekharul Islam  }
8999d199f3SIftekharul Islam  p {
9099d199f3SIftekharul Islam    margin-bottom: 0;
9199d199f3SIftekharul Islam    display: inline-block;
92b1031814SMichael Davis    font-family: "Courier New", helvetica, arial, sans-serif;
9399d199f3SIftekharul Islam    font-weight: 700;
9499d199f3SIftekharul Islam  }
9599d199f3SIftekharul Islam  .login__info-label {
9699d199f3SIftekharul Islam    display: inline-block;
9799d199f3SIftekharul Islam    min-width: 200px;
9899d199f3SIftekharul Islam    @include fontFamily;
9999d199f3SIftekharul Islam  }
10099d199f3SIftekharul Islam}
10199d199f3SIftekharul Islam
10299d199f3SIftekharul Islam.login__status {
10399d199f3SIftekharul Islam  color: $status-ok;
10499d199f3SIftekharul Islam  &.error {
105*6f7ec80eSYoshie Muranaka    color: $status-error;
10699d199f3SIftekharul Islam  }
10799d199f3SIftekharul Islam}
108