login.component.scss 1.68 KB
/**
 * Copyright © 2016-2020 The Thingsboard Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import '../../../../../scss/constants';

:host {
  display: flex;
  flex: 1 1 0;
  .tb-login-content {
    margin-top: 36px;
    margin-bottom: 76px;
    background-color: rgb(250, 250, 250);
    .tb-login-form {
      @media #{$mat-gt-xs} {
        width: 550px !important;
      }

      .tb-reset-password{
        padding: 0 6px;
      }

      .tb-action-button{
        padding: 20px 0 16px;
      }
    }

    .oauth-container{
      padding: 0;

      .container-divider {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;

        .line {
          flex: 1;
        }

        .mat-divider-horizontal{
          position: relative;
        }

        .text {
          padding-right: 10px;
          padding-left: 10px;
        }
      }

      .material-icons{
        width: 20px;
        min-width: 20px;
      }


      .centered ::ng-deep .mat-button-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
      }
    }
  }
}