|
| 1 | +/* |
| 2 | +Copyright 2017 New Vector Ltd. |
| 3 | +
|
| 4 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +you may not use this file except in compliance with the License. |
| 6 | +You may obtain a copy of the License at |
| 7 | +
|
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +
|
| 10 | +Unless required by applicable law or agreed to in writing, software |
| 11 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +See the License for the specific language governing permissions and |
| 14 | +limitations under the License. |
| 15 | +*/ |
| 16 | + |
| 17 | +.mx_TagPanel { |
| 18 | + width: 60px; |
| 19 | + background-color: $tertiary-accent-color; |
| 20 | + cursor: pointer; |
| 21 | + |
| 22 | + display: flex; |
| 23 | + flex-direction: column; |
| 24 | + align-items: center; |
| 25 | + justify-content: space-between; |
| 26 | +} |
| 27 | + |
| 28 | +.mx_TagPanel .mx_TagPanel_tagTileContainer { |
| 29 | + display: flex; |
| 30 | + flex-direction: column; |
| 31 | + align-items: center; |
| 32 | + margin-top: 65px; |
| 33 | +} |
| 34 | + |
| 35 | +.mx_TagPanel .mx_TagTile { |
| 36 | + margin: 6px 0px; |
| 37 | + opacity: 0.5; |
| 38 | +} |
| 39 | +.mx_TagPanel .mx_TagTile:focus, |
| 40 | +.mx_TagPanel .mx_TagTile:hover, |
| 41 | +.mx_TagPanel .mx_TagTile.mx_TagTile_selected { |
| 42 | + opacity: 1; |
| 43 | +} |
| 44 | + |
| 45 | +.mx_TagPanel .mx_TagTile.mx_TagTile_selected { |
| 46 | + /* To offset border of mx_TagTile_avatar */ |
| 47 | + margin: 3px 0px; |
| 48 | +} |
| 49 | + |
| 50 | +.mx_TagPanel .mx_TagTile.mx_TagTile_selected .mx_TagTile_avatar { |
| 51 | + border: 3px solid $accent-color; |
| 52 | + border-radius: 60px; |
| 53 | +} |
| 54 | + |
| 55 | +.mx_TagPanel .mx_TagTile.mx_AccessibleButton:focus { |
| 56 | + filter: none; |
| 57 | +} |
| 58 | + |
| 59 | +.mx_TagTile_tooltip { |
| 60 | + position: relative; |
| 61 | + top: -30px; |
| 62 | + left: 5px; |
| 63 | +} |
| 64 | + |
| 65 | +.mx_TagPanel_createGroupButton { |
| 66 | + cursor: pointer; |
| 67 | + opacity: 0.5; |
| 68 | + margin-bottom: 12px; |
| 69 | +} |
| 70 | + |
| 71 | +.mx_TagPanel_createGroupButton:hover { |
| 72 | + opacity: 1; |
| 73 | +} |
| 74 | + |
| 75 | +.mx_TagPanel_createGroupButton object { |
| 76 | + pointer-events: none; |
| 77 | +} |
0 commit comments