cksource-archive / samples-framework

☠☠☠ This repository is no longer used ☠☠☠
Other
0 stars 0 forks source link

Create mode switch component for toolbar configurator #13

Closed oleq closed 9 years ago

oleq commented 9 years ago

It can be either a samples-framework- or toolbar configurator-specific component. I'd rather see it a generic one, to be honest.

toolbarconfigurator-002

adelura commented 9 years ago

Do we need to have "Advanced" and "Basic" buttons to be clickable? I couldn't find any solution yet, to make it work without using JavaScript. If it's not obligatory to have this texts clickable we ca do this using pure CSS.

Reinmar commented 9 years ago

They should be clickable.

adelura commented 9 years ago

Okay, I found a solution with @norin89 and we can do it with pure CSS :) Amazing job from Martin: http://jsfiddle.net/norin89/hd9x7ent/3/ :D

norin89 commented 9 years ago

I put simple code snipped on JSFiddle to show you how to achieve it with pure CSS.

adelura commented 9 years ago

Fixed with https://github.com/cksource/samples-framework/commit/0cdab35f34ed6cf4a216ec7fcddcddac44330145.