mCaptcha/templates/main.scss

74 lines
1.6 KiB
SCSS
Raw Normal View History

2021-05-03 14:54:03 +00:00
/*
2022-01-08 16:46:05 +00:00
* Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
* SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
2021-05-03 14:54:03 +00:00
*
* SPDX-License-Identifier: MIT OR Apache-2.0
2021-05-03 14:54:03 +00:00
*/
@import "./auth/css/main.scss";
@import "./components/details-footer/main.scss";
@import "./components/error/main.scss";
@import "./components/showPassword/main.scss";
@import "./panel/css/main.scss";
@import "./panel/navbar/main.scss";
@import "./panel/settings/main.scss";
@import "./panel/notifications/main.scss";
@import "./panel/header/taskbar/main.scss";
@import "./panel/help-banner/main.scss";
@import "./panel/sitekey/add/advance/css/main.scss";
@import "./panel/sitekey/list/css/main.scss";
@import "./errors/main.scss";
2021-05-09 11:09:52 +00:00
// creadits: https://codepen.io/rachelandrew/pen/MmOvPr/?editors=1100
.layout {
display: grid;
grid-template-columns: minmax(250px, auto) 1fr;
grid-template-areas: "navbar mainContent";
2021-05-03 14:54:03 +00:00
}
2021-05-09 11:09:52 +00:00
/* no grid support? check this out later */
/*
.sidebar {
float: left;
width: 19.1489%;
2021-05-03 14:54:03 +00:00
}
2021-05-09 11:09:52 +00:00
.content {
float: right;
width: 79.7872%;
2021-05-03 14:54:03 +00:00
}
2021-05-09 11:09:52 +00:00
*/
2021-05-03 14:54:03 +00:00
2021-05-09 11:09:52 +00:00
/* make a grid */
2021-05-09 13:29:23 +00:00
//header,
//footer {
// grid-column: 2 / 5;
// /* needed for the floated layout */
// clear: both;
//}
2021-05-03 14:54:03 +00:00
2021-05-09 11:09:52 +00:00
nav {
// grid-row: 1/ 4;
/* needed for the floated layout */
clear: both;
grid-area: navbar;
// height: 100%;
2021-05-09 13:29:23 +00:00
}
.tmp-layout {
// grid-column: 2 / 5;
grid-area: mainContent;
max-height: 100%;
display: flex;
flex-direction: column;
2021-05-03 14:54:03 +00:00
}
2021-05-09 11:09:52 +00:00
/* We need to set the widths used on floated items back to auto, and remove the bottom margin as when we have grid we have gaps.
* @supports (display: grid) {
.wrapper > * {
width: auto;
margin: 0;
}
2021-05-03 14:54:03 +00:00
}
2021-05-09 11:09:52 +00:00
*/