-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
32 changed files
with
498 additions
and
448 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 was deleted.
Oops, something went wrong.
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,13 @@ | ||
import styled from "styled-components"; | ||
|
||
export const WorkingAreaWrapper = styled.div` | ||
display: flex; | ||
overflow: hidden; | ||
height: 100vh; | ||
`; | ||
|
||
export const RightPaneWrapper = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
flex-grow: 1; | ||
`; |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
import styled from "styled-components"; | ||
|
||
export const StyledNewTabButton = styled.button<{ | ||
isVisible: boolean; | ||
}>` | ||
border: none; | ||
font-size: medium; | ||
color: ${(props) => props.theme.textPrimaryColor}; | ||
background-color: ${(props) => props.theme.backgroundPrimaryColor}; | ||
width: ${(props) => (props.isVisible ? "100%" : "0%")}; | ||
opacity: ${(props) => (props.isVisible ? 1 : 0)}; | ||
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1); | ||
&:focus { | ||
outline: none; | ||
} | ||
`; |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import styled, { css } from "styled-components"; | ||
|
||
export const StyledPopupMenu = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
position: absolute; | ||
width: 140px; | ||
z-index: 1; | ||
padding: 10px 15px; | ||
border-radius: 2px; | ||
background-color: ${(props) => props.theme.backgroundSecondaryColor}; | ||
box-shadow: 5px 5px 30px -3px rgba(0, 0, 0, 0.22); | ||
&:after { | ||
content: ""; | ||
position: absolute; | ||
left: 0; | ||
top: 50%; | ||
width: 0; | ||
height: 0; | ||
border: 10px solid transparent; | ||
border-right-color: ${(props) => props.theme.backgroundSecondaryColor}; | ||
border-left: 0; | ||
margin-top: -63px; | ||
margin-left: -6px; | ||
} | ||
`; | ||
|
||
export const StyledPopupMenuItem = styled.button<{ | ||
isEnabled: boolean; | ||
}>` | ||
background-color: ${(props) => props.theme.backgroundSecondaryColor}; | ||
border-radius: 2px; | ||
border: none; | ||
font-size: 0.75em; | ||
margin: 2px 0; | ||
padding: 10px; | ||
text-align: left; | ||
user-select: none; // prevents selection highlighting | ||
&:focus { | ||
outline: none; | ||
} | ||
${(props) => | ||
props.isEnabled | ||
? css` | ||
cursor: pointer; | ||
color: ${(p) => p.theme.textPrimaryColor}; | ||
&:hover { | ||
background-color: ${(p) => p.theme.backgroundSecondaryColorMuted}; | ||
} | ||
` | ||
: css` | ||
cursor: default; | ||
color: ${(p) => p.theme.backgroundSecondaryColorMuted}; | ||
`} | ||
`; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.