From d44718970510aa662174825f584365a70fbf1a2d Mon Sep 17 00:00:00 2001 From: Art Date: Fri, 17 Sep 2021 19:21:03 +0300 Subject: [PATCH] 138. Login template - font awesome import and custom styles (#18) --- .../app/component/login/login.component.css | 69 +++++++++++++++++++ support-portal-frontend/src/styles.css | 1 + 2 files changed, 70 insertions(+) diff --git a/support-portal-frontend/src/app/component/login/login.component.css b/support-portal-frontend/src/app/component/login/login.component.css index e69de29..bae92cb 100644 --- a/support-portal-frontend/src/app/component/login/login.component.css +++ b/support-portal-frontend/src/app/component/login/login.component.css @@ -0,0 +1,69 @@ +body, +html { + margin: 0; + padding: 0; + height: 100%; + background: #60a3bc !important; +} +.user_card { + height: 500px; + width: 600px; + margin-top: auto; + margin-bottom: auto; + background: #afbfd8; + position: relative; + display: flex; + justify-content: center; + flex-direction: column; + padding: 10px; + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); + -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0a, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); + -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); + border-radius: 5px; + +} +.brand_logo_container { + position: absolute; + height: 170px; + width: 170px; + top: -75px; + border-radius: 50%; + background: #60a3bc; + padding: 10px; + text-align: center; +} +.brand_logo { + height: 150px; + width: 150px; + border-radius: 50%; + border: 2px solid white; +} +.form_container { + margin-top: 100px; +} +.login_btn { + width: 100%; + background: #1B4F72!important; + color: white !important; +} +.login_btn:focus { + box-shadow: none !important; + outline: 0px !important; +} +.login_container { + padding: 0 2rem; +} +.input-group-text { + background: #1B4F72!important; + color: white !important; + border: 0 !important; + border-radius: 0.25rem 0 0 0.25rem !important; +} +.input_user, +.input_pass:focus { + box-shadow: none !important; + outline: 0px !important; +} +.custom-checkbox .custom-control-input:checked~.custom-control-label::before { + background-color: #1B4F72!important; +} diff --git a/support-portal-frontend/src/styles.css b/support-portal-frontend/src/styles.css index 4d257d9..3288021 100644 --- a/support-portal-frontend/src/styles.css +++ b/support-portal-frontend/src/styles.css @@ -1,2 +1,3 @@ /* You can add global styles to this file, and also import other style files */ @import 'https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css'; +@import 'https://pro.fontawesome.com/releases/v5.10.0/css/all.css';