Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Mar 10, 2024
1 parent 85ef1f8 commit 610e5dc
Show file tree
Hide file tree
Showing 30 changed files with 240 additions and 130 deletions.
12 changes: 6 additions & 6 deletions accordion.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
.ac-container {
text-align: left;
border: 1px solid #c9c9c9;
border: 1px solid var(--bborder);

> input {
display: none;

&:checked + label {
background: var(--btn-c-bg);
background: var(--btn-bg);
color: var(--txt-on-bg-c-2);

+ section {
display: inherit;
}

&:hover {
background: var(--btn-c-bg-hover);
background: var(--btn-bg-hover);
}
}

Expand All @@ -30,18 +30,18 @@
z-index: 20;
margin-top: -1px;
cursor: pointer;
color: #000;
color: var(--default-c);
font-size: 1rem;
background: var(--bborder);

&:hover {
color: var(--txt-on-bg-c-2);
background: var(--btn-c-bg-hover);
background: var(--btn-bg-hover);
}
}

> section {
background: #fff;
background: var(--box-bg);
overflow: hidden;
height: auto;
position: relative;
Expand Down
8 changes: 4 additions & 4 deletions alert.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@each $tuple in
'ok' #aaffad #81e27d #459442,
'warning' #f8ffa8 #d6d949 #94972f,
'error' #ff7d79 #ee5649 #a5302a,
'info' #b6d2ff #85b0ee #4865a5 {
'ok' var(--green1-c) var(--green2-c) var(--green3-c),
'warning' var(--yellow1-c) var(--yellow2-c) var(--yellow3-c),
'error' var(--red1-c) var(--red2-c) var(--red3-c),
'info' var(--blue1-c) var(--blue2-c) var(--blue3-c) {
.log-lvl-#{nth($tuple, 1)} {
background: #{nth($tuple, 2)};
border: 1px solid #{nth($tuple, 3)};
Expand Down
10 changes: 5 additions & 5 deletions article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
}

article {
background: #fff;
background: var(--article-bg);
padding: 10px;
margin: 0;
font-size: .9rem;
color: #000;
color: var(--article-c);
line-height: 2rem;
white-space: normal;

Expand All @@ -21,15 +21,15 @@ article {
}

del {
background: #ff9e9e;
background: var(--red1-c);
}

ins {
background: #b0f3b0;
background: var(--green1-c);
}

mark {
background: #f9ffa1;
background: var(--yellow1-c);
}

h1, h2, h3, h4, h5, h6 {
Expand Down
19 changes: 10 additions & 9 deletions breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
overflow: hidden;
font-size: 1rem;
user-select: none;
display: flex;

li {
background: #fff;
background: var(--box-bg);
border-left: 1px solid var(--bborder);
border-top: 1px solid var(--bborder);
border-bottom: 1px solid var(--bborder);
Expand All @@ -23,7 +24,7 @@
height: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 14px solid #fff;
border-left: 14px solid var(--box-bg);
position: absolute;
top: 50%;
margin-top: -20px;
Expand All @@ -45,25 +46,25 @@
}

&.active:after {
border-left: 14px solid var(--btn-c-bg);
border-left: 14px solid var(--btn-bg);
}

&:hover:after {
border-left: 14px solid var(--btn-c-bg-hover);
border-left: 14px solid var(--btn-bg-hover);
}
}

.active {
cursor: default;
background: var(--btn-c-bg);
background: var(--btn-bg);
}

.active, li:hover {
color: var(--txt-on-bg-c-2);
}

li:hover {
background: var(--btn-c-bg-hover);
background: var(--btn-bg-hover);
}
}

Expand All @@ -76,7 +77,7 @@
height: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 14px solid #fff;
border-left: 14px solid var(--box-bg);
position: absolute;
top: 50%;
margin-top: -20px;
Expand All @@ -88,11 +89,11 @@
}

&.active:not(:last-child):after {
border-left: 14px solid var(--btn-c-bg);
border-left: 14px solid var(--btn-bg);
}

&:hover:not(:last-child):after {
border-left: 14px solid var(--btn-c-bg-hover);
border-left: 14px solid var(--btn-bg-hover);
}
}

Expand Down
41 changes: 21 additions & 20 deletions button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ button, input[type="submit"], input[type="reset"], input[type="button"], label.b
cursor: pointer;
display: inline-flex;
min-width: 70px;
background: var(--btn-c-bg);
background: var(--btn-bg);
color: var(--txt-on-bg-c-2);
padding: 0 1rem 0 1rem;
flex-grow: 0;
Expand All @@ -28,68 +28,69 @@ button, input[type="submit"], input[type="reset"], input[type="button"], label.b
}

