aboutsummaryrefslogtreecommitdiffstats
path: root/src/commonStyles.tsx
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-01-28 19:34:15 +0200
committerGravatar ks129 <[email protected]>2021-01-28 19:34:15 +0200
commit978754f9bc81d0d836ddea6656af4a3dadce5248 (patch)
tree42bd0e3c1157bfe2422f3bc3ef762b5a2db6b8e5 /src/commonStyles.tsx
parentRemove unnecessary separator from sent form return home button (diff)
Move container and return styles back to FormPage
Diffstat (limited to 'src/commonStyles.tsx')
-rw-r--r--src/commonStyles.tsx53
1 files changed, 1 insertions, 52 deletions
diff --git a/src/commonStyles.tsx b/src/commonStyles.tsx
index 1136b34..57002a9 100644
--- a/src/commonStyles.tsx
+++ b/src/commonStyles.tsx
@@ -60,62 +60,11 @@ const invalidStyles = css`
}
`;
-const containerStyles = css`
- margin: auto;
- width: 50%;
-
- text-align: center;
- font-size: 1.5rem;
-
- > div {
- display: inline-block;
- margin: 2rem auto;
- width: 50%;
- }
-
- @media (max-width: 850px) {
- width: 100%;
-
- > div {
- display: flex;
- justify-content: center;
-
- margin: 0 auto;
- }
- }
-
- .return_button {
- text-align: left;
- }
-
- .return_button.closed {
- text-align: center;
- }
-`;
-
-const returnStyles = css`
- padding: 0.5rem 2rem;
- border-radius: 8px;
-
- color: white;
- text-decoration: none;
- white-space: nowrap;
-
- background-color: ${colors.greyple};
- transition: background-color 300ms;
-
- :hover {
- background-color: ${colors.darkerGreyple};
- }
-`;
-
export {
selectable,
unselectable,
hiddenInput,
multiSelectInput,
textInputs,
- invalidStyles,
- containerStyles,
- returnStyles
+ invalidStyles
};