File size: 1,550 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Overrides styles for the Create campaign widget
div.MuiPopover-root,
div.MuiPickersPopper-root,
div.MuiDialog-root,
div.MuiModal-root,
div.MuiAutocomplete-popper {
	z-index: 99999;
}

// Fixes double scrolls on widget creation overlay
html.has-blank-canvas {
	overflow: hidden;
	body {
		overflow: hidden;
	}
}

// Lower the z-index to match WordPress core.
// This is a fix for simple sites due to #wpadminbar being modified to have a really higher z-index.
// We only want to override the CSS for the promote post widget to not break anything else.
.is-section-promote-post-i2 #wpadminbar {
	z-index: 99999 !important;
}

.blazepress-widget {
	z-index: 99999;

	// Fix conflict with the WP forms-css file
	input[type="text"],
	input[type="password"],
	input[type="color"],
	input[type="date"],
	input[type="datetime"],
	input[type="datetime-local"],
	input[type="email"],
	input[type="month"],
	input[type="number"],
	input[type="search"],
	input[type="tel"],
	input[type="time"],
	input[type="url"],
	input[type="week"],
	select {
		box-shadow: none;
		border-radius: 0;
		border: none;
		background-color: inherit;
		color: currentcolor;

		padding: 16.5px 14px;
		line-height: inherit;
		min-height: inherit;

		&:focus {
			outline: none;
		}
	}
	textarea {
		box-shadow: none;
		border-radius: 0;
		border: none;
		background-color: inherit;
		color: currentcolor;

		padding: 0;
		line-height: inherit;
		min-height: inherit;
		height: auto;

		&:focus {
			outline: none;
		}
	}
	input.MuiInputBase-inputAdornedStart {
		padding: 0;
	}
}