Skip to content

Commit 1ed7c14

Browse files
authored
Merge pull request openiap#226 from 6ebeng/patch-16
Adding fixes for dark mode and styles
2 parents 371d57e + 2ef7d38 commit 1ed7c14

1 file changed

Lines changed: 42 additions & 1 deletion

File tree

OpenFlow/src/public/Form.html

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55
.form-group {
66
margin-bottom: 0 !important;
7-
margin-top: 2rem !important;
7+
margin-top: 0 !important;
88
}
99
.card {
1010
margin: 0 !important;
@@ -99,6 +99,47 @@
9999
.dark-mode .bg-light {
100100
background-color: #333 !important;
101101
}
102+
103+
.darkmode .choices__input {
104+
background-color: rgb(0 0 0 / 40%) !important;
105+
color: #fff !important;
106+
}
107+
.darkmode .choices__list--dropdown .choices__item--selectable.is-highlighted {
108+
background-color: #232323 !important;
109+
}
110+
111+
.darkmode .choices__list--dropdown {
112+
background-color: #333 !important;
113+
border: 1px solid rgb(255 255 255 / 20%) !important;
114+
}
115+
116+
.darkmode .choices[data-type*=select-one] .choices__input {
117+
border-bottom: 1px solid #777 !important;
118+
background-color: #333 !important;
119+
}
120+
.darkmode .choices__inner {
121+
background-color: rgb(0 0 0 / 20%) !important;
122+
border: 1px solid rgb(255 255 255 / 20%) !important;
123+
}
124+
125+
.darkmode.card-header {
126+
background-color: #333 !important;
127+
}
128+
.card-title {
129+
font-size: 1.7rem !important;
130+
}
131+
.darkmode.choices__button {
132+
background-color: #fff;
133+
}
134+
.choices {
135+
font-size: 1.5rem !important;
136+
}
137+
button, input, optgroup, select, textarea, label {
138+
font-size: 1.2rem !important;
139+
}
140+
.table th, .table td {
141+
padding: 0.5rem 1rem !important;
142+
}
102143
</style>
103144
<div ng-show="ctrl.errormessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.errormessage}}</div>
104145
<div ng-show="ctrl.message != ''"" class=" alert alert-primary" role="alert">{{ctrl.message}}</div>

0 commit comments

Comments
 (0)