Comments (2)
Hi. Thanks for trying out Pure Drawer.
Not sure if I understand your question 100%, but I don't believe that what your trying to achieve is possible with pure css because css doesn't have a 'parent' selector. So the 'pure-pusher-container' needs to be a sibling, child or a child of a sibling of the '.pure-toggle'.
You could of course move the the '.pure-toggle-label' around freely, but the you would not be able to ha an 'checked' styling for it.
Hope this answers your question. If not, maybe provide me with some example of the structure your trying to achieve so I get a better understanding of the issue.
from pure-drawer.
Hi, thanks for the reply. It makes me think even more that nothing can be done about my situation, but I've made up a little demo so you can see what I mean: http://rickibarn.es/groundzero/pure-drawer/
So my right menu is in a different < section > to the top menu, this is what I mean by having different parents. You can see it is very close to still working; it's just that the toggles still appear no matter which menu is active.
from pure-drawer.
Related Issues (20)
- Do not put node_modules in repo HOT 2
- Missing closing tag in your index.html page
- Menu breaks parallax images HOT 5
- preventing the "pure-pusher-container" contents to scroll up when clicked on the menu HOT 2
- managing open / close state when main page is clicked to close the menu HOT 1
- strategy to cut down on the large CSS file HOT 1
- Operator issue HOT 2
- Touch laggy on Chrome
- license please HOT 1
- $toggle-checked-color doesn't work HOT 2
- Slide/Push HOT 1
- If drawer is placed in iFrame, opening and closing the drawer scrolls the parent frame to the top
- Dist directory contains duplicate scss files HOT 1
- SCSS breakpoint error HOT 2
- menus are hiding in landscape mode as push-drawer isn't scrollable HOT 2
- Resize Icon? HOT 5
- Custom toggle? HOT 4
- Publish on NPM HOT 1
- Open Drawer with javascript?
- FEAT: Incremental Swiping Demo For Mobile (Doc Request)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pure-drawer.