@@ -565,7 +565,8 @@ input[type="range"][disabled]~.input-helper{
565565
566566.input-button input [type = "checkbox" ]+ label ,
567567.input-button input [type = "radio" ]+ label ,
568- .input-button input [type = "color" ]+ label {
568+ .input-button input [type = "color" ]+ label ,
569+ .input-button input [type = "file" ]+ label {
569570background-color : rgb (var (--gray-02 ));
570571padding : 0.125em 1em ;
571572margin : 0 ;
@@ -597,7 +598,9 @@ input[type="range"][disabled]~.input-helper{
597598.input-button input [type = "radio" ]: hover + label ,
598599.input-button input [type = "radio" ]: focus + label ,
599600.input-button input [type = "color" ]: hover + label ,
600- .input-button input [type = "color" ]: focus + label {
601+ .input-button input [type = "color" ]: focus + label ,
602+ .input-button input [type = "file" ]: hover + label ,
603+ .input-button input [type = "file" ]: focus + label {
601604background-color : rgb (var (--gray-03 ));
602605border-bottom-color : rgb (var (--gray-08 ));
603606color : rgb (var (--button-text-hover-focus ));
@@ -606,7 +609,8 @@ input[type="range"][disabled]~.input-helper{
606609
607610.input-button input [type = "checkbox" ]: active + label ,
608611.input-button input [type = "radio" ]: active + label ,
609- .input-button input [type = "color" ]: active + label {
612+ .input-button input [type = "color" ]: active + label ,
613+ .input-button input [type = "file" ]: active + label {
610614background-color : rgb (var (--gray-04 ));
611615border-bottom-color : rgb (var (--theme-accent ));
612616color : rgb (var (--button-text-active ));
@@ -615,7 +619,8 @@ input[type="range"][disabled]~.input-helper{
615619
616620.input-button input [type = "checkbox" ]: checked + label ,
617621.input-button input [type = "radio" ]: checked + label ,
618- .input-button input [type = "color" ]: checked + label {
622+ .input-button input [type = "color" ]: checked + label ,
623+ .input-button input [type = "file" ]: checked + label {
619624background-color : rgb (var (--gray-04 ));
620625border-bottom-color : rgb (var (--theme-accent ));
621626color : rgb (var (--button-text-active ));
@@ -633,7 +638,11 @@ input[type="range"][disabled]~.input-helper{
633638.input-button input [type = "color" ][disabled ]+ label ,
634639.input-button input [type = "color" ][disabled ]: hover + label ,
635640.input-button input [type = "color" ][disabled ]: focus + label ,
636- .input-button input [type = "color" ][disabled ]: active + label {
641+ .input-button input [type = "color" ][disabled ]: active + label ,
642+ .input-button input [type = "file" ][disabled ]+ label ,
643+ .input-button input [type = "file" ][disabled ]: hover + label ,
644+ .input-button input [type = "file" ][disabled ]: focus + label ,
645+ .input-button input [type = "file" ][disabled ]: active + label {
637646background-color : rgb (var (--gray-02 ));
638647border-color : transparent;
639648color : rgb (var (--button-text-disabled ));
@@ -642,7 +651,8 @@ input[type="range"][disabled]~.input-helper{
642651
643652.input-button-link input [type = "checkbox" ]+ label ,
644653.input-button-link input [type = "radio" ]+ label ,
645- .input-button-link input [type = "color" ]+ label {
654+ .input-button-link input [type = "color" ]+ label ,
655+ .input-button-link input [type = "file" ]+ label {
646656background-color : transparent;
647657border : 0 ;
648658color : rgb (var (--button-link-text ));
@@ -656,21 +666,26 @@ input[type="range"][disabled]~.input-helper{
656666.input-button-link input [type = "radio" ]: checked + label ,
657667.input-button-link input [type = "color" ]: hover + label ,
658668.input-button-link input [type = "color" ]: focus + label ,
659- .input-button-link input [type = "color" ]: checked + label {
669+ .input-button-link input [type = "color" ]: checked + label ,
670+ .input-button-link input [type = "file" ]: hover + label ,
671+ .input-button-link input [type = "file" ]: focus + label ,
672+ .input-button-link input [type = "file" ]: checked + label {
660673background-color : transparent;
661674color : rgb (var (--button-link-text-hover-focus ));
662675}
663676
664677.input-button-link input [type = "checkbox" ]: active + label ,
665678.input-button-link input [type = "radio" ]: active + label ,
666- .input-button-link input [type = "color" ]: active + label {
679+ .input-button-link input [type = "color" ]: active + label ,
680+ .input-button-link input [type = "file" ]: active + label {
667681background-color : transparent;
668682color : rgb (var (--button-link-text-active ));
669683}
670684
671685.input-button-link input [disabled ][type = "checkbox" ]+ label ,
672686.input-button-link input [disabled ][type = "radio" ]+ label ,
673- .input-button-link input [disabled ][type = "color" ]+ label {
687+ .input-button-link input [disabled ][type = "color" ]+ label ,
688+ .input-button-link input [disabled ][type = "file" ]+ label {
674689background-color : transparent;
675690color : transparent;
676691pointer-events : none;
@@ -681,7 +696,9 @@ input[type="range"][disabled]~.input-helper{
681696.input-button-link input [disabled ][type = "radio" ]: hover + label ,
682697.input-button-link input [disabled ][type = "radio" ]: focus + label ,
683698.input-button-link input [disabled ][type = "color" ]: hover + label ,
684- .input-button-link input [disabled ][type = "color" ]: focus + label {
699+ .input-button-link input [disabled ][type = "color" ]: focus + label ,
700+ .input-button-link input [disabled ][type = "file" ]: hover + label ,
701+ .input-button-link input [disabled ][type = "file" ]: focus + label {
685702background-color : transparent;
686703color : transparent;
687704}
@@ -723,11 +740,14 @@ input[type="range"][disabled]~.input-helper{
723740.input-hide input [type = "checkbox" ]+ label : before ,
724741.input-hide input [type = "checkbox" ]: checked + label : before ,
725742.input-hide input [type = "radio" ]+ label : before ,
726- .input-hide input [type = "radio" ]: checked + label : before {
743+ .input-hide input [type = "radio" ]: checked + label : before ,
744+ .input-hide input [type = "file" ]+ label : before ,
745+ .input-hide input [type = "file" ]: checked + label : before {
727746content : none;
728747}
729748
730- .input-hide input [type = "color" ]{
749+ .input-hide input [type = "color" ],
750+ .input-hide input [type = "file" ]{
731751opacity : 0 ;
732752width : 1px ;
733753height : 1px ;
@@ -903,3 +923,14 @@ input[type="range"][disabled]~.input-helper{
903923.form-group .nested-button * : last-child input [type = "color" ]+ label {
904924border-radius : 0 var (--theme-radius ) var (--theme-radius ) 0 ;
905925}
926+
927+ .form-feedback {
928+ padding : 1em 1.5em ;
929+ background-color : rgb (var (--gray-02 ));
930+ /* border-bottom: var(--line-width) solid rgb(var(--gray-04)); */
931+ border-radius : var (--theme-radius );
932+ }
933+
934+ .form-feedback : not (: last-child ){
935+ margin-bottom : 1em ;
936+ }
0 commit comments