| 1 |
@import "../../variables"; |
| 2 |
|
| 3 |
.ghostkit-pro-component-note-inner { |
| 4 |
padding: 20px; |
| 5 |
text-align: left; |
| 6 |
background-color: $light-gray-300; |
| 7 |
border-radius: 4px; |
| 8 |
|
| 9 |
h3 { |
| 10 |
margin-top: 0; |
| 11 |
margin-bottom: 15px; |
| 12 |
font-size: 14px; |
| 13 |
text-transform: none; |
| 14 |
} |
| 15 |
|
| 16 |
ul { |
| 17 |
list-style: none; |
| 18 |
|
| 19 |
li::before { |
| 20 |
display: inline; |
| 21 |
margin-bottom: 5px; |
| 22 |
content: "- "; |
| 23 |
} |
| 24 |
} |
| 25 |
} |
| 26 |
|
| 27 |
.ghostkit-pro-component-note-collapsed { |
| 28 |
position: relative; |
| 29 |
|
| 30 |
.ghostkit-pro-component-note-inner { |
| 31 |
position: relative; |
| 32 |
z-index: 2; |
| 33 |
} |
| 34 |
|
| 35 |
&::after { |
| 36 |
position: absolute; |
| 37 |
top: 0; |
| 38 |
right: 0; |
| 39 |
bottom: 0; |
| 40 |
left: 0; |
| 41 |
z-index: 1; |
| 42 |
display: block; |
| 43 |
margin: -2px; |
| 44 |
content: ""; |
| 45 |
background: linear-gradient(-45deg, #5c39a7, #528be6); |
| 46 |
border-radius: 6px; |
| 47 |
} |
| 48 |
|
| 49 |
h3 { |
| 50 |
margin-bottom: 0; |
| 51 |
} |
| 52 |
|
| 53 |
button { |
| 54 |
position: absolute; |
| 55 |
top: 0; |
| 56 |
left: 0; |
| 57 |
justify-content: flex-end; |
| 58 |
width: 100%; |
| 59 |
height: 100%; |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
.ghostkit-pro-component-note-button { |
| 64 |
display: inline-block; |
| 65 |
padding: 7px 15px; |
| 66 |
margin-top: 5px; |
| 67 |
text-decoration: none; |
| 68 |
background: linear-gradient(-45deg, #5c39a7, #528be6); |
| 69 |
border-radius: 3px; |
| 70 |
transition: 0.2s filter, 0.2s transform; |
| 71 |
|
| 72 |
&, |
| 73 |
&:hover, |
| 74 |
&:focus, |
| 75 |
&:active { |
| 76 |
color: #fff; |
| 77 |
} |
| 78 |
|
| 79 |
&:hover, |
| 80 |
&:focus { |
| 81 |
filter: contrast(1.5) drop-shadow(0 3px 3px rgba(#528be6, 30%)); |
| 82 |
transform: translateY(-1px); |
| 83 |
} |
| 84 |
} |
| 85 |
|