&:hover {
background: var(--btn-c-bg-hover);
background: var(--btn-bg-hover);
color: var(--txt-on-bg-c-2);
}
}

button.save, .button.save, input[type="submit"].save {
color: rgba(0, 0, 0, 0.75);
background: #8fff79;
color: var(--save-c);
background: var(--save-bg);

&:hover, &:focus {
background: #a1ffa1;
background: var(--save-bg-hover);
}
}

button.cancel, .button.cancel, input[type="submit"].cancel {
background: #ee5649;
color: var(--cancel-c);
background: var(--cancel-bg);

&:hover, &:focus {
background: #ff7d79;
background: var(--cancel-bg-hover);
}
}

button.close, .button.close, input[type="submit"].close, input[type="reset"].close {
color: rgba(0, 0, 0, 0.75);
background: #ffde5b;
color: var(--close-c);
background: var(--close-bg);

&:hover, &:focus {
background: #ffe682;
background: var(--close-bg-hover);
}
}

button.disabled, .button.disabled, input[type="submit"].disabled {
color: rgba(0, 0, 0, 0.5);
background: #e1e1e1;
color: var(--disabled-c);
background: var(--disabled-bg);
cursor: not-allowed;

&:hover, &:focus {
background: #e1e1e1;
background: var(--disabled-bg-hover);
}
}

.link.default {
color: var(--btn-c-bg);
color: var(--btn-bg);
}

.link.save {
color: #8fff79;
color: var(--save-bg);
}

.link.cancel {
color: #ee5649;
color: var(--cancel-bg);
}

.link.close {
color: #fffc3e;
color: var(--close-bg);
}

.link.disabled {
color: #e1e1e1;
color: var(--disabled-bg);
}

i.favorite {
color: #ffd700;
text-shadow: 0 0 1px #000;
color: var(--fav-c);
text-shadow: 0 0 1px var(--text-shadow);
}
2 changes: 1 addition & 1 deletion canvas.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
canvas {
background: #fff;
background: var(--box-bg);
user-select: none;

&.chart {
Expand Down
14 changes: 7 additions & 7 deletions colors.scss
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
.hl-1 {
background: var(--color-red) !important;
background: var(--red-c) !important;
color: #fff;
}

.hl-2 {
background: var(--color-green) !important;
background: var(--green-c) !important;
color: #fff;
}

.hl-3 {
background: var(--color-blue) !important;
background: var(--blue-c) !important;
color: #fff;
}

.hl-4 {
background: var(--color-yellow) !important;
background: var(--yellow-c) !important;
color: #000;
}

.hl-5 {
background: var(--color-purple) !important;
background: var(--purple-c) !important;
color: #fff;
}

.hl-6 {
background: var(--color-pink) !important;
background: var(--pink-c) !important;
color: #fff;
}

.hl-7 {
background: var(--color-orange) !important;
background: var(--orange-c) !important;
color: #fff;
}
16 changes: 8 additions & 8 deletions default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ p {
}

blockquote {
color: #fff;
background: #25acff;
border: 1px solid rgba(0, 0, 0, 0.4);
color: var(--bq-c);
background: var(--bq-bg);
border: 1px solid var(--bq-border);
padding: 1rem;
border-radius: 5px;
margin: 1.5rem;
Expand All @@ -41,8 +41,8 @@ blockquote {
pre, code {
font-family: var(--ff);
font-size: .8rem;
background: #f4f4f4;
color: #000;
background: var(--code-bg);
color: var(--code-c);
}

code {
Expand All @@ -53,13 +53,13 @@ code {
pre {
margin: 1rem 0 1rem 0;
line-height: 1.2rem;
border: 1px solid #ddd;
border: 1px solid var(--bborder);
padding: 1rem;
overflow-x: auto;
width: 100%;
box-sizing: border-box;
white-space: pre-wrap;
border-left: 3px solid #25acff;
border-left: 3px solid var(--bq-bg);

code {
padding: 0;
Expand All @@ -70,7 +70,7 @@ pre {

&:before {
display: inline-block;
border-right: 1px solid #ddd;
border-right: 1px solid var(--bborder);
padding: 0 .5em;
margin-right: .5em;
color: #888;
Expand Down
2 changes: 1 addition & 1 deletion form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ form {

label {
font-size: .9rem;
color: rgba(0, 0, 0, 1.0);
color: var(--default-c);
}

i+i {
Expand Down
Loading

0 comments on commit 610e5dc

Please sign in to comment.