/
githubmirror
/
gitness
Обзор
Документация
Войти
/
githubmirror
/
gitness
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
web/src/components/AuthLayout/AuthLayout.module.scss
98 строк
2 KB
Johannes Batzill
[OPEN-SOURCE] Prepare Repository (#605)
24 сен 2023, 10:33
24 сен 2023, 10:33
a83cd21
Код
Авторство
О чём код?
/* * Copyright 2023 Harness, Inc. * * 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. */ .layout { // Signup card widths --min-width: 950px; --max-width: 35%; display: grid; grid-template-columns: 60% 40%; grid-template-rows: 100vh; .cardColumn { overflow-y: auto; overflow-x: hidden; } .card { padding: 250px 125px; overflow-x: hidden !important; // width: var(--min-width); margin: 0 auto; height: 100%; .cardChildren { height: 100%; } } .imageColumn { overflow-y: hidden; background: var(--primary-10); .image { object-fit: contain; height: 90%; width: 90%; } .subtractContainer { display: flex; justify-content: flex-end; margin-bottom: var(--spacing-xxxlarge); margin-right: var(--spacing-xxxlarge); } .subtractImage { float: right; } .harnessImage { float: left; } .imageContainer { padding: 10% 25%; } .gitnessContainer { padding: 6% 22%; } .overlayImage { position: absolute; top: 0; left: 0; z-index: 1; } } } @media (max-width: 1280px) { .layout { display: flex; justify-content: center; width: 100vw; } .imageColumn { display: none; } } // Firefox has a bug where padding-bottom is ignored when overflow occurs // https://bugzilla.mozilla.org/show_bug.cgi?id=748518 @-moz-document url-prefix() { .disclaimer { margin-bottom: 85px !important; } }