PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.3.3
Block Animations, Motion & Scroll Effects – Ghost Kit v3.3.3
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / gutenberg / blocks / google-maps / styles / editor.scss

editor.scss in Block Animations, Motion & Scroll Effects – Ghost Kit 3.3.3, at gutenberg/blocks/google-maps/styles/editor.scss

150 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Editor Styles
3 */
4 @import "./variables";
5
6 // Fullheight
7 .ghostkit-google-maps-fullheight .ghostkit-google-maps-wrap,
8 .ghostkit-google-maps-fullheight .ghostkit-google-maps-placeholder {
9 height: 100vh;
10 }
11
12 .ghostkit-google-maps-wrap .components-resizable-box__container > div {
13 width: 100%;
14 height: 100%;
15 }
16
17 .ghostkit-google-maps-search {
18 display: flex;
19 flex-wrap: wrap;
20 padding: 15px 0;
21 margin-top: 15px;
22 background-color: #f9f9f9;
23 border: 1px solid #efefef;
24 border-radius: 3px;
25
26 > div {
27 flex: 1;
28 min-width: 250px;
29 max-width: 250px;
30 padding-right: 15px;
31 padding-left: 15px;
32 }
33
34 .ghostkit-google-maps-search-note {
35 padding-top: 20px;
36 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
37 font-size: 14px;
38
39 p {
40 margin-top: 0;
41 line-height: 1.4;
42
43 + p {
44 margin-top: -10px;
45 }
46 }
47
48 small {
49 font-size: 12px;
50 opacity: 0.6;
51
52 + small {
53 margin-left: 10px;
54 }
55 }
56 }
57 }
58
59 // markers
60 .ghostkit-google-maps-markers {
61 .ghostkit-component-dropdown-picker-wrapper,
62 .ghostkit-component-dropdown-picker-wrapper > div {
63 margin-bottom: 0;
64 }
65 .ghostkit-component-dropdown-picker-wrapper + .ghostkit-component-dropdown-picker-wrapper .components-button {
66 border-top: none;
67 }
68 }
69 .ghostkit-google-maps-marker-remove {
70 float: right;
71 padding: 0;
72 font-size: 10px;
73 color: #b9b9b9;
74 box-shadow: none !important;
75
76 &:hover,
77 &:focus {
78 color: #e73535;
79 }
80 }
81 .ghostkit-component-google-maps-markers {
82 > .components-popover__content {
83 display: flex;
84 flex-direction: column;
85 gap: 10px;
86 }
87
88 // icon
89 .ghostkit-google-maps-marker-options-content-icon {
90 display: flex;
91 flex-wrap: wrap;
92 align-items: center;
93 justify-content: space-between;
94 }
95
96 .ghostkit-google-maps-icon-reset {
97 float: right;
98 }
99
100 // info window
101 .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text {
102 padding: 10px;
103 border: 1px solid #e8e8e8;
104
105 p:last-child {
106 margin-bottom: 0;
107 }
108 }
109 }
110
111 // placeholder
112 .ghostkit-google-maps-placeholder {
113 position: relative;
114 background-color: var(--gkt-google-maps__background-color);
115
116 svg {
117 position: absolute;
118 top: 50%;
119 left: 50%;
120 opacity: var(--gkt-google-maps--placeholder-icon__opacity);
121 transform: translateX(-50%) translateY(-50%);
122 }
123
124 .ghostkit-google-maps-placeholder-key {
125 position: absolute;
126 bottom: 0;
127 padding: 5px 10px;
128 margin: 10px;
129 font-size: 13px;
130 background-color: #fff;
131 border: 1px solid #dadada;
132 }
133 }
134
135 // Search dropdown
136 .pac-container {
137 box-shadow: 0 2px 17px rgba(0, 0, 0, 20%);
138
139 &::after {
140 height: 20px;
141 background-position: calc(100% - 7px) 1px;
142 background-size: 80px;
143 }
144
145 .pac-item {
146 padding: 2px 6px;
147 border-top: 1px solid #f3f3f3;
148 }
149 }
150