Welcome to mirror list, hosted at ThFree Co, Russian Federation.

atwho.scss « vendors « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e77e09bb85ddf9869fba68aeea2ce2e3738a3853 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.atwho-view {
  overflow-y: auto;
  overflow-x: hidden;
  min-width: $gl-new-dropdown-min-width;
  max-width: $gl-new-dropdown-max-width;

  @include gl-border-b-1;
  @include gl-border-b-solid;
  @include gl-border-b-gray-100;
  @include gl-rounded-lg;
  @include gl-shadow-md;


  small {
    @include gl-font-sm;
  }

  small.description {
    display: block;
    width: auto;
    @include gl-mt-2;
  }

  .avatar-inline {
    margin-bottom: 0;
  }

  .has-warning {
    .description {
      color: $gray-900;
      background-color: $orange-50;
    }
  }

  .cur {
    .avatar {
      @include disable-all-animation;
      border: 1px solid $white;
    }
  }

  // TODO: fallback to global style
  .atwho-view-ul {
    @include gl-py-2;
    max-height: $gl-max-dropdown-max-height;

    li {
      border: 0;
      padding: $gl-padding-6;

      @include gl-my-2;
      @include gl-mx-3;
      @include gl-rounded-small;
      @include gl-line-height-normal;

      &.cur {
        @include gl-focus;
        background-color: $gray-darker;
        color: $gl-text-color;

        small {
          color: inherit;
        }

        &.has-warning {
          color: $orange-500;
        }
      }

      div.avatar {
        display: inline-flex;
        justify-content: center;
        align-items: center;
      }

      strong {
        color: $gl-text-color;
      }

      gl-emoji {
        @include gl-mr-2;
      }

      .dropdown-label-box {
        position: relative;
        top: -1px;
        @include gl-mr-2;
      }
    }
  }
}

@include media-breakpoint-down(xs) {
  .atwho-view ul li {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}