-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: #1178 Clean up un-used styles, remove SASS and move styles …
…to component (#2540)
- Loading branch information
Trường An
committed
Sep 1, 2020
1 parent
c435095
commit 6c52ad4
Showing
87 changed files
with
500 additions
and
565 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
25 changes: 25 additions & 0 deletions
25
packages/marketplace/src/components/pages/app-detail/__styles__/app-permission-content.ts
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,25 @@ | ||
import { css } from 'linaria' | ||
|
||
export const permissionBlock = css` | ||
margin-bottom: 15px; | ||
` | ||
|
||
export const installButtonContainer = css` | ||
display: flex; | ||
` | ||
|
||
export const installButton = css` | ||
margin: 0 1rem; | ||
width: 100%; | ||
&:last-child { | ||
margin: 0 0 0 1rem; | ||
} | ||
` | ||
|
||
export const permissionList = css` | ||
padding: 0 2rem 2rem 2rem; | ||
` | ||
|
||
export const permissionListItem = css` | ||
list-style-type: circle; | ||
` |
74 changes: 74 additions & 0 deletions
74
packages/marketplace/src/components/pages/app-detail/__styles__/standalone-app-detail.ts
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,74 @@ | ||
import { css } from 'linaria' | ||
import * as colors from '@/core/__styles__/colors' | ||
import { forMobileOnly, forTabletAndBelow } from '@/core/__styles__/screen-size' | ||
import { forIeOnly } from '@/core/__styles__/browser' | ||
|
||
export const preview = css` | ||
position: relative; | ||
top: 2px; | ||
` | ||
|
||
export const check = css` | ||
position: relative; | ||
top: 2px; | ||
left: 2px; | ||
color: ${colors.reapitGreen}; | ||
` | ||
|
||
export const tag = css` | ||
display: inline-block; | ||
padding: 0.5rem 1rem; | ||
background: ${colors.greyLight}; | ||
margin: 0.5rem 0.5rem 0 0; | ||
` | ||
|
||
export const container = css` | ||
height: 100%; | ||
margin-bottom: auto; | ||
${forMobileOnly} { | ||
display: flex; | ||
flex-direction: column-reverse; | ||
} | ||
${forIeOnly} { | ||
min-width: 1024px; | ||
} | ||
` | ||
|
||
export const containerHeader = css` | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
` | ||
|
||
export const appIconContainer = css` | ||
width: 96px; | ||
height: auto; | ||
margin: 0 auto; | ||
` | ||
|
||
export const headerContent = css` | ||
display: flex; | ||
flex-direction: column; | ||
padding: 1rem; | ||
align-items: center; | ||
text-align: center; | ||
` | ||
|
||
export const containerOuterHeader = css` | ||
${forTabletAndBelow} { | ||
flex-direction: column; | ||
} | ||
` | ||
|
||
export const buttonGroup = css` | ||
display: flex; | ||
flex-direction: column; | ||
${forMobileOnly} { | ||
> button { | ||
width: 50%; | ||
} | ||
flex-direction: row; | ||
} | ||
` |
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
Oops, something went wrong.