diff --git a/server/documents/elements/button.html.eco b/server/documents/elements/button.html.eco index 59beab583..e1a9c5b9d 100755 --- a/server/documents/elements/button.html.eco +++ b/server/documents/elements/button.html.eco @@ -37,6 +37,7 @@ themes : ['Default', 'Basic', 'Chubby', 'Flat', 'Amazon', 'GitHub']
site.variables
, will allow you to use consistent color theming for UI elementsA button can be formatted to show different levels of emphasis
A basic button removes all unnecessary formatting
+A basic button is less pronounced
A button can be formatted to appear on dark backgrounds
A button can be formatted to link to a social website
A button can have different sizes:
A button can have different colors:
A sidebar can use different transitions
-A sidebar can use different transitions to display itself
A safe transitioning sidebar does not adjust the page context
+fixed position
elements within your pusher
will not be adjusted
A sidebar can appear on any side of content
diff --git a/server/files/javascript/semantic.js b/server/files/javascript/semantic.js index e7d51c4b9..6701dfa43 100755 --- a/server/files/javascript/semantic.js +++ b/server/files/javascript/semantic.js @@ -607,7 +607,7 @@ semantic.ready = function() { $menu .sidebar({ - transition: 'scale down' + transition: 'push' }) .sidebar('attach events', '.launch.button, .view-ui.button, .launch.item') .sidebar('attach events', $hideMenu, 'hide') diff --git a/server/files/stylesheets/semantic.css b/server/files/stylesheets/semantic.css index a6e8c1563..7c015d67e 100755 --- a/server/files/stylesheets/semantic.css +++ b/server/files/stylesheets/semantic.css @@ -191,6 +191,9 @@ a:hover { background-color: #FFFFFF; border-bottom: 1px solid #DDDDDD; } +#example.scale.down.pushed .header.segment { + padding-top: 30px; +} #example .tab.header.segment { padding-bottom: 0em; @@ -222,21 +225,10 @@ a:hover { #example .main.menu { top: 0px; - left: auto; + left: -1px; min-width: 320px; width: 100%; - z-index: 900; - - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - -ms-box-sizing: border-box; - box-sizing: border-box; - - -webkit-transition: margin 0.3s ease; - -moz-transition: margin 0.3s ease; - -o-transition: margin 0.3s ease; - -ms-transition: margin 0.3s ease; - transition: margin 0.3s ease; + z-index: 1004; } #example .main.menu iframe { margin: 0px 0px 0px 0px; @@ -609,8 +601,7 @@ body#example.hide { #example .fixed.launch.button { position: fixed; top: 63px; - left: auto; - z-index: 500; + left: -1px; width: 55px; height: 50px; overflow: hidden; @@ -635,6 +626,7 @@ body#example.hide { 0.5s transform ease ; } + #example .fixed.launch.button .text { position: absolute; top: 15px; @@ -777,6 +769,13 @@ body#example.hide { #example .example .language.label { margin: 1em 0em 0.75em; } +#example .spaced.example .buttons, +#example .spaced.example .button { + margin-bottom: 0.75em; +} +#example .spaced.example .buttons .button { + margin-bottom: 0em; +} #example .icon.example .grid { margin-top: 1.5rem; text-align: left; diff --git a/server/layouts/default.html.eco b/server/layouts/default.html.eco index 84d650465..815322596 100755 --- a/server/layouts/default.html.eco +++ b/server/layouts/default.html.eco @@ -199,60 +199,61 @@