move docs to own folder
This commit is contained in:
64
docs/src/components/Demo/style.scss
Normal file
64
docs/src/components/Demo/style.scss
Normal file
@@ -0,0 +1,64 @@
|
||||
.demo {
|
||||
background-color: $colorWhite;
|
||||
overflow: hidden;
|
||||
border-radius: 12px;
|
||||
box-shadow:
|
||||
0px 6.6501px 5.32008px rgba($colorBlack, 0.0161557),
|
||||
0px 22.3363px 17.869px rgba($colorBlack, 0.0238443),
|
||||
0px 100px 80px rgba($colorBlack, 0.04),
|
||||
0 0 0 1px rgba($colorBlack, 0.05),
|
||||
;
|
||||
|
||||
&__preview {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
&__source {
|
||||
background-color: $colorLightGrey;
|
||||
}
|
||||
|
||||
&__tabs {
|
||||
padding: 0 1.5rem;
|
||||
border-bottom: 1px solid rgba($colorBlack, 0.05);
|
||||
}
|
||||
|
||||
&__tab {
|
||||
position: relative;
|
||||
color: rgba($colorBlack, 0.5);
|
||||
font: inherit;
|
||||
font-weight: 500;
|
||||
padding: 0.75rem 0;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
margin-right: 1rem;
|
||||
|
||||
&.is-active {
|
||||
color: $colorBlack;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background-color: $colorBlack;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__code {
|
||||
padding: 0.75rem 1.5rem;
|
||||
|
||||
code, pre {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
[class*="language-"] {
|
||||
background: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user