app/assets/stylesheets/style_guide/partial.css in style-guide-0.6.2 vs app/assets/stylesheets/style_guide/partial.css in style-guide-0.7.0

- old
+ new

@@ -14,24 +14,41 @@ margin-bottom: 20px; border-bottom: 1px solid #ddd; } .style-guide-partial-description { + font-size: 14px; margin-bottom: 15px; color: #5D5C5C; } +.style-guide-partial-source, .style-guide-partial-identifiers code, .style-guide-partial-description code { + font-size: 12px; + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; +} + +.style-guide-partial-identifiers code, +.style-guide-partial-description code { color: #d14; background-color: #f5f5f5; padding: 0 4px; border: 1px solid #ddd; - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; white-space: nowrap; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; +} + +.style-guide-partial-identifiers code { + cursor: pointer; +} + +.style-guide-identifier-highlight { + -webkit-box-shadow: 0 1px 1px rgba(255, 0, 0, 1), 1px 0 1px rgba(255, 0, 0, 1), 0 -1px 1px rgba(255, 0, 0, 1), -1px 0 1px rgba(255, 0, 0, 1); + -moz-box-shadow: 0 1px 1px rgba(255, 0, 0, 1), 1px 0 1px rgba(255, 0, 0, 1), 0 -1px 1px rgba(255, 0, 0, 1), -1px 0 1px rgba(255, 0, 0, 1); + box-shadow: 0 1px 1px rgba(255, 0, 0, 1), 1px 0 1px rgba(255, 0, 0, 1), 0 -1px 1px rgba(255, 0, 0, 1), -1px 0 1px rgba(255, 0, 0, 1); } .style-guide-partial-rendered, .style-guide-partial-identifiers { position: relative;