Skip to content

Commit dadb1df

Browse files
committed
Style booking button
1 parent 9690d86 commit dadb1df

5 files changed

Lines changed: 93 additions & 2 deletions

File tree

themes/osi/assets/css/editor-style.css

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/osi/assets/css/editor-style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/osi/assets/scss/_7_vendor.plugins.scss

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,35 @@ form.wp-block-jetpack-contact-form {
5353
.wp-block-coblocks-posts__item {
5454
margin-bottom: 2.5em;
5555
}
56+
57+
/*
58+
* Events Manager
59+
* - Booking's Submit Button
60+
* -- Feels very nasty, but I had to add !important, as the plugin's CSS is also using !important!
61+
*/
62+
63+
.em-booking-form-section-confirm .em-booking-form-buttons input[type=submit].em-form-submit {
64+
color: var(--wp--custom--button--color--text) !important;
65+
background-color: var(--wp--custom--button--color--background) !important;
66+
border: var(--wp--custom--button--border--width) var(--wp--custom--button--border--style) var(--wp--custom--button--border--color) !important;
67+
border-radius: var(--wp--custom--button--border--radius) !important;
68+
display: inline-block !important;
69+
font-family: var(--wp--custom--button--typography--font-family) !important;
70+
font-size: var(--wp--custom--button--typography--font-size) !important;
71+
-webkit-font-smoothing: auto !important;
72+
font-weight: var(--wp--custom--button--typography--font-weight) !important;
73+
height: auto !important;
74+
padding: var(--wp--custom--button--spacing--padding--top) var(--wp--custom--button--spacing--padding--right) var(--wp--custom--button--spacing--padding--bottom) var(--wp--custom--button--spacing--padding--left) !important;
75+
text-decoration: none !important;
76+
transition: all 0.3s !important;
77+
width: auto !important;
78+
79+
&:hover, &:focus {
80+
background-color: var(--wp--custom--button--hover--color--background) !important;
81+
border-color: var(--wp--custom--button--hover--border--color) !important;
82+
border-width: var(--wp--custom--button--border--width) !important;
83+
color: var(--wp--custom--button--hover--color--text) !important;
84+
text-decoration: none !important;
85+
transition: all 0.3s !important;
86+
}
87+
}

themes/osi/style.css

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/osi/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)