summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/components/batch_comments/review_bar.scss
blob: 5e1128dc4ce4bfe94d11b87a61dea50d652738ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.review-bar-component {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: $zindex-dropdown-menu;
  display: flex;
  align-items: center;
  width: 100%;
  height: $toggle-sidebar-height;
  padding-left: $contextual-sidebar-width;
  padding-right: $gutter_collapsed_width;
  background: $white;
  border-top: 1px solid $border-color;
  transition: padding $gl-transition-duration-medium;

  .page-with-icon-sidebar & {
    padding-left: $contextual-sidebar-collapsed-width;
  }

  .right-sidebar-expanded & {
    padding-right: $gutter_width;
  }

  @media (max-width: map-get($grid-breakpoints, sm)-1) {
    padding-left: 0;
    padding-right: 0;
  }

  .dropdown {
    margin-left: $grid-size;
  }
}

.review-bar-content {
  max-width: $limited-layout-width;
  padding: 0 $gl-padding;
  width: 100%;
  margin: 0 auto;
}

.review-preview-item-header {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 4px;

  > .bold {
    display: flex;
    min-width: 0;
    line-height: 16px;
  }
}

.review-preview-item-footer {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.review-preview-item-content {
  width: 100%;

  p {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0;
  }
}