diff --git a/server/documents/elements/button.html.eco b/server/documents/elements/button.html.eco index 98424021e..44a9faae2 100755 --- a/server/documents/elements/button.html.eco +++ b/server/documents/elements/button.html.eco @@ -1,14 +1,16 @@ --- layout : 'default' css : 'button' +element : 'button' +elementType : 'element' + title : 'Button' description : 'Buttons indicate a possible user action.' type : 'UI Element' + themes : ['default', 'basic', 'github'] --- - - <%- @partial('header') %> @@ -263,8 +265,6 @@ themes : ['default', 'basic', 'github'] Yellow Button Green Button Blue Button - -
A hidden divider divides content without creating a dividing line
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
+ +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
+A divider can provide greater margins to divide sections of content
diff --git a/server/files/javascript/semantic.js b/server/files/javascript/semantic.js index 593c48e29..54cb60833 100755 --- a/server/files/javascript/semantic.js +++ b/server/files/javascript/semantic.js @@ -113,11 +113,9 @@ semantic.ready = function() { // clear whitespace line = $.trim(line); // match variables only - console.log(line); if(line[0] == '@') { name = line.match(/^@(.+):/); value = line.match(/:(\W)(.*);/); - console.log(name, value); if( ($.isArray(name) && name.length >= 2) && ($.isArray(value) && value.length >= 3) ) { name = name[1]; value = value[2]; @@ -738,7 +736,6 @@ semantic.ready = function() { $themeDropdown .dropdown({ - action: 'combo', onChange: handler.less.changeTheme }) ; diff --git a/server/files/stylesheets/semantic.css b/server/files/stylesheets/semantic.css index 693c57519..d4f7c1adb 100755 --- a/server/files/stylesheets/semantic.css +++ b/server/files/stylesheets/semantic.css @@ -63,6 +63,24 @@ h5 { font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } +p { + margin: 1em 0em; +} +p:first-child { + margin-top: 0em; +} +p:last-child { + margin-bottom: 0em; +} +/* links */ +a { + color: #009FDA; + text-decoration: none; +} +a:hover { + color: #00BAFF; +} + /* p, ul, @@ -110,6 +128,7 @@ code { padding: 0.125em 0.5em; vertical-align: middle; } + pre code { border: none; padding: 0px; @@ -138,10 +157,6 @@ a:hover { color: #00BAFF; } -#example .theme.buttons .basic.button .text { - font-weight: bold; -} - #example #menu .item { -webkit-border-radius: 0px; -moz-border-radius: 0px; @@ -410,6 +425,15 @@ body.guide .main.container > * { vertical-align: top; width: 100%; } +#example .introduction h1 { + margin-bottom: 0em; +} + +#example .introduction .theme.buttons { + margin: -0.1em 0em 0em 0.5em; + vertical-align: middle; +} + #example .advertisement { float: none; display: table-cell; diff --git a/server/layouts/default.html.eco b/server/layouts/default.html.eco index f32a0404f..811b665f2 100755 --- a/server/layouts/default.html.eco +++ b/server/layouts/default.html.eco @@ -32,6 +32,7 @@ + <% if 'development' in @getEnvironments(): %> @@ -275,6 +276,7 @@ Menu