Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.1.5] - 20.05.2020
### Fixed
* Invisible close icon

## [2.1.4] - 20.05.2020
### Fixed
* xterm related problem
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pymakr",
"main": "./lib/main.js",
"version": "2.1.3",
"version": "2.1.5",
"description": "Adds a REPL console to Atom that connects to your Pycom board. It can run code on the board or synchronize your project files to it.",
"keywords": [
"Pycom",
Expand Down
14 changes: 10 additions & 4 deletions styles/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
&:hover {
.chrome-tab-close {
opacity: 1 !important;
color: @text-color;
@color: ~`"@{text-color}".replace("\#", '%23')`;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path stroke='@{color}' stroke-linecap='square' stroke-width='1.5' d='M0 0 L8 8 M8 0 L0 8'></path></svg>");
}
}
}
Expand Down Expand Up @@ -249,25 +250,30 @@
}
.chrome-tabs .chrome-tab .chrome-tab-close {
flex-grow: 0;
opacity: 0;
flex-shrink: 0;
position: relative;
cursor: pointer;
z-index: 30;
width: 16px;
height: 16px;
border-radius: 50%;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path stroke='@{text-color}' stroke-linecap='square' stroke-width='1.5' d='M0 0 L8 8 M8 0 L0 8'></path></svg>");
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path stroke='' stroke-linecap='square' stroke-width='1.5' d='M0 0 L8 8 M8 0 L0 8'></path></svg>");
background-position: center center;
background-repeat: no-repeat;
background-size: 8px 8px;
color: @text-color;
}

@media (hover: hover) {
.chrome-tabs .chrome-tab .chrome-tab-close:hover {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path stroke='@{text-color-highlight}' stroke-linecap='square' stroke-width='1.5' d='M0 0 L8 8 M8 0 L0 8'></path></svg>");
@color: ~`"@{text-color-highlight}".replace("\#", '%23')`;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path stroke='@{color}' stroke-linecap='square' stroke-width='1.5' d='M0 0 L8 8 M8 0 L0 8'></path></svg>");
}

.chrome-tabs .chrome-tab .chrome-tab-close:hover:active {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path stroke='@{text-color-subtle}' stroke-linecap='square' stroke-width='1.5' d='M0 0 L8 8 M8 0 L0 8'></path></svg>");
@color: @text-color-subtle;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path stroke='@{color}' stroke-linecap='square' stroke-width='1.5' d='M0 0 L8 8 M8 0 L0 8'></path></svg>");
}
}

Expand Down