mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-08 07:07:15 +02:00
feat: Chip
This commit is contained in:
7
contents/_includes/patterns/chip.njk
Normal file
7
contents/_includes/patterns/chip.njk
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<div class="chip">
|
||||||
|
<div class="chip__content">CSS</div>
|
||||||
|
<button class="chip__button">
|
||||||
|
<div class="chip__button-line chip__button-line--first"></div>
|
||||||
|
<div class="chip__button-line chip__button-line--second"></div>
|
||||||
|
</button>
|
||||||
|
</div>
|
@@ -44,13 +44,13 @@ keywords: css accordion, css flexbox
|
|||||||
```css
|
```css
|
||||||
.accordion {
|
.accordion {
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion__item {
|
.accordion__item {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion__header {
|
.accordion__header {
|
||||||
@@ -72,7 +72,7 @@ keywords: css accordion, css flexbox
|
|||||||
}
|
}
|
||||||
|
|
||||||
.accordion__content {
|
.accordion__content {
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.3);
|
border-top: 1px solid #d1d5db;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -59,29 +59,29 @@ keywords: css arrow buttons
|
|||||||
|
|
||||||
.arrow-button--t {
|
.arrow-button--t {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-left: 1px solid rgba(0, 0, 0, 0.3);
|
border-left: 1px solid #d1d5db;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.3);
|
border-top: 1px solid #d1d5db;
|
||||||
transform: translateY(25%) rotate(45deg);
|
transform: translateY(25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-button--r {
|
.arrow-button--r {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.3);
|
border-right: 1px solid #d1d5db;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.3);
|
border-top: 1px solid #d1d5db;
|
||||||
transform: translateX(-25%) rotate(45deg);
|
transform: translateX(-25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-button--b {
|
.arrow-button--b {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.3);
|
border-right: 1px solid #d1d5db;
|
||||||
transform: translateY(-25%) rotate(45deg);
|
transform: translateY(-25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-button--l {
|
.arrow-button--l {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
border-left: 1px solid rgba(0, 0, 0, 0.3);
|
border-left: 1px solid #d1d5db;
|
||||||
transform: translateX(25%) rotate(45deg);
|
transform: translateX(25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@@ -23,7 +23,7 @@ keywords: css badge, css flexbox
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
/* Rounded border */
|
/* Rounded border */
|
||||||
|
105
contents/chip.md
Normal file
105
contents/chip.md
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
---
|
||||||
|
layout: layouts/post.njk
|
||||||
|
title: Chip
|
||||||
|
description: Create a chip component with CSS flexbox
|
||||||
|
keywords: css chip, css flexbox, css tag
|
||||||
|
---
|
||||||
|
|
||||||
|
## HTML
|
||||||
|
|
||||||
|
```html
|
||||||
|
<div class="chip">
|
||||||
|
<!-- Content -->
|
||||||
|
<div class="chip__content">
|
||||||
|
...
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- The close button -->
|
||||||
|
<button class="chip__button">
|
||||||
|
<div class="chip__button-line chip__button-line--first"></div>
|
||||||
|
<div class="chip__button-line chip__button-line--second"></div>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
## CSS
|
||||||
|
|
||||||
|
```css
|
||||||
|
.chip {
|
||||||
|
/* Center the content */
|
||||||
|
align-items: center;
|
||||||
|
display: inline-flex;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
/* Background color */
|
||||||
|
background-color: #d1d5db;
|
||||||
|
|
||||||
|
/* Rounded border */
|
||||||
|
border-radius: 9999px;
|
||||||
|
|
||||||
|
/* Spacing */
|
||||||
|
padding: 0.25rem 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chip__content {
|
||||||
|
margin-right: 0.25rem;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
The [close button](/close-button/) is used to create a button for removing the chip:
|
||||||
|
|
||||||
|
```css
|
||||||
|
.chip__button {
|
||||||
|
/* Reset */
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: transparent;
|
||||||
|
|
||||||
|
/* Cursor */
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
/* Size */
|
||||||
|
height: 1rem;
|
||||||
|
width: 1rem;
|
||||||
|
|
||||||
|
/* Used to position the inner */
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chip__button-line {
|
||||||
|
/* Background color */
|
||||||
|
background-color: #9ca3af;
|
||||||
|
|
||||||
|
/* Position */
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
/* Size */
|
||||||
|
height: 1px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chip__button-line--first {
|
||||||
|
/* Position */
|
||||||
|
left: 0px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(0%, -50%) rotate(45deg);
|
||||||
|
|
||||||
|
/* Size */
|
||||||
|
height: 1px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chip__button-line--second {
|
||||||
|
/* Position */
|
||||||
|
left: 50%;
|
||||||
|
top: 0px;
|
||||||
|
transform: translate(-50%, 0%) rotate(45deg);
|
||||||
|
|
||||||
|
/* Size */
|
||||||
|
height: 100%;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
{% demo %}
|
||||||
|
{% include "patterns/chip.njk" %}
|
||||||
|
{% enddemo %}
|
@@ -35,7 +35,7 @@ keywords: css close button, css flexbox
|
|||||||
|
|
||||||
.close-button__line {
|
.close-button__line {
|
||||||
/* Background color */
|
/* Background color */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
|
|
||||||
/* Position */
|
/* Position */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@@ -30,7 +30,7 @@ keywords: css border radius, css concave border radius, css concave corners
|
|||||||
|
|
||||||
```css
|
```css
|
||||||
.concave-corners {
|
.concave-corners {
|
||||||
background-color: rgba(0, 0, 0, .3);
|
background-color: #d1d5db;
|
||||||
|
|
||||||
/* Used to position the corners */
|
/* Used to position the corners */
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@@ -53,7 +53,7 @@ keywords: css flexbox, css ribbon
|
|||||||
transform: translate(-38px, -8px) rotate(-45deg);
|
transform: translate(-38px, -8px) rotate(-45deg);
|
||||||
|
|
||||||
/* Background color */
|
/* Background color */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
|
|
||||||
/* Centerize the text content */
|
/* Centerize the text content */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@@ -18,7 +18,7 @@ keywords: css border radius, css curved background
|
|||||||
```css
|
```css
|
||||||
.curved-background__curved {
|
.curved-background__curved {
|
||||||
/* Background color */
|
/* Background color */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
|
|
||||||
/* You can use gradient background color such as */
|
/* You can use gradient background color such as */
|
||||||
/* background: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%); */
|
/* background: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%); */
|
||||||
|
@@ -39,7 +39,7 @@ keywords: css diagonal section, css transform skew
|
|||||||
transform: skewY(-5deg);
|
transform: skewY(-5deg);
|
||||||
|
|
||||||
/* Background color */
|
/* Background color */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
|
|
||||||
/* Displayed under the main content */
|
/* Displayed under the main content */
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
@@ -32,7 +32,7 @@ keywords: css dot leader, css flexbox
|
|||||||
|
|
||||||
.dot-leader__dots {
|
.dot-leader__dots {
|
||||||
/* Bottom border */
|
/* Bottom border */
|
||||||
border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
|
border-bottom: 1px dotted #d1d5db;
|
||||||
|
|
||||||
/* Take remaining width */
|
/* Take remaining width */
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
@@ -23,7 +23,7 @@ keywords: css dropping area, css flexbox
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 0.25rem dashed rgba(0, 0, 0, 0.3);
|
border: 0.25rem dashed #d1d5db;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@@ -26,7 +26,7 @@ keywords: css drop cap, css :first-letter
|
|||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
|
|
||||||
/* Optional */
|
/* Optional */
|
||||||
border: 2px solid rgba(0, 0, 0, .3);
|
border: 2px solid #d1d5db;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
@@ -39,7 +39,7 @@ keywords: css feature comparison, css flexbox
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
/* Bottom border */
|
/* Bottom border */
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
|
|
||||||
/* Spacing */
|
/* Spacing */
|
||||||
padding: 0.25rem 0;
|
padding: 0.25rem 0;
|
||||||
|
@@ -88,6 +88,7 @@ eleventyExcludeFromCollections: true
|
|||||||
<h2 class="category__name">Input</h2>
|
<h2 class="category__name">Input</h2>
|
||||||
<div class="category__posts">
|
<div class="category__posts">
|
||||||
{% pattern "Button with icon" %}{% include "patterns/button-with-icon.njk" %}{% endpattern %}
|
{% pattern "Button with icon" %}{% include "patterns/button-with-icon.njk" %}{% endpattern %}
|
||||||
|
{% pattern "Chip" %}{% include "patterns/chip.njk" %}{% endpattern %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@ keywords: css avatar
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
/* Rounded border */
|
/* Rounded border */
|
||||||
|
@@ -23,7 +23,7 @@ We use the native `kbd` tag to display the keyboard shortcut.
|
|||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
|
|
||||||
/* Bottom shadow */
|
/* Bottom shadow */
|
||||||
box-shadow: rgba(0, 0, 0, 0.3) 0px -4px 0px inset, rgba(0, 0, 0, 0.4) 0px 1px 1px;
|
box-shadow: #d1d5db 0px -4px 0px inset, rgba(0, 0, 0, 0.4) 0px 1px 1px;
|
||||||
|
|
||||||
/* Spacing */
|
/* Spacing */
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
|
@@ -25,7 +25,7 @@ keywords: css layered card
|
|||||||
}
|
}
|
||||||
|
|
||||||
.layered-card::before {
|
.layered-card::before {
|
||||||
background: rgba(0, 0, 0, 0.3);
|
background: #d1d5db;
|
||||||
content: '';
|
content: '';
|
||||||
|
|
||||||
/* Position */
|
/* Position */
|
||||||
|
@@ -18,7 +18,7 @@ keywords: css linear gradient, css lined paper, css multiple horizontal lines
|
|||||||
```css
|
```css
|
||||||
.lined-paper {
|
.lined-paper {
|
||||||
/* Lined background */
|
/* Lined background */
|
||||||
background-image: linear-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 0px);
|
background-image: linear-gradient(#d1d5db 1px, transparent 0px);
|
||||||
background-size: 100% 2em;
|
background-size: 100% 2em;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -55,7 +55,7 @@ The [close button](/close-button/) represents the button for closing the notific
|
|||||||
|
|
||||||
.notification__close-line {
|
.notification__close-line {
|
||||||
/* Background color */
|
/* Background color */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
|
|
||||||
/* Position */
|
/* Position */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@@ -17,7 +17,7 @@ keywords: css price tag
|
|||||||
|
|
||||||
```css
|
```css
|
||||||
:root {
|
:root {
|
||||||
--price-tag-background: rgba(0, 0, 0, 0.3);
|
--price-tag-background: #d1d5db;
|
||||||
--price-tag-height: 2rem;
|
--price-tag-height: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -53,7 +53,7 @@ keywords: css flexbox, css pricing table
|
|||||||
margin: 0 0.5rem;
|
margin: 0 0.5rem;
|
||||||
|
|
||||||
/* OPTIONAL: Border */
|
/* OPTIONAL: Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@@ -29,7 +29,7 @@ keywords: css flexbox, property list
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
|
|
||||||
/* Spacing */
|
/* Spacing */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@@ -38,7 +38,7 @@ keywords: css accordion, css faq, css flexbox
|
|||||||
|
|
||||||
```css
|
```css
|
||||||
.questions-and-answers__item:not(:last-child) {
|
.questions-and-answers__item:not(:last-child) {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
.questions-and-answers__header {
|
.questions-and-answers__header {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@@ -64,13 +64,13 @@ keywords: css ribbon
|
|||||||
.ribbon__side--l {
|
.ribbon__side--l {
|
||||||
/* Position */
|
/* Position */
|
||||||
left: -1.5rem;
|
left: -1.5rem;
|
||||||
border-color: rgba(0, 0, 0, .3) rgba(0, 0, 0, .3) rgba(0, 0, 0, .3) transparent;
|
border-color: #d1d5db #d1d5db #d1d5db transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ribbon__side--r {
|
.ribbon__side--r {
|
||||||
/* Position */
|
/* Position */
|
||||||
right: -1.5rem;
|
right: -1.5rem;
|
||||||
border-color: rgba(0, 0, 0, .3) transparent rgba(0, 0, 0, .3) rgba(0, 0, 0, .3);
|
border-color: #d1d5db transparent #d1d5db #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ribbon__triangle {
|
.ribbon__triangle {
|
||||||
|
@@ -49,7 +49,7 @@ keywords: css divider, css flexbox, css separator
|
|||||||
}
|
}
|
||||||
|
|
||||||
.separator__separator {
|
.separator__separator {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@@ -26,7 +26,7 @@ keywords: css border radius, css teardrop, css water drop shape, css water dropl
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 2px solid rgba(0, 0, 0, 0.3);
|
border: 2px solid #d1d5db;
|
||||||
border-radius: 0px 50% 50% 50%;
|
border-radius: 0px 50% 50% 50%;
|
||||||
|
|
||||||
/* Angle at the top */
|
/* Angle at the top */
|
||||||
|
@@ -67,22 +67,22 @@ keywords: css triangle buttons
|
|||||||
}
|
}
|
||||||
|
|
||||||
.triangle-buttons__triangle--t {
|
.triangle-buttons__triangle--t {
|
||||||
border-color: transparent transparent rgba(0, 0, 0, 0.3);
|
border-color: transparent transparent #d1d5db;
|
||||||
border-width: 0 0.5rem 0.5rem;
|
border-width: 0 0.5rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.triangle-buttons__triangle--r {
|
.triangle-buttons__triangle--r {
|
||||||
border-color: transparent transparent transparent rgba(0, 0, 0, 0.3);
|
border-color: transparent transparent transparent #d1d5db;
|
||||||
border-width: 0.5rem 0 0.5rem 0.5rem;
|
border-width: 0.5rem 0 0.5rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.triangle-buttons__triangle--b {
|
.triangle-buttons__triangle--b {
|
||||||
border-color: rgba(0, 0, 0, 0.3) transparent transparent;
|
border-color: #d1d5db transparent transparent;
|
||||||
border-width: 0.5rem 0.5rem 0;
|
border-width: 0.5rem 0.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.triangle-buttons__triangle--l {
|
.triangle-buttons__triangle--l {
|
||||||
border-color: transparent rgba(0, 0, 0, 0.3) transparent transparent;
|
border-color: transparent #d1d5db transparent transparent;
|
||||||
border-width: 0.5rem 0.5rem 0.5rem 0;
|
border-width: 0.5rem 0.5rem 0.5rem 0;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@@ -28,7 +28,7 @@ keywords: css flexbox, css triangle buttons, css voting control
|
|||||||
|
|
||||||
```css
|
```css
|
||||||
.voting {
|
.voting {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -62,12 +62,12 @@ keywords: css flexbox, css triangle buttons, css voting control
|
|||||||
}
|
}
|
||||||
|
|
||||||
.voting__triangle--up {
|
.voting__triangle--up {
|
||||||
border-color: transparent transparent rgba(0, 0, 0, 0.3);
|
border-color: transparent transparent #d1d5db;
|
||||||
border-width: 0 0.5rem 0.5rem;
|
border-width: 0 0.5rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.voting__triangle--down {
|
.voting__triangle--down {
|
||||||
border-color: rgba(0, 0, 0, 0.3) transparent transparent;
|
border-color: #d1d5db transparent transparent;
|
||||||
border-width: 0.5rem 0.5rem 0px;
|
border-width: 0.5rem 0.5rem 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -54,15 +54,15 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div style={{ width: '128px' }}>
|
<div style={{ width: '128px' }}>
|
||||||
<Rectangle height={16} />
|
<Rectangle height={16} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '36px', margin: '0 4px' }}>/</div>
|
<div style={{ color: '#d1d5db', fontSize: '36px', margin: '0 4px' }}>/</div>
|
||||||
<div style={{ width: '32px' }}>
|
<div style={{ width: '32px' }}>
|
||||||
<Rectangle height={16} />
|
<Rectangle height={16} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '36px', margin: '0 4px' }}>/</div>
|
<div style={{ color: '#d1d5db', fontSize: '36px', margin: '0 4px' }}>/</div>
|
||||||
<div style={{ width: '64px' }}>
|
<div style={{ width: '64px' }}>
|
||||||
<Rectangle height={16} />
|
<Rectangle height={16} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '36px', margin: '0 4px' }}>/</div>
|
<div style={{ color: '#d1d5db', fontSize: '36px', margin: '0 4px' }}>/</div>
|
||||||
<div style={{ width: '32px' }}>
|
<div style={{ width: '32px' }}>
|
||||||
<Rectangle height={16} />
|
<Rectangle height={16} />
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,131 +0,0 @@
|
|||||||
import * as React from 'react';
|
|
||||||
import Head from 'next/head';
|
|
||||||
import Link from 'next/link';
|
|
||||||
import { Spacer } from '@1milligram/design';
|
|
||||||
|
|
||||||
import { RelatedPatterns } from '../../components/RelatedPatterns';
|
|
||||||
import { Pattern } from '../../constants/Pattern';
|
|
||||||
import { PatternLayout } from '../../layouts/PatternLayout';
|
|
||||||
import BrowserFrame from '../../placeholders/BrowserFrame';
|
|
||||||
|
|
||||||
const InputChip: React.FC<{}> = ({ children }) => {
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
alignItems: 'center',
|
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
||||||
borderRadius: '9999px',
|
|
||||||
display: 'inline-flex',
|
|
||||||
justifyContent: 'center',
|
|
||||||
padding: '4px 8px',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div style={{ flex: 1, marginRight: '4px' }}>{children}</div>
|
|
||||||
<button
|
|
||||||
style={{
|
|
||||||
backgroundColor: 'transparent',
|
|
||||||
borderColor: 'transparent',
|
|
||||||
cursor: 'pointer',
|
|
||||||
height: '16px',
|
|
||||||
position: 'relative',
|
|
||||||
width: '16px',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
|
||||||
height: '1px',
|
|
||||||
left: 0,
|
|
||||||
position: 'absolute',
|
|
||||||
top: '50%',
|
|
||||||
transform: 'translate(0%, -50%) rotate(45deg)',
|
|
||||||
width: '100%',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
|
||||||
height: '100%',
|
|
||||||
left: '50%',
|
|
||||||
position: 'absolute',
|
|
||||||
top: 0,
|
|
||||||
transform: 'translate(-50%, 0%) rotate(45deg)',
|
|
||||||
width: '1px',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
const Details: React.FC<{}> = () => {
|
|
||||||
return (
|
|
||||||
<PatternLayout pattern={Pattern.Chip}>
|
|
||||||
<Head>
|
|
||||||
<meta name="description" content="Create a chip component with CSS flexbox" />
|
|
||||||
<meta name="og:description" content="Create a chip component with CSS flexbox" />
|
|
||||||
<meta name="twitter:description" content="Create a chip component with CSS flexbox" />
|
|
||||||
<meta name="keywords" content="css chip, css flexbox, css tag" />
|
|
||||||
</Head>
|
|
||||||
<div style={{ lineHeight: 1.5, marginBottom: '16px' }}>
|
|
||||||
You can use a{' '}
|
|
||||||
<Link href="/close-button">
|
|
||||||
<a>close button</a>
|
|
||||||
</Link>{' '}
|
|
||||||
to remove a chip.
|
|
||||||
</div>
|
|
||||||
<BrowserFrame
|
|
||||||
html={`
|
|
||||||
<div class="chip">
|
|
||||||
<!-- Content -->
|
|
||||||
<div class="chip__content">
|
|
||||||
...
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- The close button -->
|
|
||||||
<!-- See https://csslayout.io/patterns/close-button -->
|
|
||||||
...
|
|
||||||
</div>
|
|
||||||
`}
|
|
||||||
css={`
|
|
||||||
.chip {
|
|
||||||
/* Center the content */
|
|
||||||
align-items: center;
|
|
||||||
display: inline-flex;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
/* Background color */
|
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
|
||||||
|
|
||||||
/* Rounded border */
|
|
||||||
border-radius: 9999px;
|
|
||||||
|
|
||||||
/* Spacing */
|
|
||||||
padding: 4px 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chip__content {
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
`}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
alignItems: 'center',
|
|
||||||
display: 'flex',
|
|
||||||
height: '100%',
|
|
||||||
justifyContent: 'center',
|
|
||||||
padding: '8px',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<InputChip>CSS</InputChip>
|
|
||||||
</div>
|
|
||||||
</BrowserFrame>
|
|
||||||
|
|
||||||
<Spacer size="extraLarge" />
|
|
||||||
<RelatedPatterns patterns={[Pattern.CloseButton]} />
|
|
||||||
</PatternLayout>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Details;
|
|
@@ -38,7 +38,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
marginRight: '8px',
|
marginRight: '8px',
|
||||||
padding: '4px',
|
padding: '4px',
|
||||||
@@ -98,7 +98,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.label__square {
|
.label__square {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
/* Spacing */
|
/* Spacing */
|
||||||
|
@@ -37,7 +37,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
marginRight: '8px',
|
marginRight: '8px',
|
||||||
padding: '4px',
|
padding: '4px',
|
||||||
@@ -98,7 +98,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
|
|
||||||
.label__circle {
|
.label__circle {
|
||||||
/* Rounded border */
|
/* Rounded border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
|
|
||||||
/* Spacing */
|
/* Spacing */
|
||||||
|
@@ -18,8 +18,8 @@ const Details: React.FC<{}> = () => {
|
|||||||
return (
|
return (
|
||||||
<li
|
<li
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: isActive ? 'rgba(0, 0, 0, 0.3)' : '',
|
backgroundColor: isActive ? '#d1d5db' : '',
|
||||||
border: isActive ? 'none' : '1px solid rgba(0, 0, 0, 0.3)',
|
border: isActive ? 'none' : '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
height: '12px',
|
height: '12px',
|
||||||
@@ -68,11 +68,11 @@ const Details: React.FC<{}> = () => {
|
|||||||
width: 12px;
|
width: 12px;
|
||||||
|
|
||||||
/* Active dot */
|
/* Active dot */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
|
|
||||||
/* Inactive dot */
|
/* Inactive dot */
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
|
|
||||||
/* OPTIONAL: Spacing between dots */
|
/* OPTIONAL: Spacing between dots */
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
|
@@ -76,7 +76,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
left: 0,
|
left: 0,
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
@@ -83,7 +83,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<button
|
<button
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
@@ -112,7 +112,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
|
@@ -67,7 +67,7 @@ placeholder of input isn't shown
|
|||||||
<div
|
<div
|
||||||
className="p-floating-container"
|
className="p-floating-container"
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
padding: '0 1px',
|
padding: '0 1px',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
|
@@ -75,7 +75,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
}}
|
}}
|
||||||
@@ -87,7 +87,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div style={{ display: 'flex', flexGrow: 1 }}>
|
<div style={{ display: 'flex', flexGrow: 1 }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
width: '25%',
|
width: '25%',
|
||||||
}}
|
}}
|
||||||
@@ -99,7 +99,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
|
borderLeft: '1px solid #d1d5db',
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
width: '20%',
|
width: '20%',
|
||||||
}}
|
}}
|
||||||
@@ -109,7 +109,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderTop: '1px solid rgba(0, 0, 0, 0.3)',
|
borderTop: '1px solid #d1d5db',
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
}}
|
}}
|
||||||
|
@@ -89,7 +89,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div style={{ width: '256px' }}>
|
<div style={{ width: '256px' }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
@@ -101,7 +101,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -122,7 +122,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
@@ -143,7 +143,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
||||||
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
|
borderLeft: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -155,7 +155,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
@@ -166,7 +166,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -187,7 +187,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
||||||
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
|
borderLeft: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
|
@@ -53,7 +53,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
|
|
||||||
.container__content {
|
.container__content {
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
|
|
||||||
/* Hidden by default */
|
/* Hidden by default */
|
||||||
@@ -78,14 +78,14 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
display: 'inline-flex',
|
display: 'inline-flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
width: '150px',
|
width: '150px',
|
||||||
}}
|
}}
|
||||||
@@ -95,7 +95,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
className="p-mega-menu-trigger"
|
className="p-mega-menu-trigger"
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
width: '180px',
|
width: '180px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@@ -60,7 +60,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu__divider {
|
.menu__divider {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
}
|
}
|
||||||
`}
|
`}
|
||||||
@@ -93,7 +93,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
width: '40%',
|
width: '40%',
|
||||||
}}
|
}}
|
||||||
@@ -188,7 +188,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<Circle />
|
<Circle />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ borderBottom: '1px solid rgba(0, 0, 0, 0.3)', height: '1px' }} />
|
<div style={{ borderBottom: '1px solid #d1d5db', height: '1px' }} />
|
||||||
<div
|
<div
|
||||||
className="p-menu-item"
|
className="p-menu-item"
|
||||||
style={{
|
style={{
|
||||||
|
@@ -53,7 +53,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
css={`
|
css={`
|
||||||
.dropdown {
|
.dropdown {
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
/* Reset list styles */
|
/* Reset list styles */
|
||||||
@@ -73,7 +73,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
/* The sub dropdown */
|
/* The sub dropdown */
|
||||||
.dropdown ul {
|
.dropdown ul {
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
|
|
||||||
/* Hidden by default */
|
/* Hidden by default */
|
||||||
display: none;
|
display: none;
|
||||||
|
@@ -33,7 +33,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/* Right border */
|
/* Right border */
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.3);
|
border-right: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
.pagination__item + .pagination__item {
|
.pagination__item + .pagination__item {
|
||||||
/* No right border */
|
/* No right border */
|
||||||
@@ -64,7 +64,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
}}
|
}}
|
||||||
@@ -72,7 +72,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -84,7 +84,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -95,7 +95,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -106,7 +106,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -117,7 +117,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
|
@@ -57,7 +57,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<a
|
<a
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -70,7 +70,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<a
|
<a
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
|
@@ -71,7 +71,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.3);
|
border-right: 1px solid #d1d5db;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
/* For not selected radio */
|
/* For not selected radio */
|
||||||
@@ -119,7 +119,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
className="p-radio-button-group"
|
className="p-radio-button-group"
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
|
@@ -33,7 +33,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container__input {
|
.container__input {
|
||||||
@@ -56,7 +56,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div style={{ width: '256px' }}>
|
<div style={{ width: '256px' }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
marginBottom: '16px',
|
marginBottom: '16px',
|
||||||
@@ -78,7 +78,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'row-reverse',
|
flexDirection: 'row-reverse',
|
||||||
|
@@ -51,7 +51,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div style={{ display: 'flex', height: '100%' }}>
|
<div style={{ display: 'flex', height: '100%' }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
|
@@ -44,7 +44,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
height: 2px;
|
height: 2px;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container__circle {
|
.container__circle {
|
||||||
@@ -56,7 +56,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container__right {
|
.container__right {
|
||||||
@@ -65,7 +65,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
height: 2px;
|
height: 2px;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
}
|
}
|
||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
|
@@ -44,7 +44,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
`}
|
`}
|
||||||
css={`
|
css={`
|
||||||
.container {
|
.container {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
}}
|
}}
|
||||||
|
@@ -61,7 +61,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<ul
|
<ul
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
listStyleType: 'none',
|
listStyleType: 'none',
|
||||||
|
@@ -45,7 +45,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
@@ -45,7 +45,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
|
|
||||||
/* Size */
|
/* Size */
|
||||||
height: 32px;
|
height: 32px;
|
||||||
@@ -85,7 +85,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
@@ -108,8 +108,8 @@ const Details: React.FC<{}> = () => {
|
|||||||
</button>
|
</button>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
|
borderLeft: '1px solid #d1d5db',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
height: '100%',
|
height: '100%',
|
||||||
}}
|
}}
|
||||||
|
@@ -59,7 +59,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
}}
|
}}
|
||||||
@@ -73,7 +73,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderTop: '1px solid rgba(0, 0, 0, 0.3)',
|
borderTop: '1px solid #d1d5db',
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
}}
|
}}
|
||||||
|
@@ -44,7 +44,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: '#FFF',
|
backgroundColor: '#FFF',
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
position: 'sticky',
|
position: 'sticky',
|
||||||
top: 0,
|
top: 0,
|
||||||
|
@@ -64,7 +64,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
<section
|
<section
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
position: 'sticky',
|
position: 'sticky',
|
||||||
top: 0,
|
top: 0,
|
||||||
|
@@ -45,7 +45,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
|
|
||||||
/* OFF status */
|
/* OFF status */
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
|
|
||||||
/* ON status */
|
/* ON status */
|
||||||
background-color: #357edd;
|
background-color: #357edd;
|
||||||
@@ -69,7 +69,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
/* OFF status */
|
/* OFF status */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
@@ -87,7 +87,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
htmlFor="checkbox-switch"
|
htmlFor="checkbox-switch"
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: checked ? '#357EDD' : 'rgba(0, 0, 0, 0.1)',
|
backgroundColor: checked ? '#357EDD' : 'rgba(0, 0, 0, 0.1)',
|
||||||
border: `1px solid ${checked ? '#357EDD' : 'rgba(0, 0, 0, 0.3)'}`,
|
border: `1px solid ${checked ? '#357EDD' : '#d1d5db'}`,
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
@@ -105,7 +105,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: '#FFF',
|
backgroundColor: '#FFF',
|
||||||
border: checked ? '' : '1px solid rgba(0, 0, 0, 0.3)',
|
border: checked ? '' : '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
width: '32px',
|
width: '32px',
|
||||||
}}
|
}}
|
||||||
|
@@ -19,8 +19,8 @@ const Details: React.FC<{}> = () => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
[isActive ? 'border' : 'borderBottom']: '1px solid rgba(0, 0, 0, 0.3)',
|
[isActive ? 'border' : 'borderBottom']: '1px solid #d1d5db',
|
||||||
borderBottomColor: isActive ? 'transparent' : 'rgba(0, 0, 0, 0.3)',
|
borderBottomColor: isActive ? 'transparent' : '#d1d5db',
|
||||||
borderTopLeftRadius: '4px',
|
borderTopLeftRadius: '4px',
|
||||||
borderTopRightRadius: '4px',
|
borderTopRightRadius: '4px',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
@@ -65,7 +65,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
|
|
||||||
.tabs__tab--active {
|
.tabs__tab--active {
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
/* Hide the bottom border */
|
/* Hide the bottom border */
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
|
|
||||||
.tabs__tab--inactive {
|
.tabs__tab--inactive {
|
||||||
/* Has only the bottom border */
|
/* Has only the bottom border */
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
|
@@ -34,7 +34,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container__input {
|
.container__input {
|
||||||
@@ -57,7 +57,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div style={{ width: '256px' }}>
|
<div style={{ width: '256px' }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
}}
|
}}
|
||||||
|
@@ -39,7 +39,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
/* Border */
|
/* Border */
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container__input {
|
.container__input {
|
||||||
@@ -73,7 +73,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
|
@@ -63,7 +63,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
.wizard__connector {
|
.wizard__connector {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wizard__step:first-child .wizard__connector,
|
.wizard__step:first-child .wizard__connector,
|
||||||
@@ -78,7 +78,7 @@ const Details: React.FC<{}> = () => {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/* Rounded border */
|
/* Rounded border */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
|
@@ -1,72 +0,0 @@
|
|||||||
import * as React from 'react';
|
|
||||||
|
|
||||||
import Frame from '../../placeholders/Frame';
|
|
||||||
import Rectangle from '../../placeholders/Rectangle';
|
|
||||||
|
|
||||||
const Cover: React.FC<{}> = () => {
|
|
||||||
return (
|
|
||||||
<Frame>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
alignItems: 'center',
|
|
||||||
display: 'flex',
|
|
||||||
flexDirection: 'column',
|
|
||||||
height: '100%',
|
|
||||||
justifyContent: 'center',
|
|
||||||
padding: '8px',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
alignItems: 'center',
|
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
||||||
borderRadius: '9999px',
|
|
||||||
display: 'inline-flex',
|
|
||||||
justifyContent: 'center',
|
|
||||||
padding: '4px 8px',
|
|
||||||
width: '80%',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div style={{ flex: 1, marginRight: '4px' }}>
|
|
||||||
<Rectangle />
|
|
||||||
</div>
|
|
||||||
<button
|
|
||||||
style={{
|
|
||||||
backgroundColor: 'transparent',
|
|
||||||
borderColor: 'transparent',
|
|
||||||
cursor: 'pointer',
|
|
||||||
height: '16px',
|
|
||||||
position: 'relative',
|
|
||||||
width: '16px',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
|
||||||
height: '1px',
|
|
||||||
left: 0,
|
|
||||||
position: 'absolute',
|
|
||||||
top: '50%',
|
|
||||||
transform: 'translate(0%, -50%) rotate(45deg)',
|
|
||||||
width: '100%',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
|
||||||
height: '100%',
|
|
||||||
left: '50%',
|
|
||||||
position: 'absolute',
|
|
||||||
top: 0,
|
|
||||||
transform: 'translate(-50%, 0%) rotate(45deg)',
|
|
||||||
width: '1px',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Frame>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Cover;
|
|
@@ -18,7 +18,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div style={{ position: 'relative' }}>
|
<div style={{ position: 'relative' }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
color: '#FFF',
|
color: '#FFF',
|
||||||
height: '16px',
|
height: '16px',
|
||||||
|
@@ -28,7 +28,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '24px',
|
height: '24px',
|
||||||
@@ -55,7 +55,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '24px',
|
height: '24px',
|
||||||
|
@@ -28,7 +28,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
@@ -53,7 +53,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
@@ -18,7 +18,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div style={{ alignItems: 'center', display: 'flex' }}>
|
<div style={{ alignItems: 'center', display: 'flex' }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
height: '8px',
|
height: '8px',
|
||||||
margin: '0 4px',
|
margin: '0 4px',
|
||||||
@@ -27,7 +27,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
height: '8px',
|
height: '8px',
|
||||||
margin: '0 4px',
|
margin: '0 4px',
|
||||||
@@ -36,7 +36,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
height: '8px',
|
height: '8px',
|
||||||
margin: '0 4px',
|
margin: '0 4px',
|
||||||
@@ -45,7 +45,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
height: '8px',
|
height: '8px',
|
||||||
margin: '0 4px',
|
margin: '0 4px',
|
||||||
|
@@ -8,7 +8,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<Frame>
|
<Frame>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
@@ -19,7 +19,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '24px',
|
height: '24px',
|
||||||
@@ -33,7 +33,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
@@ -45,7 +45,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
padding: '0 4px',
|
padding: '0 4px',
|
||||||
@@ -56,7 +56,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
padding: '0 4px',
|
padding: '0 4px',
|
||||||
|
@@ -17,7 +17,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
height: '32px',
|
height: '32px',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
|
@@ -15,7 +15,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -41,7 +41,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div style={{ display: 'flex', flexGrow: 1 }}>
|
<div style={{ display: 'flex', flexGrow: 1 }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
width: '30%',
|
width: '30%',
|
||||||
}}
|
}}
|
||||||
@@ -76,7 +76,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
|
borderLeft: '1px solid #d1d5db',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
width: '30%',
|
width: '30%',
|
||||||
}}
|
}}
|
||||||
@@ -91,7 +91,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderTop: '1px solid rgba(0, 0, 0, 0.3)',
|
borderTop: '1px solid #d1d5db',
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@@ -17,7 +17,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '24px',
|
height: '24px',
|
||||||
@@ -27,7 +27,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '0 8px',
|
padding: '0 8px',
|
||||||
|
@@ -41,7 +41,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
}}
|
}}
|
||||||
|
@@ -18,7 +18,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
@@ -29,7 +29,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
padding: '0 8px',
|
padding: '0 8px',
|
||||||
@@ -40,7 +40,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
padding: '0 8px',
|
padding: '0 8px',
|
||||||
|
@@ -20,7 +20,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
}}
|
}}
|
||||||
@@ -44,7 +44,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<Circle size={8} />
|
<Circle size={8} />
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderTopColor: 'transparent',
|
borderTopColor: 'transparent',
|
||||||
left: 0,
|
left: 0,
|
||||||
padding: '4px',
|
padding: '4px',
|
||||||
|
@@ -18,7 +18,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
}}
|
}}
|
||||||
@@ -26,7 +26,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
@@ -37,7 +37,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
|
@@ -25,7 +25,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
padding: '4px 8px',
|
padding: '4px 8px',
|
||||||
}}
|
}}
|
||||||
@@ -34,7 +34,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
padding: '4px 8px',
|
padding: '4px 8px',
|
||||||
}}
|
}}
|
||||||
|
@@ -17,7 +17,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '24px',
|
height: '24px',
|
||||||
@@ -27,13 +27,13 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: '#00449E',
|
backgroundColor: '#00449E',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
@@ -19,7 +19,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
@@ -22,11 +22,11 @@ const Cover: React.FC<{}> = () => {
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '12px', padding: '2px' }}>★</div>
|
<div style={{ color: '#d1d5db', fontSize: '12px', padding: '2px' }}>★</div>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '12px', padding: '2px' }}>★</div>
|
<div style={{ color: '#d1d5db', fontSize: '12px', padding: '2px' }}>★</div>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '12px', padding: '2px' }}>★</div>
|
<div style={{ color: '#d1d5db', fontSize: '12px', padding: '2px' }}>★</div>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '12px', padding: '2px' }}>☆</div>
|
<div style={{ color: '#d1d5db', fontSize: '12px', padding: '2px' }}>☆</div>
|
||||||
<div style={{ color: 'rgba(0, 0, 0, 0.3)', fontSize: '12px', padding: '2px' }}>☆</div>
|
<div style={{ color: '#d1d5db', fontSize: '12px', padding: '2px' }}>☆</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Frame>
|
</Frame>
|
||||||
|
@@ -19,7 +19,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
|
@@ -9,7 +9,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div style={{ display: 'flex', height: '100%' }}>
|
<div style={{ display: 'flex', height: '100%' }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
@@ -26,7 +26,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
borderWidth: '4px',
|
borderWidth: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
|
@@ -18,7 +18,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
|
@@ -19,7 +19,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
padding: '4px',
|
padding: '4px',
|
||||||
|
@@ -11,7 +11,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
@@ -16,7 +16,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '24px',
|
height: '24px',
|
||||||
@@ -26,7 +26,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
width: '16px',
|
width: '16px',
|
||||||
@@ -38,7 +38,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderLeft: '1px solid rgba(0, 0, 0, 0.3)',
|
borderLeft: '1px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
width: '16px',
|
width: '16px',
|
||||||
|
@@ -15,8 +15,8 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
|
borderBottom: '1px solid #d1d5db',
|
||||||
borderRight: '4px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '4px solid #d1d5db',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -41,7 +41,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '4px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '4px solid #d1d5db',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@@ -36,7 +36,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
|
borderRight: '1px solid #d1d5db',
|
||||||
borderWidth: '4px',
|
borderWidth: '4px',
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
}}
|
}}
|
||||||
|
@@ -30,7 +30,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
}}
|
}}
|
||||||
|
@@ -17,7 +17,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.1)',
|
border: '1px solid rgba(0, 0, 0, 0.1)',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
@@ -25,7 +25,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderBottomColor: 'transparent',
|
borderBottomColor: 'transparent',
|
||||||
borderTopLeftRadius: '4px',
|
borderTopLeftRadius: '4px',
|
||||||
borderTopRightRadius: '4px',
|
borderTopRightRadius: '4px',
|
||||||
@@ -34,10 +34,10 @@ const Cover: React.FC<{}> = () => {
|
|||||||
>
|
>
|
||||||
<Circle size={8} />
|
<Circle size={8} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ borderBottom: '1px solid rgba(0, 0, 0, 0.3)', padding: '4px 8px' }}>
|
<div style={{ borderBottom: '1px solid #d1d5db', padding: '4px 8px' }}>
|
||||||
<Circle size={8} />
|
<Circle size={8} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ borderBottom: '1px solid rgba(0, 0, 0, 0.3)', padding: '4px 8px' }}>
|
<div style={{ borderBottom: '1px solid #d1d5db', padding: '4px 8px' }}>
|
||||||
<Circle size={8} />
|
<Circle size={8} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -19,7 +19,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
|
@@ -19,7 +19,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
padding: '8px',
|
padding: '8px',
|
||||||
|
@@ -29,7 +29,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
color: '#FFF',
|
color: '#FFF',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
@@ -59,7 +59,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
color: '#FFF',
|
color: '#FFF',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
@@ -89,7 +89,7 @@ const Cover: React.FC<{}> = () => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.3)',
|
backgroundColor: '#d1d5db',
|
||||||
borderRadius: '9999px',
|
borderRadius: '9999px',
|
||||||
color: '#FFF',
|
color: '#FFF',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
@@ -10,7 +10,7 @@ interface BlockProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Block: React.FC<BlockProps> = ({
|
const Block: React.FC<BlockProps> = ({
|
||||||
backgroundColor = 'rgba(0, 0, 0, 0.3)',
|
backgroundColor = '#d1d5db',
|
||||||
blockHeight = 4,
|
blockHeight = 4,
|
||||||
justify = 'start',
|
justify = 'start',
|
||||||
numberOfBlocks = 1,
|
numberOfBlocks = 1,
|
||||||
|
@@ -4,7 +4,7 @@ const Frame: React.FC<{}> = ({ children }) => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid rgba(0, 0, 0, 0.3)',
|
border: '1px solid #d1d5db',
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
boxShadow: 'rgba(0, 0, 0, 0.2) 0px 16px 24px -4px, rgba(0, 0, 0, 0.05) 0px 8px 8px -4px',
|
boxShadow: 'rgba(0, 0, 0, 0.2) 0px 16px 24px -4px, rgba(0, 0, 0, 0.05) 0px 8px 8px -4px',
|
||||||
height: '100px',
|
height: '100px',
|
||||||
|
@@ -74,7 +74,7 @@
|
|||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
}
|
}
|
||||||
> ol li::before {
|
> ol li::before {
|
||||||
background-color: #e5e7eb;
|
background-color: #d1d5db;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
content: counter(ol-step-counter);
|
content: counter(ol-step-counter);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
@import './patterns/button-with-icon';
|
@import './patterns/button-with-icon';
|
||||||
@import './patterns/card';
|
@import './patterns/card';
|
||||||
@import './patterns/centering';
|
@import './patterns/centering';
|
||||||
|
@import './patterns/chip';
|
||||||
@import './patterns/close-button';
|
@import './patterns/close-button';
|
||||||
@import './patterns/color-swatch';
|
@import './patterns/color-swatch';
|
||||||
@import './patterns/concave-corners';
|
@import './patterns/concave-corners';
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
.accordion {
|
.accordion {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.accordion__item:not(:last-child) {
|
.accordion__item:not(:last-child) {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
}
|
}
|
||||||
.accordion__header {
|
.accordion__header {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@@ -14,29 +14,29 @@
|
|||||||
|
|
||||||
.arrow-button--t {
|
.arrow-button--t {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-left: 1px solid rgba(0, 0, 0, 0.3);
|
border-left: 1px solid #d1d5db;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.3);
|
border-top: 1px solid #d1d5db;
|
||||||
transform: translateY(25%) rotate(45deg);
|
transform: translateY(25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-button--r {
|
.arrow-button--r {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.3);
|
border-right: 1px solid #d1d5db;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.3);
|
border-top: 1px solid #d1d5db;
|
||||||
transform: translateX(-25%) rotate(45deg);
|
transform: translateX(-25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-button--b {
|
.arrow-button--b {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.3);
|
border-right: 1px solid #d1d5db;
|
||||||
transform: translateY(-25%) rotate(45deg);
|
transform: translateY(-25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-button--l {
|
.arrow-button--l {
|
||||||
/* Edges */
|
/* Edges */
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
border-bottom: 1px solid #d1d5db;
|
||||||
border-left: 1px solid rgba(0, 0, 0, 0.3);
|
border-left: 1px solid #d1d5db;
|
||||||
transform: translateX(25%) rotate(45deg);
|
transform: translateX(25%) rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
height: 8rem;
|
height: 8rem;
|
||||||
width: 8rem;
|
width: 8rem;
|
||||||
|
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
/* Rounded border */
|
/* Rounded border */
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
background-color: rgba(0, 0, 0, 0.3);
|
background-color: #d1d5db;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
/* Rounded border */
|
/* Rounded border */
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user