Last active
August 29, 2015 14:15
-
-
Save JiveDig/1d3ec7eea6480f77c67e to your computer and use it in GitHub Desktop.
CSS for Sidr with ACF front end form in it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.sidr { | |
display: none; | |
position: fixed; | |
top: 0; | |
height: 100%; | |
width: 100%; | |
max-width: 500px; | |
left: -500px; | |
right: auto; | |
background: #fff; | |
color: #333; | |
border-right: 2px solid #ebebeb; | |
font-size: 15px; | |
overflow-x: hidden; | |
overflow-y: auto; | |
z-index: 999999; | |
} | |
.sidr.right { | |
left: auto; | |
right: -500px; | |
} | |
.sidr.left { | |
left: -500px; | |
right: auto; | |
} | |
.sidr form.acf-form { | |
padding: 0 10px 5px; | |
margin: 0 0 10px; | |
} | |
/* Make sure the image/file uploader shows up on top of our Sidr menu */ | |
.media-modal, | |
.media-modal.acf-media-modal { | |
z-index: 999999 !important; | |
} | |
.sidr .acf-form { | |
padding-top: 10px; | |
} | |
.sidr .acf-fields > .acf-field { | |
padding-left: 0; | |
padding-right: 0; | |
} | |
.sidr .edit-close, | |
.sidr .acf-form-submit .button { | |
display: block; | |
margin-bottom: 10px; | |
} | |
.sidr .menu-close, | |
.sidr .menu-close:hover { | |
background: transparent; | |
color: #fff; | |
padding: 15px; | |
margin: 0; | |
border: none; | |
border-radius: 0; | |
text-decoration: none; | |
text-shadow: none; | |
} | |
#edit-toggle { | |
float: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment