app/assets/javascripts/cytoplasm/cytoplasm.js.erb in cytoplasm-0.3.5 vs app/assets/javascripts/cytoplasm/cytoplasm.js.erb in cytoplasm-0.3.6

- old
+ new

@@ -30,11 +30,11 @@ }); } ]; // Default styles - var static_styles = "body{margin:0;height:100%;overflow-y:scroll}h1,h2,h3,h4,h5,h6{margin:20px 0}header{overflow:hidden;h1{margin:0;white-space:nowrap;cursor:pointer;display:inline;text-shadow:0 0 10px rgba(0,0,0,0.5)}#logo{z-index:1000}}nav{ul{padding:0;list-style:none;li{display:inline-block}}}section{min-height:400px;background:white;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,0.8);clear:both;&>:first-child{margin-top:0;padding-top:0}&>:last-child{margin-bottom:0;padding-bottom:0}}footer{overflow:hidden}.cytoField{width:100%;border:1px solid #aaa;border-radius:5px;font-size:14px;box-shadow:inset 0 0 5px rgba(0,0,0,0.25);&[type=text],&[type=password],&[type=email]{height:28px;padding:0 7px}}textarea.cytoField{resize:none;height:200px;padding:7px}button,input[type=submit]{&.cytoButton{border-radius:5px;cursor:pointer;&.large{width:100%;height:50px}}}"; + var static_styles = "body{margin:0;height:100%;overflow-y:scroll}h1,h2,h3,h4,h5,h6{margin:20px 0}header{overflow:hidden;h1{margin:0;white-space:nowrap;cursor:pointer;display:inline;text-shadow:0 0 10px rgba(0,0,0,0.5)}#logo{z-index:1000}}nav{ul{padding:0;list-style:none;li{display:inline-block}}}section{min-height:400px;background:white;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,0.8);clear:both;&>:first-child{margin-top:0;padding-top:0}&>:last-child{margin-bottom:0;padding-bottom:0}}footer{overflow:hidden}button,input[type=submit]{&.cytoButton{border-radius:5px;cursor:pointer;&.large{width:100%;height:50px}}}"; // Gradient manipulation library var parseGradient = function(grad,reverse){ // Return untouched if not gradient if (grad.indexOf("gradient")==-1) return grad; @@ -177,11 +177,11 @@ }, 'h1,h3,h5,b,strong':{ "font-family":vars.fonts.faces.bold, "font-weight":boldweight }, - 'h2,h4,h6,table.cytoTable,.cytoButton':{ + 'h2,h4,h6,.cytoButton':{ "font-family":vars.fonts.faces.light, "font-weight":lightweight }, header:{ margin:vars.layout.header.margin, @@ -224,20 +224,9 @@ }, '&:active':{ color:vars.colors.links.active.text } }, - 'table.cytoTable':{ - background:vars.colors.plugins.cytoTable.background, - table:{ - 'margin-bottom':'0px' - }, - td:{ - border:vars.colors.plugins.cytoTable.border, - "&[data-type=label]":{"font-size":vars.fonts.sizes.small} - } - }, - '.cytoField':{"font-family":vars.fonts.faces.regular}, '.cytoButton':{ border:vars.colors.plugins.cytoButton.border, color:vars.colors.plugins.cytoButton.text, "&:not(.active),&:not(:active)":{background:vars.colors.plugins.cytoButton.background}, "&.active,&:active":{ \ No newline at end of file