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

selects.scss « generic « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d8e0dc028d1371683657905daa9a54523a6f39e9 (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/** Select2 selectbox style override **/
.select2-container, .select2-container.select2-drop-above {
  .select2-choice {
    background: #FFF;
    border-color: #DDD;
    height: 34px;
    padding: 6px 14px;
    font-size: 14px;
    line-height: 1.42857143;

    @include border-radius(4px);

    .select2-arrow {
      background: #FFF;
      border-left: none;
      padding-top: 3px;
    }
  }
}

.select2-container-multi .select2-choices {
  @include border-radius(4px);
  border-color: #CCC;
}

.select2-container-multi .select2-choices .select2-search-field input {
  padding: 8px 14px;
  font-size: 13px;
  line-height: 18px;
  height: auto;
}

.select2-drop-active {
  border: 1px solid #BBB !important;
  margin-top: 4px;
  font-size: 13px;

  &.select2-drop-above {
    margin-bottom: 8px;
  }

  .select2-search input {
    background: #fafafa;
    border-color: #DDD;
  }

  .select2-results {
    max-height: 350px;
    .select2-highlighted {
      background: $gl-primary;
    }
  }
}

.select2-container {
  width: 100% !important;
}

/** Branch/tag selector **/
.project-refs-form .select2-container {
  width: 160px !important;
}

.ajax-users-dropdown, .ajax-project-users-dropdown {
  .select2-search {
    padding-top: 4px;
  }
}

.ajax-users-select {
  width: 400px;

  &.input-large {
    width: 210px;
  }

  &.input-clamp {
    max-width: 100%;
  }
}

.group-result {
  .group-image {
    float: left;
  }
  .group-name {
    font-weight: bold;
  }
  .group-path {
    color: #999;
  }
}

.user-result {
  .user-image {
    float: left;
  }
  .user-name {
  }
  .user-username {
    color: #999;
  }
}

.namespace-result {
  .namespace-kind {
    color: #AAA;
    font-weight: normal;
  }
  .namespace-path {
    margin-left: 10px;
    font-weight: bolder;
  }
}

.ajax-users-dropdown {
  min-width: 225px !important;
}