PluginProbe
HTML Editor for Contact Form 7 / 0.2
HTML Editor for Contact Form 7 v0.2
trunk 0.1 0.2 1.0 1.0.1
cf7-coder / assets / style.css

style.css in HTML Editor for Contact Form 7 0.2, at assets/style.css

98 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .CodeMirror {
2 margin-top: 15px;
3 box-shadow: 0 0 0 transparent;
4 resize: vertical;
5 }
6
7 .wpcf7-custom-css {
8 margin: 15px 0 0 46px;
9 }
10
11 .wpcf7-custom-css ul {
12 margin-left: 15px;
13 list-style: square;
14 }
15
16 .has-tooltip {
17 position: relative;
18 cursor: help;
19 }
20 .has-tooltip.is-pointer {
21 cursor: pointer;
22 }
23 .has-tooltip::before, .has-tooltip::after {
24 color: #efefef;
25 font-size: 12px;
26 opacity: 0;
27 pointer-events: none;
28 text-align: center;
29 }
30 .has-tooltip::before {
31 position: absolute;
32 top: 0;
33 left: 50%;
34 background-color: rgba(0, 0, 0, 0.85);
35 border-radius: 2px;
36 color: #ffffff;
37 content: attr(data-tooltip);
38 padding: 10px;
39 text-transform: none;
40 transition: all 0.5s ease;
41 max-width: 200px;
42 width: max-content;
43 transform: translateY(calc(-100% - 7px)) translateX(-50%);
44 word-wrap: break-word;
45 white-space: break-spaces;
46 line-height: 1.5;
47 text-align: left;
48 }
49 .has-tooltip::after {
50 position: absolute;
51 top: -7px;
52 left: 50%;
53 border-left: 5px solid transparent;
54 border-right: 5px solid transparent;
55 border-top: 5px solid #14102C;
56 content: " ";
57 font-size: 0;
58 line-height: 0;
59 margin-left: -5px;
60 width: 0;
61 transform: translateX(-50%);
62 }
63 .has-tooltip:focus-visible::before, .has-tooltip:focus-visible::after, .has-tooltip:focus::before, .has-tooltip:focus::after, .has-tooltip:hover::before, .has-tooltip:hover::after {
64 opacity: 1;
65 transition: all 0.75s ease;
66 }
67 .has-tooltip.on-right::before {
68 top: 50%;
69 left: 100%;
70 transform: translateY(-50%) translateX(4px);
71 }
72 .has-tooltip.on-right::after {
73 top: 50%;
74 left: calc(100% + 2px);
75 rotate: 90deg;
76 transform: translateX(calc(-50% + 2.5px));
77 }
78 .has-tooltip.on-left::before {
79 top: 50%;
80 left: -2px;
81 transform: translateY(-50%) translateX(-100%);
82 }
83 .has-tooltip.on-left::after {
84 top: 50%;
85 left: 0;
86 rotate: -90deg;
87 transform: translateX(calc(-50% + 7px));
88 }
89 .has-tooltip.on-bottom::before {
90 top: unset;
91 bottom: 0;
92 transform: translateY(calc(100% + 7px)) translateX(-50%);
93 }
94 .has-tooltip.on-bottom::after {
95 top: unset;
96 bottom: -7px;
97 rotate: 180deg;
98 }