Permalink
Browse files

* Added some module specific styles

  • Loading branch information...
1 parent 07fea93 commit 11d300ea1efa44ec19bca8bb7bdab856d85f8096 @wafflesnatcha wafflesnatcha committed Jul 12, 2012
Showing with 155 additions and 406 deletions.
  1. +124 −0 files/scss/modules/_subversion.scss
  2. +30 −9 files/scss/style.scss
  3. +1 −397 style.css
@@ -0,0 +1,124 @@
+/* ===================== */
+/* = Subversion Styles = */
+/* ===================== */
+
+div.subversion {
+ margin-top: 10px;
+
+ /* INFO */
+
+ dl.info dt {
+ font-weight: bold;
+ padding: 4px;
+ padding-bottom: 0;
+ margin: 0;
+ border-top: 1px dashed #ddd;
+ }
+
+ dl.info dt:first-child {
+ border-top: 0;
+ }
+
+ dl.info dt:after {
+ content: ":";
+ }
+
+ dl.info dd {
+ margin: 0;
+ padding: 4px;
+ padding-top: 0;
+ padding-left: 24px;
+ }
+
+ /* BLAME */
+
+ /* some adds for the links in the table (clickable lines)..*/
+ table.blame {
+ font-size: 12px;
+ padding: 1px;
+ border-collapse: collapse;
+ width: 100%;
+
+ a, a:visited, a:link {
+ text-decoration: none;
+ color: inherit;
+ }
+
+ td {
+ vertical-align: top;
+ }
+
+ td.codecol {
+ font-family: $font_code;
+ padding-left: 4px;
+ width: 100%;
+ }
+ }
+}
+
+/* console is invisible by default */
+#console{
+ display: none;
+}
+
+h3.console {
+ margin-bottom: 0;
+}
+
+#commandOutput {
+ border: 1px solid #808080;
+ font-family: monospace;
+ font-size: 85%;
+ margin: 0 1em 1em 0;
+ min-height: 2em;
+ padding-left: 1em;
+ width: 95%;
+}
+
+table.status {
+ border: 0;
+ font-size: $font-size - 1;
+
+ th {
+ border: 0;
+ padding: 0.5ex 1ex 0.5ex 1ex;
+ text-align: left;
+ }
+
+ td {
+ padding: 3px;
+
+ /* center the status characters */
+ &.status_col {
+ text-align: center;
+ }
+
+ /* stretch the file column the length of the window */
+ &.file_col {
+ padding: 0 1ex 0 2ex;
+ width: 100%;
+ }
+
+ /* Status ction buttons */
+ &.action_button a {
+ &:link {
+ padding: 1px;
+ border: 1px solid;
+ text-decoration: none;
+ font-size: 80%;
+ text-align: center;
+ }
+ &:hover {
+ background: #BBB;
+ }
+ &:active {
+ background: #555;
+ }
+ }
+ }
+}
+
+
+div#actions {
+ margin-top: 1em;
+}
View
@@ -66,6 +66,12 @@ body.scott {
text-decoration: underline;
}
}
+
+ a:not([href]) {
+ &:hover, &:active, &:focus {
+ text-decoration: none;
+ }
+ }
b, strong {
font-weight: 700;
@@ -334,11 +340,17 @@ body.scott {
/** Tables */
- table:not([class]):not([style]),
+ table {
+ border-collapse: collapse;
+ empty-cells: show;
+ }
+
+ // Only target tables with no existing class or style definition
+ table:not([class*=":"]):not([style*=":"]),
.pro_table {
border: {
bottom: 2px solid #eaeaea;
- collapse: inherit;
+ collapse: separate;
spacing: 0;
};
font-size: inherit;
@@ -355,47 +367,56 @@ body.scott {
font-weight: 700;
}
+ & > tbody > tr > th,
td {
vertical-align: top;
}
/** Column headers */
- thead > tr > th,
+ & > thead > tr > th,
& > tbody:first-child > tr:first-child > th {
@include box-shadow(0 -3px 4px -3px rgba(0, 0, 0, 0.2) inset, 0 -35px 35px -35px rgba(50, 50, 50, 0.1) inset);
border-bottom: 1px solid #bbb;
}
/** Striped rows */
-
+
& > tbody > tr:nth-child(even) > td {
background-color: #f3f6fa;
background-color: rgba(206,219,234,0.25);
}
}
div.footnotes {
+ font-size: $font_size - 1;
padding: 1em;
- font-size: 90%;
+
+ li > p {
+ display: inline;
+ }
}
.alternate {
- background-color: #f2f5fa;
+ background-color: #f3f6fa;
+ background-color: rgba(206,219,234,0.25);
}
#tm_webpreview_content > .viewport {
@include border-radius(0);
bottom: 0;
+ height: auto;
left: 0;
margin: 0;
- padding-top: 10px;
+ padding-top: 20px;
position: absolute;
right: 0;
top: 30px;
+ width: auto;
}
/** Module Specific Styles */
- // @import "modules/_executor.scss";
- @import "modules/_ruby-rdoc.scss";
+ @import "modules/_executor";
+ @import "modules/_ruby-rdoc";
+ @import "modules/_subversion";
}
Oops, something went wrong.

0 comments on commit 11d300e

Please sign in to comment.