Skip to content

Instantly share code, notes, and snippets.

@LoyEgor
Last active January 11, 2022 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LoyEgor/b067baf88e011460642d114bc59cbf9a to your computer and use it in GitHub Desktop.
Save LoyEgor/b067baf88e011460642d114bc59cbf9a to your computer and use it in GitHub Desktop.
atom sync settings
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# console.log "Saved! #{editor.getPath()}"
#переключать фокус для терминала
atom.packages.onDidActivatePackage (pack) ->
if pack.name == 'platformio-ide-terminal'
atom.commands.add 'atom-workspace',
'editor:focus-main', ->
p = atom.workspace.getActivePane()
panels = atom.workspace.getBottomPanels()
term = panels.find (pan) ->
pan.item.constructor.name == 'PlatformIOTerminalView' and pan.visible
if not term
# Open a new terminal
editor = atom.workspace.getActiveTextEditor()
atom.commands.dispatch(atom.views.getView(editor), 'platformio-ide-terminal:new')
else if term and p.focused isnt false
term.item.focus()
else if term and p.focused is false
term.item.blur() # Stops the terminal from blinking
p.activate()
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more information about keymaps in these guides:
# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_keybindings
# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
# #выделение контента внутри тега от emmet (потому что в sublime так):
# 'atom-text-editor:not([mini])':
# 'cmd-shift-A': 'emmet:balance-outward'
'atom-text-editor':
#бьютифизация кода (потому что стандарт не удобен, а в брекетсе было так):
'cmd-alt-b': 'atom-beautify:beautify-editor'
#показывать различия в изменениях гита. По умолчанию нужно жать 2 комбинации друг за другом, alt-q не занят вроде, и другие комбинации из git-diff плагина тоже делаются через alt
'alt-q': 'git-diff-details:toggle-git-diff-details'
'alt-z': 'git-diff-details:undo'
#cmd удобнее чем ctrl (т.е. win кнопка)
'alt-space': 'autocomplete-plus:activate'
'ctrl-up': 'bracket-matcher:go-to-matching-bracket'
'ctrl-down': 'bracket-matcher:go-to-matching-bracket'
#потому что у менч puntoswitcher на cmd-shift-space, а это тоже конвертация текста
'cmd-alt-shift-space': 'tourette:convert'
#в стандарте там 2 разных сочитания клавюш нужно жать
'alt-u': 'editor:upper-case'
'alt-l': 'editor:lower-case'
#переназначаю нативное выделение кода от атома (tree-sitter - включается в настройках) на хоткеи emmetа
"ctrl-d": "editor:select-larger-syntax-node",
"alt-d": "editor:select-smaller-syntax-node",
#cmd-delete по умолчанию просто опусташает строку, а эта комбинация удаляет строку
'atom-text-editor:not([mini])':
'cmd-delete': 'editor:delete-line'
#Открытие/закрытие терминал плагина platformio-ide-terminal
'.platform-darwin atom-workspace':
'cmd-alt-`': 'platformio-ide-terminal:close' #когда § вместо ` - не работает alt вроде
'cmd-shift-`': 'platformio-ide-terminal:new'
'cmd-`': 'platformio-ide-terminal:toggle'
#хоткей для переключения фокуса терминала§
'`': 'editor:focus-main'
'ctrl-enter': 'platformio-ide-terminal:insert-selected-text'
#'cmd-e': 'color-picker:open'
# #Открытие/закрытие терминал плагина platformio-ide-terminal с рабочей ё
# '.platform-darwin atom-workspace':
# 'alt-cmd-`': 'platformio-ide-terminal:close' #нужно ` вместо § - иначе не работает
# 'shift-cmd-F15': 'platformio-ide-terminal:new' #shift-cmd-F15 - рандомный хоткей, который я переназначил в bettertouchtool
# 'cmd-§': 'platformio-ide-terminal:toggle'
# #хоткей для переключения фокуса терминала
# '§': 'editor:focus-main'
# 'ctrl-enter': 'platformio-ide-terminal:insert-selected-text'
# #'cmd-e': 'color-picker:open'
'.platform-darwin .platformio-ide-terminal .terminal':
'cmd-c': 'platformio-ide-terminal:copy'
'cmd-v': 'platformio-ide-terminal:paste'
#Потому что так логичнее
'.platform-darwin atom-text-editor':
'cmd-shift-L': 'grammar-selector:show'
#Потому что иногда не появляется в настройках плагина
# 'atom-workspace':
# 'ctrl-alt-a': 'scroll-searcher:toggle'
#пробую использовать капслок для прыжка по коду (в Karabiner переназначил на F15)
'atom-workspace atom-text-editor:not(.mini)':
'f15': 'jumpy:toggle'
'atom-workspace atom-text-editor.jumpy-jump-mode':
'f15': 'jumpy:clear'
#ограничиваю работу выделение кода от emmeta только для html и css
'.platform-darwin atom-text-editor[data-grammar="text html basic"]:not([mini]), .platform-darwin atom-text-editor[data-grammar~="erb"]:not([mini]), .platform-darwin atom-text-editor[data-grammar~="jade"]:not([mini]), .platform-darwin atom-text-editor[data-grammar~="css"]:not([mini]), .platform-darwin atom-text-editor[data-grammar~="stylus"]:not([mini]), .platform-darwin atom-text-editor[data-grammar~="sass"]:not([mini]), .platform-darwin atom-text-editor[data-grammar~="scss"]:not([mini])':
'ctrl-d': 'emmet:balance-outward'
'alt-d': 'emmet:balance-inward'
{
"about": {
"version": "1.9.1"
},
"archive-view": {
"version": "0.66.0"
},
"atom-beautify": {
"version": "0.33.4"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"autoclose-html": {
"version": "0.23.0"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-paths": {
"version": "2.17.0"
},
"autocomplete-plus": {
"version": "2.42.4"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"background-tips": {
"version": "0.28.0"
},
"base16-tomorrow-dark-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"base16-tomorrow-light-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"bookmarks": {
"version": "0.46.0"
},
"bracket-matcher": {
"version": "0.92.0"
},
"busy-signal": {
"version": "2.0.1"
},
"color-picker": {
"version": "2.3.0"
},
"command-palette": {
"version": "0.43.5"
},
"dalek": {
"version": "0.2.2"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"duplicate-line-or-selection": {
"version": "0.9.0"
},
"emmet": {
"version": "2.4.3"
},
"emmet-snippets-compatibility": {
"version": "1.0.6"
},
"encoding-selector": {
"version": "0.23.9"
},
"exception-reporting": {
"version": "0.43.1"
},
"file-icons": {
"version": "2.1.47"
},
"find-and-replace": {
"version": "0.219.8"
},
"fuzzy-finder": {
"version": "1.14.3"
},
"gist": {
"version": "1.1.0"
},
"git-diff": {
"version": "1.3.9"
},
"git-diff-details": {
"version": "1.4.0"
},
"git-plus": {
"version": "8.7.1"
},
"github": {
"version": "0.36.9"
},
"go-to-line": {
"version": "0.33.0"
},
"grammar-selector": {
"version": "0.50.1"
},
"highlight-selected": {
"version": "0.17.0"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"indent-guide-improved": {
"version": "1.4.13"
},
"intentions": {
"version": "2.1.1"
},
"jquery-snippets": {
"version": "11.0.0"
},
"jumpy": {
"version": "5.0.2"
},
"keybinding-resolver": {
"version": "0.39.0"
},
"language-c": {
"version": "0.60.19"
},
"language-clojure": {
"version": "0.22.8"
},
"language-coffee-script": {
"version": "0.50.0"
},
"language-csharp": {
"version": "1.1.0"
},
"language-css": {
"version": "0.44.4"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-go": {
"version": "0.47.2"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-java": {
"version": "0.32.1"
},
"language-javascript": {
"version": "0.134.1"
},
"language-json": {
"version": "1.0.5"
},
"language-less": {
"version": "0.34.3"
},
"language-make": {
"version": "0.23.0"
},
"language-mustache": {
"version": "0.14.5"
},
"language-objective-c": {
"version": "0.16.0"
},
"language-perl": {
"version": "0.38.1"
},
"language-php": {
"version": "0.47.0"
},
"language-property-list": {
"version": "0.9.1"
},
"language-pug": {
"version": "0.0.22"
},
"language-python": {
"version": "0.53.6"
},
"language-ruby": {
"version": "0.72.23"
},
"language-ruby-on-rails": {
"version": "0.25.3"
},
"language-rust-bundled": {
"version": "0.1.0"
},
"language-sass": {
"version": "0.62.1"
},
"language-shellscript": {
"version": "0.28.2"
},
"language-source": {
"version": "0.9.0"
},
"language-sql": {
"version": "0.25.10"
},
"language-text": {
"version": "0.7.4"
},
"language-todo": {
"version": "0.29.4"
},
"language-toml": {
"version": "0.20.0"
},
"language-typescript": {
"version": "0.6.3"
},
"language-xml": {
"version": "0.35.3"
},
"language-yaml": {
"version": "0.32.0"
},
"line-ending-selector": {
"version": "0.7.7"
},
"link": {
"version": "0.31.6"
},
"linter": {
"version": "3.4.0"
},
"linter-htmlhint": {
"version": "1.6.3"
},
"linter-less": {
"version": "2.6.0"
},
"linter-ui-default": {
"version": "3.4.1"
},
"markdown-preview": {
"version": "0.160.2"
},
"metrics": {
"version": "1.8.1"
},
"minimap": {
"version": "4.40.0"
},
"minimap-cursorline": {
"version": "1.0.5"
},
"minimap-find-and-replace": {
"version": "5.0.9"
},
"minimap-git-diff": {
"version": "4.3.6"
},
"minimap-highlight-selected": {
"version": "4.6.6"
},
"notifications": {
"version": "0.71.0"
},
"one-dark-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-dark-ui": {
"version": "1.12.5",
"theme": "ui"
},
"one-light-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-light-ui": {
"version": "1.12.5",
"theme": "ui"
},
"open-on-github": {
"version": "1.3.2"
},
"package-generator": {
"version": "1.3.0"
},
"pigments": {
"version": "0.40.6"
},
"platformio-ide-terminal": {
"version": "2.10.1"
},
"project-manager": {
"version": "3.3.8"
},
"scroll-searcher": {
"version": "5.2.0"
},
"settings-view": {
"version": "0.261.8"
},
"snippets": {
"version": "1.5.1"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"sort-lines": {
"version": "0.19.0"
},
"spell-check": {
"version": "0.77.1"
},
"split-diff": {
"version": "1.6.1"
},
"status-bar": {
"version": "1.8.17"
},
"styleguide": {
"version": "0.49.12"
},
"Sublime-Style-Column-Selection": {
"version": "1.7.5"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.15"
},
"tabs": {
"version": "0.110.0"
},
"tag": {
"version": "0.5.0"
},
"timecop": {
"version": "0.36.2"
},
"tourette": {
"version": "0.4.0"
},
"tree-view": {
"version": "0.228.3"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"vim-mode-plus": {
"version": "1.36.7"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.8"
},
"wrap-guide": {
"version": "0.41.0"
}
}
{
"*": {
"atom-beautify": {
"general": {
"_analyticsUserId": "e2543370-59bf-42eb-8023-6e8acfeee5d6"
},
"less": {
"convert_quotes": "single",
"no_lead_zero": true,
"preserve_newlines": true
}
},
"atom-ternjs": {
"excludeLowerPriorityProviders": true,
"inlineFnCompletionDocumentation": true,
"snippetsFirst": true,
"useSnippets": true,
"useSnippetsAndFunction": true
},
"autocomplete-paths": {
"scopes": [
{
"extensions": [
"js",
"png",
"gif",
"jpeg",
"jpg",
"svg",
"html",
"css"
],
"includeCurrentDirectory": false,
"prefixes": [
"src=['\"]",
"href=['\"]"
],
"relative": true,
"scopes": [
"text.html.basic"
]
},
{
"extensions": [
"png",
"gif",
"jpeg",
"jpg",
"woff2",
"woff",
"ttf",
"otf",
"eot",
"svg"
],
"includeCurrentDirectory": false,
"prefixes": [
"\\s+url\\(['\"]?"
],
"relative": true,
"scopes": [
"source.css",
"source.css.less",
"source.css.scss",
"source.sass"
]
},
{
"extensions": [
"less",
"css",
"sass",
"scss"
],
"includeCurrentDirectory": false,
"prefixes": [
"@import\\s+.*?['\"]"
],
"relative": true,
"scopes": [
"source.css",
"source.css.less",
"source.css.scss",
"source.sass"
]
},
{
"extensions": [
"js",
"jsx",
"ts",
"coffee"
],
"includeCurrentDirectory": true,
"prefixes": [
"import\\s+.*?from\\s+['\"]",
"require\\(['\"]",
"define\\(\\[?['\"]",
"background-image:\\s+url\\(['\"]"
],
"relative": true,
"replaceOnInsert": [
[
".jsx?$",
""
],
[
".ts$",
""
],
[
".coffee$",
""
]
],
"scopes": [
"source.js"
]
},
{
"includeCurrentDirectory": false,
"prefixes": [
"app/"
],
"relative": true,
"replaceOnInsert": [
[
"app/",
""
]
],
"scopes": [
"source.js"
]
}
]
},
"autocomplete-plus": {
"enableExtendedUnicodeSupport": true,
"minimumWordLength": 1,
"strictMatching": true
},
"color-picker": {
"automaticReplace": true,
"randomColor": false
},
"core": {
"disabledPackages": [
"wrap-guide",
"Sublime-Style-Column-Selection",
"indent-guide-improved",
"emmet-snippets-compatibility",
"vim-mode-plus"
],
"fileSystemWatcher": "experimental",
"ignoredNames": [
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db"
],
"packagesWithKeymapsDisabled": [
"atom-beautify",
"platformio-ide-terminal",
"tourette"
],
"telemetryConsent": "limited"
},
"editor": {
"fontSize": 13,
"scrollPastEnd": true,
"showIndentGuide": true,
"softWrap": true,
"tabLength": 4
},
"exception-reporting": {
"userId": "0c7d5341-c2e2-1235-6f20-0826c5997233"
},
"find-and-replace": {
"scrollToResultOnLiveSearch": true
},
"gist": {
"closeOnSave": true,
"token": "411201089970cc08450fac5f66d95aee37341b41"
},
"highlight-selected": {
"hideHighlightOnSelectedWord": true,
"ignoreCase": true,
"onlyHighlightWholeWords": false
},
"jumpy": {
"fontSize": 1,
"highContrast": true,
"matchPattern": "([A-Z]+([0-9a-z])*)|[a-z0-9]{2,}|(\\{)",
"useHomingBeaconEffectOnJumps": false
},
"linter": {
"lintOnChange": false
},
"linter-ui-default": {
"panelHeight": 122,
"showPanel": true,
"statusBarRepresents": "Current File"
},
"minimap": {
"adjustMinimapWidthOnlyIfSmaller": false,
"adjustMinimapWidthToSoftWrap": false,
"charHeight": 4,
"ignoreWhitespacesInTokens": true,
"independentMinimapScroll": true,
"minimapScrollIndicator": false,
"plugins": {
"cursorline": true,
"cursorlineDecorationsZIndex": 0,
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0,
"git-diff": true,
"git-diffDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"minimap-autohide": false,
"minimap-autohideDecorationsZIndex": 0
},
"smoothScrolling": false,
"textOpacity": 0.3
},
"pigments": {
"autocompleteSuggestionsFromValue": true,
"extendAutocompleteToColorValue": true,
"extendAutocompleteToVariables": true,
"groupPaletteColors": "by file",
"mergeColorDuplicates": true
},
"platformio-ide-terminal": {
"ansiColors": {
"normal": {
"blue": "#2954cd",
"cyan": "#53cdbf",
"green": "#4fc175",
"magenta": "#c266cd",
"red": "#cd4f43",
"yellow": "#e2dd52"
}
},
"core": {
"autoRunCommand": "sudo -s\nq"
},
"style": {
"animationSpeed": 3,
"theme": "dracula"
}
},
"scroll-searcher": {
"color": "#568af2",
"scrOpacity": 1,
"size": 2
},
"split-diff": {
"autoDiff": false
},
"sync-settings": {
"autoCheckForUpdatedBackup": "no",
"gistDescription": "atom sync settings",
"hiddenSettings": {},
"quietUpdateCheck": true
},
"tree-view": {
"hideIgnoredNames": true
},
"welcome": {
"showOnStartup": false
}
}
}
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
'.source.js':
'console.log':
'prefix': 'log'
'body': 'console.log(${1:"test"});'
'.source.less':
'!important':
'prefix': 'impo'
'body': '!important;$1'
'transparent':
'prefix': 'tran'
'body': 'transparent;$1'
'&:hover':
'prefix': 'ho'
'body': '&:hover{\n\t$1\n}'
':hover':
'prefix': ':ho'
'body': ':hover{\n\t$1\n}'
'&:after':
'prefix': 'af'
'body': '&:after{\n\t$1\n}'
':after':
'prefix': ':af'
'body': ':after{\n\t$1\n}'
'&:before':
'prefix': 'bf'
'body': '&:before{\n\t$1\n}'
':before':
'prefix': ':bf'
'body': ':before{\n\t$1\n}'
'&:after+content':
'prefix': 'afcon'
'body': '&:after{\n\tcontent\: \'\'\;\n\t$1\n}'
':after+content':
'prefix': ':afcon'
'body': ':after{\n\tcontent\: \'\'\;\n\t$1\n}'
'&:before+content':
'prefix': 'bfcon'
'body': '&:before{\n\tcontent\: \'\'\;\n\t$1\n}'
':before+content':
'prefix': ':bfcon'
'body': ':before{\n\tcontent\: \'\'\;\n\t$1\n}'
'&:before+after+content':
'prefix': 'bfaf'
'body': '&:before,\n&:after{\n\tcontent\: \'\'\;\n\t$1\n}'
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
/*
* Examples
* (To see them, uncomment and save)
*/
// style the background color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
//изменение стиля плагина indent-guide-improved
.indent-guide-improved {
@indent-guide-improved-col1: #383c43;
@indent-guide-improved-col2: #585d64;
@indent-guide-improved-col3: #a0a3a7;
border-width: 0 0 0 1px;
border-style: dotted;
border-color: @indent-guide-improved-col1;
background-color: transparent !important;
&.indent-guide-stack {
border-color: @indent-guide-improved-col2;
&.indent-guide-active {
border-color: @indent-guide-improved-col3;
}
}
}
//изменения цвета выделения в терминале, плагин platformio-ide-terminal
.platformio-ide-terminal.terminal-view .xterm {
&.dracula {
::selection {
background-color: rgb(187, 128, 117);
}
}
}
atom-text-editor {
//цвет выделения результатов поиска
.find-result .region.region.region {
//background-color: #4d87ee;
border-bottom: 1px solid yellow;
z-index: -1;
}
//точка для линтера иначе крадет 8px пространства по всей высоте
.gutter[gutter-name="linter"] {
overflow: visible;
min-width: 0;
position: relative;
left: -8px;
}
//цвет выделения рамки плагина highlight-selected
&,
&.editor {
.highlights .highlight-selected .region {
border-color: #a0a3a7 !important;
}
// .highlights .highlight-selected.light-theme .region {
// border-color: transparent !important;
// }
//сделать более видемым scroll-searcher
.scroll-searcher {
z-index: 3;
pointer-events: none;
}
}
//сделать более видемым scroll-searcher
.vertical-scrollbar {
opacity: 1 !important;
}
//кастомизация цвета выделения кода (для того чтобы было лучше различимо при highlight-selected выделении)
.selection .region {
//это 50% прозрачности цвета #4d87ee
background-color: #3b5991;
}
//изменить цвета подсчетки открывающихся и закрывающихся элементов
.bracket-matcher .region {
border-bottom-color: yellow;
// border-bottom: 0;
// background-color: #913b3b;
}
// кастомизация плигина jumpy
.jumpy-label {
// высокая контрастность (активируется в настройках)
&.high-contrast {
line-height: 10px;
top: -25px;
//top: -10px;
opacity: 1;
@brs: 3px;
@bcl: #00cc60;
border-radius: @brs @brs 0 @brs;
background-color: @bcl;
transform: translateX(-100%);
&:before {
content: '';
width: 0;
height: 0;
border-width: 2px;
border-style: solid;
border-color: @bcl @bcl transparent transparent;
position: absolute;
bottom: 0;
right: 0;
transform: translateY(100%);
}
}
}
}
//изменение размера и формы каретки скролла
.scrollbars-visible-always {
/deep/::-webkit-scrollbar {
@s: 12px;
width: @s;
height: @s;
&-thumb {
background-color: #515661 !important;
border: 0;
border-radius: 0;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment