Blame view

bower_components/select2/src/scss/theme/default/_multiple.scss 1.55 KB
f6e211e4   Administrator   finish work part 1
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
  .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
  
    .select2-selection__rendered {
      box-sizing: border-box;
      list-style: none;
      margin: 0;
      padding: 0 5px;
      width: 100%;
    }
  
    .select2-selection__placeholder {
      color: #999;
  
      margin-top: 5px;
  
      float: left;
    }
  
    .select2-selection__clear {
      cursor: pointer;
      float: right;
      font-weight: bold;
      margin-top: 5px;
      margin-right: 10px;
    }
  
    .select2-selection__choice {
      background-color: #e4e4e4;
  
      border: 1px solid #aaa;
      border-radius: 4px;
      cursor: default;
  
      float: left;
  
      margin-right: 5px;
      margin-top: 5px;
      padding: 0 5px;
    }
  
    .select2-selection__choice__remove {
      color: #999;
      cursor: pointer;
  
      display: inline-block;
      font-weight: bold;
  
      margin-right: 2px;
  
      &:hover {
        color: #333;
      }
    }
  }
  
  &[dir="rtl"] {
    .select2-selection--multiple {
      .select2-selection__choice, .select2-selection__placeholder, .select2-search--inline {
        float: right;
      }
  
      .select2-selection__choice {
        margin-left: 5px;
        margin-right: auto;
      }
  
      .select2-selection__choice__remove {
        margin-left: 2px;
        margin-right: auto;
      }
    }
  }
  
  &.select2-container--focus {
    .select2-selection--multiple {
      border: solid black 1px;
      outline: 0;
    }
  }
  
  &.select2-container--disabled {
    .select2-selection--multiple {
      background-color: #eee;
      cursor: default;
    }
  
    .select2-selection__choice__remove {
      display: none;
    }
  }