diff options
| author | garbash <dor.garbash@gmail.com> | 2014-11-30 15:33:39 +0200 |
|---|---|---|
| committer | garbash <dor.garbash@gmail.com> | 2014-11-30 15:33:39 +0200 |
| commit | 9483b2c1097c224b269d68fb009179b89b126dac (patch) | |
| tree | be16d3d2bd8d11dd790e2ddbd0e009f1eff2dc3e /res/css/partials/buttons.scss | |
| parent | 5e8629bc2ced01425063b2c51db829770556174a (diff) | |
Added top-bar + removed deprecated elements and classes
Diffstat (limited to 'res/css/partials/buttons.scss')
| -rw-r--r-- | res/css/partials/buttons.scss | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/res/css/partials/buttons.scss b/res/css/partials/buttons.scss index 945dce46..e69de29b 100644 --- a/res/css/partials/buttons.scss +++ b/res/css/partials/buttons.scss @@ -1,63 +0,0 @@ -.onoffswitch { - z-index:100; - position: fixed; - width: 160px; - top:35px; - right: 180px; - -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none; -} - -.onoffswitch-checkbox { - display: none; -} - -.onoffswitch-label { - display: block; overflow: hidden; cursor: pointer; - border: 2px solid #303030; border-radius: 5px; -} - -.onoffswitch-inner { - display: block; width: 200%; margin-left: -100%; - -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s; - -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s; -} - -.onoffswitch-inner:before, .onoffswitch-inner:after { - display: block; float: left; width: 50%; height: 20px; padding: 0; line-height: 20px; - font-size: 14px; color: white; font-weight: bold; - -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -} - -.onoffswitch-inner:before { - content: "TIMELINE VIEW"; - padding-left: 5px; - background-color: #080808; color: #FFFFFF; -} - -.onoffswitch-inner:after { - content: "GRAPH VIEW"; - padding-right: 5px; - background-color: #080808; color: #FFFFFF; - text-align: right; -} - -.onoffswitch-switch { - display: block; width: 35px; margin: 0px; - background: #3D3D3D; - border: 1px solid #FFFFFF; border-radius: 5px; - position: absolute; top: 0; bottom: 0; right: 125px; - -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s; - -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; - background-image: -moz-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); - background-image: -webkit-linear-gradient(rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); - background-image: -o-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); - background-image: linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); -} - -.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner { - margin-left: 0; -} - -.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { - right: 0px; -} |
