@@ -222,51 +222,50 @@ ds-dynamic-form-control-container.d-none {
222222}
223223
224224.badge-validation {
225- background-color : #{map-get ($theme-colors , warning )} ;
225+ background-color : #{map-get ($theme-colors , warning )} ;
226226}
227227
228228.badge-waiting-controller {
229- background-color : #{map-get ($theme-colors , info )} ;
229+ background-color : #{map-get ($theme-colors , info )} ;
230230}
231231
232232.badge-workspace {
233- background-color : #{map-get ($theme-colors , primary )} ;
233+ background-color : #{map-get ($theme-colors , primary )} ;
234234}
235235
236236.badge-archived {
237- background-color : var (--ds-badge-archived-background-color );
238- color : var (--ds-badge-archived-color )
237+ background-color : darken ($green , 25 );
239238}
240239
241240.badge-workflow {
242- background-color : #{map-get ($theme-colors , info )} ;
241+ background-color : #{map-get ($theme-colors , info )} ;
243242}
244243
245244.badge-item-type {
246- background-color : #{map-get ($theme-colors , info )} ;
245+ background-color : #{map-get ($theme-colors , info )} ;
247246}
248247
249248.visually-hidden {
250- position : absolute !important ;
251- width : 1px !important ;
252- height : 1px !important ;
253- padding : 0 !important ;
254- margin : -1px !important ;
255- overflow : hidden !important ;
256- clip : rect (0 , 0 , 0 , 0 ) !important ;
257- white-space : nowrap !important ;
258- border : 0 !important ;
259- }
260-
261- ul .dso-edit-menu-dropdown > li .nav-item.nav-link {
262- // ensure that links in DSO edit menu dropdowns are unstyled (li elements are styled instead to support icons)
263- padding : 0 ;
264- display : inline ;
249+ position : absolute !important ;
250+ width : 1px !important ;
251+ height : 1px !important ;
252+ padding : 0 !important ;
253+ margin : -1px !important ;
254+ overflow : hidden !important ;
255+ clip : rect (0 , 0 , 0 , 0 ) !important ;
256+ white-space : nowrap !important ;
257+ border : 0 !important ;
258+ }
259+
260+ ul .dso-edit-menu-dropdown > li .nav-item.nav-link {
261+ // ensure that links in DSO edit menu dropdowns are unstyled (li elements are styled instead to support icons)
262+ padding : 0 ;
263+ display : inline ;
265264}
266265
267266.table th ,
268267.table td {
269- vertical-align : middle ;
268+ vertical-align : middle ;
270269}
271270
272271.pt-0\. 5 {
@@ -295,85 +294,107 @@ ul.dso-edit-menu-dropdown > li .nav-item.nav-link {
295294 padding-bottom : 0.125rem !important ;
296295}
297296
298- .btn.btn-success {
299- background-color : var (--ds-button-success-background-color );
300- border-color : var (--ds-button-success-background-color );
301- & :hover {
302- background-color : var (--ds-button-success-background-hover-color );
303- border-color : var (--ds-button-success-background-hover-color );
304- }
305- }
306- .btn.btn-outline-success {
307- border-color : var (--ds-button-success-background-color );
308- color : var (--ds-button-success-background-color );
309- & :hover {
310- background-color : var (--ds-button-success-background-hover-color );
311- color : $white ;
312- }
313- }
314- .btn.btn-outline-warning {
315- border-color :var (--ds-button-warning-background-color );
316- color :var (--ds-button-warning-background-color );
317- & :hover {
318- background-color :var (--ds-button-warning-background-hover-color );
319- color : $white ;
320- }
321- & :disabled {
322- background-color : transparent ;
323- & :hover {
324- color :var (--ds-button-warning-background-color );
325- }
326- }
327- }
328-
329-
330- .btn :focus , .btn-outline-primary :not (:disabled ):not (.disabled ):active:focus , .btn-outline-primary :not (:disabled ):not (.disabled ).active :focus , .show > .btn-outline-primary.dropdown-toggle :focus , .custom-control-input :focus ~ .custom-control-label ::before , .form-control :focus , .page-link :focus {
331- box-shadow : inset 0 3px 5px rgba (0 , 0 , 0 , 0.25 ), 0 0 0 0.2rem rgba (27 , 41 , 55 , 0.5 );
332- }
333-
334- .btn.btn-success :focus , .btn.btn-outline-success :focus {
335- outline : 2px solid rgba (76 , 145 , 76 , 1 );
336- outline-offset : 2px ;
337- box-shadow : none ;
338- }
339- .btn.btn-danger :focus , .btn.btn-outline-danger :focus {
340- outline : 2px solid rgba (205 , 126 , 126 , 1 );
341- outline-offset : 2px ;
342- box-shadow : none ;
343- }
344- .btn.btn-warning :focus , .btn.btn-outline-warning :focus {
345- outline : 2px solid rgba (88 , 87 , 65 , 1 );
346- outline-offset : 2px ;
347- box-shadow : none ;
348- }
349- .btn.btn-primary :focus , .btn.btn-outline-primary :focus {
350- box-shadow : none ;
351- outline : 2px solid rgba (134 , 137 , 139 , 1 );
352- outline-offset : 2px ;
353- }
354- .btn.btn-secondary :focus , .btn.btn-outline-secondary :focus {
355- box-shadow : none ;
356- outline : 2px solid rgba (141 , 148 , 155 , 1 );
357- outline-offset : 2px ;
358- }
359- .btn.btn-warning {
360- background-color :var (--ds-button-warning-background-color );
361- & :hover {
362- background-color :var (--ds-button-warning-background-hover-color );
363- }
364- & :disabled {
365- background-color : transparent ;
366- }
297+ .btn {
298+ & :focus {
299+ outline-offset : 2px !important ;
300+ outline-style : solid !important ;
301+ outline-width : 2px !important ;
302+ box-shadow : none !important ;
303+ }
304+ & :disabled {
305+ opacity : 0.7 ;
306+ }
307+ & .btn-success {
308+ background-color : darken ($success , 20% );
309+ border-color : darken ($success , 20% );
310+ & :hover {
311+ background-color : darken ($success , 30% );
312+ border-color : darken ($success , 30% );
313+ }
314+ & :focus {
315+ outline-color : darken ($success , 20% );
316+ }
317+ }
318+ & .btn-outline-success {
319+ border-color : darken ($success , 20% );
320+ color : darken ($success , 20% );
321+
322+ & :hover {
323+ background-color : darken ($success , 30% );
324+ color : $white ;
325+ }
326+ & :focus {
327+ outline-color : darken ($success , 20% );
328+ }
329+ }
330+ & .btn-warning {
331+ background-color : darken ($warning , 20% );
332+ & :hover {
333+ background-color : darken ($warning , 30% );
334+ }
335+ & :disabled {
336+ background-color : transparent ;
337+ }
338+ & :focus {
339+ outline-color : darken ($warning , 22% );
340+ }
341+ }
342+
343+ & .btn-outline-warning {
344+ border-color : darken ($warning , 20% );
345+ color : darken ($warning , 20% );
346+ & :hover {
347+ background-color : darken ($warning , 30% );
348+ color : $white ;
349+ }
350+ & :disabled {
351+ background-color : transparent ;
352+
353+ & :hover {
354+ color : darken ($warning , 20% );
355+ }
356+ }
357+ :focus {
358+ outline-color : darken ($warning , 22% );
359+ }
360+ & :not (:disabled ):hover {
361+ background-color : darken ($warning , 22% );
362+ }
363+ }
364+
365+ & .btn-secondary {
366+ & :focus {
367+ outline-color : darken ($secondary , 20% );
368+ }
369+ }
370+
371+ & .btn-danger :focus , & .btn-outline-danger :focus {
372+ outline-color : darken ($danger , 20% );
373+ }
374+
375+ & .btn-primary :focus , & .btn-outline-primary :focus {
376+ outline-color : darken ($primary , 5% );
377+ }
378+ }
379+
380+ dynamic-ng-bootstrap-checkbox .custom-control-input :focus ~ .custom-control-label ::before {
381+ outline : 2px solid $gray-700 !important ;
382+ box-shadow : none !important ;
383+ outline-offset : 2px !important ;
367384}
385+
368386dynamic-ng-bootstrap-checkbox .custom-control-label ::before {
369- border-color : #858c91 ;
387+ border-color : $gray-700 ;
370388}
389+
371390.text-warning {
372- color : var ( --ds-text- warning-color ) !important ;
391+ color : darken ( $ warning, 10 % ) !important ;
373392}
393+
374394.text-success {
375- color : var ( --ds-text- success-color ) !important ;
395+ color : darken ( $ success, 11 % ) !important ;
376396}
397+
377398ngb-accordion {
378399 a .close {
379400 opacity : 0.75 ;
@@ -382,3 +403,22 @@ ngb-accordion {
382403 opacity : 0.9 ;
383404 }
384405}
406+
407+ .form-control , .page-link {
408+ & :disabled ::placeholder {
409+ color : lighten ($gray-700 , 10% );
410+ }
411+ & :focus {
412+ box-shadow : none ;
413+ outline : 2px solid lighten ($gray-700 , 10% );
414+ outline-offset : 2px !important ;
415+ }
416+ }
417+
418+ .alert-success {
419+ color : darken ($success , 22% );
420+ }
421+
422+ .alert-danger {
423+ color : darken ($danger , 22% );
424+ }
0 commit comments