| 1 |
.sp-smart-post-tab-panel { |
| 2 |
.sp-smart-post-button-group { |
| 3 |
width: 100%; |
| 4 |
|
| 5 |
&-list { |
| 6 |
display: flex; |
| 7 |
width: 100%; |
| 8 |
} |
| 9 |
|
| 10 |
&-list { |
| 11 |
border: 1px solid #d7dade; |
| 12 |
|
| 13 |
button { |
| 14 |
padding: 0px; |
| 15 |
background-color: #ffffff; |
| 16 |
color: #1e1e1e; |
| 17 |
box-shadow: none; |
| 18 |
width: 100%; |
| 19 |
height: 32px; |
| 20 |
justify-content: center; |
| 21 |
position: relative; |
| 22 |
|
| 23 |
&:focus:not(:disabled) { |
| 24 |
outline: none; |
| 25 |
box-shadow: none; |
| 26 |
} |
| 27 |
|
| 28 |
span { |
| 29 |
display: flex; |
| 30 |
justify-content: center; |
| 31 |
align-items: center; |
| 32 |
} |
| 33 |
|
| 34 |
p { |
| 35 |
opacity: 0; |
| 36 |
visibility: hidden; |
| 37 |
position: absolute; |
| 38 |
top: -40px; |
| 39 |
right: 50%; |
| 40 |
transform: translateX(50%); |
| 41 |
background-color: #757575; |
| 42 |
color: #fff; |
| 43 |
padding: 8px 10px; |
| 44 |
white-space: nowrap; |
| 45 |
font-size: 10px; |
| 46 |
border-radius: 4px; |
| 47 |
transition: 0.3s; |
| 48 |
} |
| 49 |
|
| 50 |
& p::after { |
| 51 |
position: absolute; |
| 52 |
content: ""; |
| 53 |
top: 30px; |
| 54 |
right: 50%; |
| 55 |
transform: translateX(50%); |
| 56 |
border-width: 10px; |
| 57 |
border-color: #757575 transparent transparent transparent; |
| 58 |
border-style: solid; |
| 59 |
opacity: 0; |
| 60 |
visibility: hidden; |
| 61 |
transition: 0.3s; |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
button:hover span{ |
| 66 |
color: #1e1e1e; |
| 67 |
} |
| 68 |
|
| 69 |
button:hover p { |
| 70 |
opacity: 1; |
| 71 |
visibility: visible; |
| 72 |
} |
| 73 |
|
| 74 |
button:hover p::after { |
| 75 |
opacity: 1; |
| 76 |
visibility: visible; |
| 77 |
} |
| 78 |
} |
| 79 |
|
| 80 |
&-list { |
| 81 |
button.active { |
| 82 |
span { |
| 83 |
background-color: var( --sp-smart-primary-2-400 ); |
| 84 |
color: #fff; |
| 85 |
width: calc(100% - 4px); |
| 86 |
height: 28px; |
| 87 |
|
| 88 |
svg { |
| 89 |
fill: #fff; |
| 90 |
|
| 91 |
path { |
| 92 |
stroke: #fff; |
| 93 |
} |
| 94 |
} |
| 95 |
} |
| 96 |
} |
| 97 |
} |
| 98 |
|
| 99 |
.has-border { |
| 100 |
button { |
| 101 |
border-left: 1px solid #d7dade; |
| 102 |
margin-left: 0; |
| 103 |
|
| 104 |
&:first-child { |
| 105 |
border-left: 0; |
| 106 |
} |
| 107 |
} |
| 108 |
} |
| 109 |
} |
| 110 |
|
| 111 |
.sp-smart-post-button-group.button-style-2 { |
| 112 |
justify-content: space-between; |
| 113 |
align-items: center; |
| 114 |
|
| 115 |
.sp-smart-post-button-group-list { |
| 116 |
width: 130px; |
| 117 |
} |
| 118 |
|
| 119 |
.sp-smart-post-component-title, |
| 120 |
.sp-smart-post-component-top { |
| 121 |
margin-bottom: 0; |
| 122 |
} |
| 123 |
} |
| 124 |
} |
| 125 |
|
| 126 |
.sp-smart-post-component-top.sp-smart-post-component-title, |
| 127 |
.sp-smart-post-header .sp-smart-post-component-title { |
| 128 |
font-size: 13px; |
| 129 |
font-weight: 400; |
| 130 |
line-height: 20px; |
| 131 |
margin-bottom: 9px; |
| 132 |
} |
| 133 |
|
| 134 |
.sp-smart-post-d-flex .sp-smart-post-header .sp-smart-post-component-title { |
| 135 |
font-size: 13px; |
| 136 |
font-weight: 400; |
| 137 |
line-height: 20px; |
| 138 |
margin-bottom: 0; |
| 139 |
} |