Vscode-vibrancy: l'effet ne fonctionne pas pour le terminal

Créé le 13 juil. 2019  ·  7Commentaires  ·  Source: EYHN/vscode-vibrancy

Le terminal intégré n'a pas d'effet.
Annotation

Commentaire le plus utile

@AmrBinBashir Vous devez modifier le style de VSCode.

.monaco-workbench .panel.integrated-terminal *:not(.xterm-cursor):not(.xterm-cursor-block) {
    background: transparent !important;
}
.monaco-workbench .panel.integrated-terminal *:hover:not(.xterm-cursor):not(.xterm-cursor-block) {
    background: transparent !important;
}
.monaco-workbench .panel.integrated-terminal .find-focused .xterm .xterm-viewport, .monaco-workbench .panel.integrated-terminal .xterm.focus .xterm-viewport, .monaco-workbench .panel.integrated-terminal .xterm:focus .xterm-viewport, .monaco-workbench .panel.integrated-terminal .xterm:hover .xterm-viewport {
    background: transparent !important;
}
.monaco-workbench .panel.integrated-terminal .terminal-outer-container {
    background-color: rgba(37, 37, 37,0.4); // Modify it here to the color you need.
}

Tous les 7 commentaires

Merci pour vos commentaires.

Dans vscode, le terminal est rendu à travers le canevas et je ne peux pas rendre l'arrière-plan du canevas transparent. Je répondrai ici s'il y a des progrès.

Merci pour vos commentaires.

Dans vscode, le terminal est rendu à travers le canevas et je ne peux pas rendre l'arrière-plan du canevas transparent. Je répondrai ici s'il y a des progrès.

vous avez fait un travail incroyable, je peux vivre avec un terminal comme celui-ci.

Vous devez changer le type de rendu du terminal en dom

"terminal.integrated.rendererType": "dom"

@syfxlin
J'ajoute ceci à mon settings.json mais pas encore de chance. J'ai également essayé d'ajouter "terminal.background": "#00000000" à mon "workbecnh.coloCustomization" et toujours rien.

@AmrBinBashir Vous devez modifier le style de VSCode.

.monaco-workbench .panel.integrated-terminal *:not(.xterm-cursor):not(.xterm-cursor-block) {
    background: transparent !important;
}
.monaco-workbench .panel.integrated-terminal *:hover:not(.xterm-cursor):not(.xterm-cursor-block) {
    background: transparent !important;
}
.monaco-workbench .panel.integrated-terminal .find-focused .xterm .xterm-viewport, .monaco-workbench .panel.integrated-terminal .xterm.focus .xterm-viewport, .monaco-workbench .panel.integrated-terminal .xterm:focus .xterm-viewport, .monaco-workbench .panel.integrated-terminal .xterm:hover .xterm-viewport {
    background: transparent !important;
}
.monaco-workbench .panel.integrated-terminal .terminal-outer-container {
    background-color: rgba(37, 37, 37,0.4); // Modify it here to the color you need.
}

@syfxlin Merci, ça marche bien maintenant.
@EYHN Je suppose que vous pouvez implémenter le code syfxlin dans la prochaine version. Considérez ce problème comme résolu.

Merci! @syfxlin
J'ai optimisé ce CSS. Il a été publié en 1.0.5.

Cette page vous a été utile?
0 / 5 - 0 notes

Questions connexes

lyfunny picture lyfunny  ·  6Commentaires

drewswaycool picture drewswaycool  ·  6Commentaires

Diomchen picture Diomchen  ·  6Commentaires

Bernardi23 picture Bernardi23  ·  9Commentaires

lnminh58 picture lnminh58  ·  7Commentaires