Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/cli/react multitenancy #131

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move tenant selector css to main css file.
connor authored and connor committed Jan 15, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b834cd47d091ce6d4c4a78d7feb9f6b3bd8fddf7
77 changes: 77 additions & 0 deletions boilerplate/frontend/react-multitenancy/src/App.css
Original file line number Diff line number Diff line change
@@ -177,3 +177,80 @@ footer a {
footer a:hover {
color: var(--primary-hover);
}

/* Tenant Selector */

.tenant-id {
margin-top: 11px;
margin-bottom: 23px;
}

.inner-content #tenant-id {
position: relative;
padding: 14px 17px;
border-image-slice: 1;
margin-inline: auto;
margin-block: 11px 23px;
border-radius: 9px;
line-height: 1;
font-family: Menlo, serif;
cursor: text;
}

.inner-content #tenant-id:before {
content: "";
position: absolute;
inset: 0;
border-radius: 9px;
padding: 2px;
background: linear-gradient(90.31deg, #ff9933 0.11%, #ff3f33 99.82%);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask-composite: exclude;
-webkit-mask-composite: xor;
}

.tenants-container {
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.16);
background-color: white;
width: 300px;
border-radius: 8px;
padding-top: 30px;
padding-bottom: 30px;
font-family: "Rubik";
padding-left: 24px;
padding-right: 24px;
}

.tenants-label {
font-size: 24px;
line-height: 40px;
font-weight: 800;
margin-bottom: 12px;
}

.tenant-selector {
padding-left: 12px;
padding-right: 12px;
padding-bottom: 8px;
padding-top: 8px;
border-radius: 8px;
border-color: rgb(221, 221, 221);
font-size: 16px;
}

.tenants-button {
margin-top: 24px;
background-color: rgb(255, 155, 51);
color: white;
font-weight: 700;
height: 34px;
border-width: 1px;
border-style: solid;
border-radius: 6px;
border-color: rgb(238, 141, 35);
cursor: pointer;
}
75 changes: 0 additions & 75 deletions boilerplate/frontend/react-multitenancy/src/Auth/Auth.css

This file was deleted.