| 1 |
/** |
| 2 |
* Editor Additional Styles. |
| 3 |
*/ |
| 4 |
@import "../../../gutenberg/variables"; |
| 5 |
|
| 6 |
.ghostkit-help-text { |
| 7 |
font-size: 90%; |
| 8 |
font-style: italic; |
| 9 |
color: #a0a0a0; |
| 10 |
} |
| 11 |
|
| 12 |
.ghostkit-code { |
| 13 |
background: #eef0f3; |
| 14 |
border-radius: 3px; |
| 15 |
} |
| 16 |
|
| 17 |
/** |
| 18 |
* Grid for controls. |
| 19 |
*/ |
| 20 |
.ghostkit-grid-controls { |
| 21 |
display: flex; |
| 22 |
flex-wrap: wrap; |
| 23 |
margin: 0 -10px; |
| 24 |
|
| 25 |
> * { |
| 26 |
flex: 1; |
| 27 |
min-width: 80px; |
| 28 |
margin: 0 10px !important; |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
/** |
| 33 |
* Extensions icon in panel body |
| 34 |
*/ |
| 35 |
.components-panel__body-toggle > .ghostkit-ext-icon { |
| 36 |
position: absolute; |
| 37 |
top: 50%; |
| 38 |
display: block; |
| 39 |
transform: translateY(-50%); |
| 40 |
|
| 41 |
svg { |
| 42 |
display: block; |
| 43 |
} |
| 44 |
|
| 45 |
+ span { |
| 46 |
margin-left: 35px; |
| 47 |
} |
| 48 |
} |
| 49 |
|
| 50 |
/** |
| 51 |
* Tabs Control. |
| 52 |
*/ |
| 53 |
.ghostkit-control-tabs { |
| 54 |
> .components-tab-panel__tabs { |
| 55 |
display: flex; |
| 56 |
flex-wrap: wrap; |
| 57 |
margin-bottom: 15px; |
| 58 |
border-bottom: 1px solid $light-gray-400; |
| 59 |
|
| 60 |
// single tab |
| 61 |
> .ghostkit-control-tabs-tab { |
| 62 |
padding: 9px 11px; |
| 63 |
padding-bottom: 11px; |
| 64 |
margin: 0; |
| 65 |
margin-bottom: -1px; |
| 66 |
color: #555d66; |
| 67 |
cursor: pointer; |
| 68 |
background: none; |
| 69 |
border: none; |
| 70 |
border-bottom: 2px solid transparent; |
| 71 |
border-radius: 0; |
| 72 |
outline-offset: -1px; |
| 73 |
|
| 74 |
svg { |
| 75 |
display: block; |
| 76 |
width: auto; |
| 77 |
height: 1.4em; |
| 78 |
} |
| 79 |
|
| 80 |
&.is-active { |
| 81 |
position: relative; |
| 82 |
z-index: 1; |
| 83 |
border-bottom: 2px solid $blue-medium-focus; |
| 84 |
} |
| 85 |
} |
| 86 |
} |
| 87 |
|
| 88 |
// wide |
| 89 |
&.ghostkit-control-tabs-wide > .components-tab-panel__tabs > .ghostkit-control-tabs-tab { |
| 90 |
flex: 1; |
| 91 |
justify-content: center; |
| 92 |
text-align: center; |
| 93 |
} |
| 94 |
|
| 95 |
.ghostkit-control-tabs-separator { |
| 96 |
padding: 15px; |
| 97 |
margin-right: -15px; |
| 98 |
margin-left: -15px; |
| 99 |
border-top: 1px solid $light-gray-400; |
| 100 |
|
| 101 |
&:first-child { |
| 102 |
margin-top: -16px; |
| 103 |
} |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
/** |
| 108 |
* |
| 109 |
*/ |
| 110 |
.ghostkit-component-input-drag { |
| 111 |
input { |
| 112 |
cursor: n-resize; |
| 113 |
} |
| 114 |
} |
| 115 |
|