summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/commits.scss
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-06 21:40:23 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-06 21:40:23 -0800
commit887cf5c7101c058d30b10d767c186d548e6c5e92 (patch)
tree6b5755b87506421de9b50e45e09562bfff50991e /app/assets/stylesheets/pages/commits.scss
parentceb8f9dfeb77c99dfac121fb349ee3c8a9969ae9 (diff)
downloadgitlab-ce-887cf5c7101c058d30b10d767c186d548e6c5e92.tar.gz
Better name for pages css dir
Diffstat (limited to 'app/assets/stylesheets/pages/commits.scss')
-rw-r--r--app/assets/stylesheets/pages/commits.scss123
1 files changed, 123 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/commits.scss b/app/assets/stylesheets/pages/commits.scss
new file mode 100644
index 00000000000..683aca73593
--- /dev/null
+++ b/app/assets/stylesheets/pages/commits.scss
@@ -0,0 +1,123 @@
+.commits-compare-switch{
+ background: image-url("switch_icon.png") no-repeat center center;
+ width: 32px;
+ height: 32px;
+ text-indent: -9999px;
+ float: left;
+ margin-right: 9px;
+ border: 1px solid #DDD;
+ @include border-radius(4px);
+ padding: 4px;
+ background-color: #EEE;
+}
+
+
+.lists-separator {
+ margin: 10px 0;
+ border-color: #DDD;
+}
+
+.commits-row {
+ ul {
+ margin: 0;
+
+ li.commit {
+ padding: 8px 0;
+ }
+ }
+
+ .commits-row-date {
+ font-size: 15px;
+ line-height: 20px;
+ margin-bottom: 5px;
+ }
+}
+
+.commits-feed-holder {
+ float: right;
+
+ .btn {
+ padding: 4px 12px;
+ }
+}
+
+li.commit {
+ .commit-row-title {
+ font-size: $list-font-size;
+ line-height: 20px;
+ margin-bottom: 2px;
+
+ .notes_count {
+ float: right;
+ margin-right: 10px;
+ }
+
+ .commit_short_id {
+ min-width: 65px;
+ font-family: $monospace_font;
+ }
+
+ .str-truncated {
+ max-width: 70%;
+ }
+
+ .commit-row-message {
+ color: #444;
+
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+
+ .text-expander {
+ background: #eee;
+ color: #555;
+ padding: 0 5px;
+ cursor: pointer;
+ margin-left: 4px;
+ &:hover {
+ background-color: #ddd;
+ }
+ }
+ }
+
+ .commit-row-description {
+ font-size: 14px;
+ border-left: 1px solid #EEE;
+ padding: 10px 15px;
+ margin: 5px 0 10px 5px;
+ background: #f9f9f9;
+ display: none;
+
+ pre {
+ border: none;
+ background: inherit;
+ padding: 0;
+ margin: 0;
+ }
+ }
+
+ .commit-row-info {
+ color: #777;
+ line-height: 24px;
+
+ a {
+ color: #777;
+ }
+
+ .committed_ago {
+ display: inline-block;
+ }
+ }
+
+ &.inline-commit {
+ .commit-row-title {
+ font-size: 13px;
+ }
+
+ .committed_ago {
+ float: right;
+ @extend .cgray;
+ }
+ }
+}