|
| 1 | +/*--------------------------------------------------------------------------------------------- |
| 2 | + * Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | + * Licensed under the MIT License. See License.txt in the project root for license information. |
| 4 | + *--------------------------------------------------------------------------------------------*/ |
| 5 | + |
| 6 | + /* This file contains cherrypicked icons from codicons for size */ |
| 7 | + /* Currently built with everything but the below removed from mappings |
| 8 | + - trash |
| 9 | +*/ |
| 10 | + |
| 11 | +@font-face { |
| 12 | + font-family: "codicon"; |
| 13 | + font-display: block; |
| 14 | + src: url("./codicon.ttf?fb200efcd350cfb53f94163fb5066b25") format("truetype"); |
| 15 | +} |
| 16 | + |
| 17 | +.codicon[class*="codicon-"] { |
| 18 | + font: normal normal normal 16px/1 codicon; |
| 19 | + display: inline-block; |
| 20 | + text-decoration: none; |
| 21 | + text-rendering: auto; |
| 22 | + text-align: center; |
| 23 | + -webkit-font-smoothing: antialiased; |
| 24 | + -moz-osx-font-smoothing: grayscale; |
| 25 | + user-select: none; |
| 26 | + -webkit-user-select: none; |
| 27 | + -ms-user-select: none; |
| 28 | +} |
| 29 | + |
| 30 | +/*--------------------- |
| 31 | + * Modifiers |
| 32 | + *-------------------*/ |
| 33 | + |
| 34 | +@keyframes codicon-spin { |
| 35 | + 100% { |
| 36 | + transform: rotate(360deg); |
| 37 | + } |
| 38 | +} |
| 39 | + |
| 40 | +.codicon-sync.codicon-modifier-spin, |
| 41 | +.codicon-loading.codicon-modifier-spin, |
| 42 | +.codicon-gear.codicon-modifier-spin { |
| 43 | + /* Use steps to throttle FPS to reduce CPU usage */ |
| 44 | + animation: codicon-spin 1.5s steps(30) infinite; |
| 45 | +} |
| 46 | + |
| 47 | +.codicon-modifier-disabled { |
| 48 | + opacity: 0.5; |
| 49 | +} |
| 50 | + |
| 51 | +.codicon-modifier-hidden { |
| 52 | + opacity: 0; |
| 53 | +} |
| 54 | + |
| 55 | +/* custom speed & easing for loading icon */ |
| 56 | +.codicon-loading { |
| 57 | + animation-duration: 1s !important; |
| 58 | + animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important; |
| 59 | +} |
| 60 | + |
| 61 | +/*--------------------- |
| 62 | + * Icons |
| 63 | + *-------------------*/ |
| 64 | + |
| 65 | +.codicon-trash:before { |
| 66 | + content: "\ea81"; |
| 67 | +} |
0 commit comments