Skip to content

Commit 78cbac7

Browse files
committed
Latest theme changes
1 parent 8d82573 commit 78cbac7

File tree

5 files changed

+47
-17
lines changed

5 files changed

+47
-17
lines changed

dist/textpattern/jquery-ui.css

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Hide jQuery UI elements.
66
*/
77
.ui-helper-hidden {
8-
display: none !important;
8+
display: none;
99
}
1010

1111
/**
@@ -33,7 +33,7 @@
3333
outline: 0;
3434
list-style: none;
3535
font-size: 1rem;
36-
line-height: 1.5384615;
36+
line-height: 1.5384615385;
3737
text-decoration: none;
3838
}
3939

@@ -1553,7 +1553,7 @@ input[type=button] .ui-icon,
15531553
font-family: inherit;
15541554
/* 2 */
15551555
font-size: 1rem;
1556-
line-height: 1.5384615;
1556+
line-height: 1.5384615385;
15571557
vertical-align: baseline;
15581558
text-align: center;
15591559
/* 3 */
@@ -1576,6 +1576,7 @@ input[type=button] .ui-icon,
15761576
filter: brightness(0.95);
15771577
color: var(--color-text-button-active);
15781578
text-decoration: none;
1579+
box-shadow: var(--inset-lowlighting);
15791580
}
15801581

15811582
.ui-button:focus {
@@ -1961,6 +1962,7 @@ input[type=button] .ui-icon,
19611962
display: none;
19621963
width: 17em;
19631964
padding: 0.2em 0.2em 0;
1965+
box-shadow: var(--standard-shadow);
19641966
}
19651967

19661968
.ui-datepicker .ui-datepicker-header {
@@ -2195,6 +2197,7 @@ input[type=button] .ui-icon,
21952197
padding: 0.2em;
21962198
overflow: hidden;
21972199
outline: 0;
2200+
box-shadow: var(--standard-shadow);
21982201
}
21992202

22002203
.ui-dialog .ui-dialog-titlebar {
@@ -2335,11 +2338,13 @@ input[type=button] .ui-icon,
23352338
display: block;
23362339
margin: 0;
23372340
padding: 0;
2341+
border-color: var(--color-border-light);
23382342
outline: 0;
23392343
list-style: none;
23402344
/* 1 */
23412345
font-size: 1rem;
2342-
line-height: 1.5384615;
2346+
line-height: 1.5384615385;
2347+
box-shadow: var(--standard-shadow);
23432348
}
23442349

23452350
.ui-menu .ui-menu {
@@ -2588,7 +2593,7 @@ input[type=button] .ui-icon,
25882593
border-top: 1px solid var(--color-border);
25892594
font-size: 1rem;
25902595
font-weight: bold;
2591-
line-height: 1.5384615;
2596+
line-height: 1.5384615385;
25922597
}
25932598

25942599
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup:first-child {
@@ -2631,6 +2636,7 @@ input[type=button] .ui-icon,
26312636
background: transparent;
26322637
color: var(--color-link-hover);
26332638
text-decoration: underline;
2639+
box-shadow: none;
26342640
}
26352641

26362642
.no-ui-button .ui-selectmenu-button:focus {
@@ -2683,6 +2689,7 @@ input[type=button] .ui-icon,
26832689
height: 20px;
26842690
border: 1px solid var(--color-border-extra-dark);
26852691
border-radius: 50%;
2692+
box-shadow: var(--standard-shadow);
26862693
cursor: pointer;
26872694
touch-action: manipulation;
26882695
}
@@ -2930,11 +2937,21 @@ input[type=button] .ui-icon,
29302937
border-bottom-width: 0;
29312938
list-style: none;
29322939
white-space: nowrap;
2940+
box-shadow: inset 0 -0.25em 0.5em rgba(102, 102, 102, 0.15);
29332941
}
29342942

29352943
.ui-tabs:not(.ui-tabs-vertical) .ui-tabs-nav li.ui-tabs-active {
29362944
margin-bottom: -1px;
29372945
padding-bottom: 1px;
2946+
box-shadow: none;
2947+
}
2948+
2949+
body.darkmode .ui-tabs:not(.ui-tabs-vertical) .ui-tabs-nav li {
2950+
box-shadow: inset 0 -0.25em 0.5em rgba(0, 0, 0, 0.3);
2951+
}
2952+
2953+
body.darkmode .ui-tabs:not(.ui-tabs-vertical) .ui-tabs-nav li.ui-tabs-active {
2954+
box-shadow: none;
29382955
}
29392956

29402957
/**
@@ -2996,5 +3013,6 @@ input[type=button] .ui-icon,
29963013
z-index: 9999;
29973014
max-width: 22em;
29983015
padding: 0.5em 1em;
3016+
box-shadow: var(--standard-shadow);
29993017
}
30003018
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,8 @@
4343
"scripts": {
4444
"build": "webpack --progress"
4545
},
46-
"license": "GPL-2.0"
46+
"license": "GPL-2.0",
47+
"dependencies": {
48+
"fibers": "5.0.0"
49+
}
4750
}

scss/modules/jquery-ui/_core.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
.ui-helper-hidden {
11-
display: none !important;
11+
display: none;
1212
}
1313

1414
/**

scss/setup/_mixins.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111
@mixin hires-graphic($hdfile, $hdtype, $hdwidth, $hdheight) {
1212
$filename: $hdfile + "." + $hdtype !default;
1313
$hdfilename: $hdfile + "@2x." + $hdtype !default;
14-
background-image: url("img/" + $filename);
14+
background-image: url("../img/" + $filename);
1515
background-size: $hdwidth $hdheight;
1616

17-
@media (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
18-
background-image: url("img/" + $hdfilename);
19-
}
17+
@media (min-resolution: 1.25dppx), (min-resolution: 120dpi) { background-image: url("../img/" + $hdfilename); }
2018
}
2119

2220
// standard gradients

scss/setup/_settings.scss

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
// flatten the theme effects (boolean value)
22

3-
$flat-theme: 0 !default; // 0 = no, 1 = yes
3+
$flat-theme: false !default; // true/false
44

55
// typography grid
66

7-
$base-font-size: 13px !default;
8-
$base-line-height: 1.5384615 !default; // 20px / 13px
9-
$small-font-size: 11px !default;
10-
$small-line-height: 1.4545455 !default; // 16px / 11px
7+
$base-font-size: 13px !default;
8+
$base-line-height: 1.538461538461538 !default; // 20px / 13px
9+
$small-font-size: 11px !default;
10+
$small-line-height: 1.454545454545455 !default; // 16px / 11px
11+
12+
// layout grid
13+
14+
$setup-column: 50em !default; // 650px / 13px
15+
$text-column: 62em !default; // 806px / 13px
16+
17+
// layout grid (using desktop first in this project)
18+
19+
$container-max-width: 116.3076923em !default; // 1512px / 13px
20+
$break-large: 61.25em !default; // 980px / 16px (breakpoints are 16px = 1em measurements)
21+
$break-small: 47em !default; // 752px / 16px (breakpoints are 16px = 1em measurements)
1122

1223
// borders
1324

14-
$border-radius: 0.5em !default;
25+
$border-radius: 0.5em !default;

0 commit comments

Comments
 (0)