summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/wells.scss
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-11-10 13:48:20 -0600
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-11-10 13:48:20 -0600
commiteb1b55132deadaed07ea61dcc461625b8db3c9d9 (patch)
tree6229a621accf93be3dcaf4f79c52f6935a87eae8 /app/assets/stylesheets/framework/wells.scss
parentba1c5c058632322bdc7f4d65988001c6a44197f2 (diff)
downloadgitlab-ce-eb1b55132deadaed07ea61dcc461625b8db3c9d9.tar.gz
Move reusable well styles into their own file
Diffstat (limited to 'app/assets/stylesheets/framework/wells.scss')
-rw-r--r--app/assets/stylesheets/framework/wells.scss45
1 files changed, 45 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/wells.scss b/app/assets/stylesheets/framework/wells.scss
new file mode 100644
index 00000000000..192939f4527
--- /dev/null
+++ b/app/assets/stylesheets/framework/wells.scss
@@ -0,0 +1,45 @@
+.info-well {
+ background: $background-color;
+ color: $gl-gray;
+ border: 1px solid $border-color;
+ border-radius: $border-radius-default;
+
+ .well-segment {
+ padding: $gl-padding;
+
+ &:not(:last-of-type) {
+ border-bottom: 1px solid $well-inner-border;
+ }
+
+ &.branch-info {
+ .monospace,
+ .commit-info {
+ margin-left: 4px;
+ }
+ }
+ }
+
+ .icon-container {
+ display: inline-block;
+ margin-right: 8px;
+
+ svg {
+ position: relative;
+ top: 2px;
+ height: 16px;
+ width: 16px;
+ }
+
+ &.commit-icon {
+ svg {
+ path {
+ fill: $gl-text-color;
+ }
+ }
+ }
+ }
+
+ .label.label-gray {
+ background-color: $well-expand-item;
+ }
+}