-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99976ac
commit c98a400
Showing
7 changed files
with
285 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
import { color } from "framer-motion"; | ||
import { styled } from "@/stitches.config"; | ||
|
||
const StyledIIIFContentState = styled("div", { | ||
marginRight: "$gr3", | ||
}); | ||
|
||
const StyledIIIFContentStateButton = styled("button", { | ||
background: "transparent", | ||
border: "none", | ||
display: "flex", | ||
fontFamily: "$northwesternSansRegular", | ||
fontSize: "$gr3", | ||
color: "$black50", | ||
gap: "$gr2", | ||
height: "$gr4", | ||
alignItems: "center", | ||
borderRadius: "1em", | ||
padding: "0 $gr2", | ||
|
||
"&:hover, &:active": { | ||
backgroundColor: "$purple10", | ||
color: "$purple", | ||
cursor: "pointer", | ||
}, | ||
|
||
svg: { | ||
fill: "$purple", | ||
height: "$gr3", | ||
}, | ||
}); | ||
|
||
const StyledIIIFContentStateURI = styled("div", { | ||
background: "$gray6", | ||
borderRadius: "1em", | ||
padding: "$gr2", | ||
paddingRight: "$gr3", | ||
marginBottom: "$gr2", | ||
width: "100%", | ||
display: "flex", | ||
justifyContent: "space-between", | ||
|
||
input: { | ||
background: "transparent", | ||
border: "none", | ||
flexGrow: 1, | ||
fontFamily: "$northwesternSansRegular", | ||
fontSize: "$gr2", | ||
paddingRight: "$gr2", | ||
color: "$black50", | ||
maskImage: | ||
"linear-gradient(to right, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0))", | ||
}, | ||
|
||
button: { | ||
fontFamily: "$northwesternSansBold", | ||
fontSize: "$gr2", | ||
fontWeight: "400", | ||
}, | ||
}); | ||
|
||
const StyledIIIFContentStateOptions = styled("div", { | ||
fontSize: "$gr3", | ||
display: "flex", | ||
flexDirection: "column", | ||
gap: "$gr1", | ||
padding: "$gr1 $gr2", | ||
|
||
label: { | ||
display: "inline-flex", | ||
fontSize: "$gr2", | ||
gap: "$gr1", | ||
alignItems: "center", | ||
|
||
em: { | ||
color: "$black50", | ||
fontStyle: "normal", | ||
fontFamily: "$northwesternSansBold", | ||
}, | ||
}, | ||
|
||
textarea: { | ||
height: "$gr6 !important", | ||
border: "1px solid $black20", | ||
padding: "$gr2", | ||
borderRadius: "3px", | ||
}, | ||
}); | ||
|
||
const StyledIIIFContentStateActiveFile = styled("div", { | ||
display: "flex", | ||
alignItems: "center", | ||
fontFamily: "$northwesternSansBold", | ||
|
||
em: { | ||
marginRight: "$gr1", | ||
}, | ||
}); | ||
|
||
const StyledIIIFContentStateInner = styled("div", { | ||
flexGrow: 1, | ||
}); | ||
|
||
export { | ||
StyledIIIFContentState, | ||
StyledIIIFContentStateActiveFile, | ||
StyledIIIFContentStateButton, | ||
StyledIIIFContentStateInner, | ||
StyledIIIFContentStateOptions, | ||
StyledIIIFContentStateURI, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const ShareIcon = () => { | ||
return ( | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> | ||
<path d="M58.79 439.13A16 16 0 0148 424c0-73.1 14.68-131.56 43.65-173.77 35-51 90.21-78.46 164.35-81.87V88a16 16 0 0127.05-11.57l176 168a16 16 0 010 23.14l-176 168A16 16 0 01256 424v-79.77c-45 1.36-79 8.65-106.07 22.64-29.25 15.12-50.46 37.71-73.32 67a16 16 0 01-17.82 5.28z" /> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default ShareIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters