Skip to content

Commit d254e03

Browse files
authored
Merge pull request ucfopen#1069 from ewainberg/issue/1057-add-gradient-contrast
Adds gradients and related features, also fixes contrast form parent issue
2 parents 510f93a + 9d082e7 commit d254e03

9 files changed

Lines changed: 515 additions & 366 deletions

File tree

assets/css/udoit4-theme.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,14 @@
10571057
padding-right: 0 !important;
10581058
}
10591059

1060+
input[type="color"] {
1061+
min-width: 7em;
1062+
height: 100%;
1063+
border-radius: 8px;
1064+
border: 2px solid var(--primary-color);
1065+
background-color: var(--background-color);
1066+
}
1067+
10601068
.pr-1, .pe-1 {
10611069
padding-right: calc(0.25 * var(--spacer)) !important;
10621070
}
@@ -1072,6 +1080,15 @@
10721080
.pr-4, .pe-4 {
10731081
padding-right: calc(1.5 * var(--spacer)) !important;
10741082
}
1083+
1084+
.gradient-row {
1085+
margin-bottom: 0.75em;
1086+
}
1087+
1088+
.gradient-note {
1089+
font-style: italic;
1090+
color: #666;
1091+
}
10751092

10761093
.w-25 {
10771094
width: 25%;

0 commit comments

Comments
 (0)