| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- /*---------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
- .monaco-editor .cursors-layer {
- position: absolute;
- top: 0;
- }
- .monaco-editor .cursors-layer > .cursor {
- position: absolute;
- overflow: hidden;
- }
- /* -- smooth-caret-animation -- */
- .monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {
- transition: all 80ms;
- }
- /* -- block-outline-style -- */
- .monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {
- box-sizing: border-box;
- background: transparent !important;
- border-style: solid;
- border-width: 1px;
- }
- /* -- underline-style -- */
- .monaco-editor .cursors-layer.cursor-underline-style > .cursor {
- border-bottom-width: 2px;
- border-bottom-style: solid;
- background: transparent !important;
- box-sizing: border-box;
- }
- /* -- underline-thin-style -- */
- .monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {
- border-bottom-width: 1px;
- border-bottom-style: solid;
- background: transparent !important;
- box-sizing: border-box;
- }
- @keyframes monaco-cursor-smooth {
- 0%,
- 20% {
- opacity: 1;
- }
- 60%,
- 100% {
- opacity: 0;
- }
- }
- @keyframes monaco-cursor-phase {
- 0%,
- 20% {
- opacity: 1;
- }
- 90%,
- 100% {
- opacity: 0;
- }
- }
- @keyframes monaco-cursor-expand {
- 0%,
- 20% {
- transform: scaleY(1);
- }
- 80%,
- 100% {
- transform: scaleY(0);
- }
- }
- .cursor-smooth {
- animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;
- }
- .cursor-phase {
- animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;
- }
- .cursor-expand > .cursor {
- animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;
- }
|