-
-
Save rubenvereecken/1767e9a13dd32b15ebc4 to your computer and use it in GitHub Desktop.
cVim CSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* CSS file for cVim. Focus on visibility without interfering. | |
* Based on this gist: | |
*/ | |
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:500); | |
#cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar { | |
font-family: "Source Code Pro"; | |
font-size: 14px; | |
-webkit-font-smoothing: antialiased !important; | |
} | |
#cVim-link-container { | |
position: absolute; | |
pointer-events: none; | |
width: 100%; left: 0; | |
height: 100%; top: 0; | |
z-index: 2147483647; | |
} | |
.cVim-link-hint { | |
border-radius: 2px; | |
color: #fdf6e3; | |
padding: 4px !important; | |
display: inline-block !important; | |
vertical-align: middle !important; | |
text-align: center !important; | |
position: absolute !important; | |
transition: opacity 0.2s ease-out, background 0.2s ease-out; | |
background: #dc322f; | |
border-width: 0 !important; | |
} | |
.cVim-link-hint_match { | |
color: #839496; | |
} | |
#cVim-command-bar { | |
position: fixed !important; | |
z-index: 2147483646 !important; | |
background-color: #002b36 !important; | |
color: #fdf6e3 !important; | |
display: none; | |
box-sizing: content-box !important; | |
left: 0 !important; | |
width: 100% !important; | |
height: 26px !important; | |
} | |
#cVim-command-bar-mode { | |
display: inline-block; | |
vertical-align: middle; | |
box-sizing: border-box !important; | |
padding-left: 2px !important; | |
height: 100% !important; | |
width: 10px !important; | |
padding-top: 6px !important; | |
color: #dc322f !important; | |
} | |
#cVim-command-bar-input { | |
color: #fdf6e3 !important; | |
height: 100% !important; | |
width: calc(100% - 10px) !important; | |
padding-top: 2px !important; | |
vertical-align: middle; | |
background-color: transparent !important; | |
} | |
#cVim-command-bar-search-results { | |
position: fixed; | |
width: 100% !important; | |
overflow: hidden; | |
z-index: 2147483647 !important; | |
left: 0; | |
background-color: #657b83; | |
} | |
#cVim-command-bar-search-results[style~="bottom:"], | |
#cVim-command-bar-search-results[style~="bottom:"] .cVim-completion-item { | |
transform: rotate(180deg); | |
} | |
.cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right { | |
text-overflow: ellipsis; | |
padding: 1px; | |
display: inline-block; | |
box-sizing: border-box; | |
vertical-align: middle; | |
overflow: hidden; | |
white-space: nowrap; | |
} | |
.cVim-completion-item:nth-child(even) { | |
background-color: #586e75; | |
} | |
.cVim-completion-item { | |
width: 100%; left: 0; | |
color: #fdf6e3; | |
} | |
.cVim-completion-item .cVim-left { | |
color: #fdf6e3; | |
width: 50%; | |
} | |
.cVim-completion-item .cVim-right { | |
font-style: italic; | |
color: #93a1a1; | |
} | |
#cVim-hud { | |
background-color: #073642; | |
position: fixed !important; | |
transition: right 0.2s ease-out; | |
z-index: 24724289; | |
} | |
#cVim-hud span { | |
padding: 2px; | |
padding-left: 4px; | |
padding-right: 4px; | |
color: #fdf6e3; | |
font-size: 18px; | |
} | |
#cVim-frames-outline { | |
position: fixed; | |
width: 100%; | |
height: 100%; | |
left: 0; | |
top: 0; | |
right: 0; | |
z-index: 9999999999; | |
box-sizing: border-box; | |
border: 3px solid #b58900; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment