react-vant-nova 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bundle/index.css CHANGED
@@ -794,6 +794,58 @@ ul {
794
794
  position: relative;
795
795
  display: inline-block;
796
796
  }
797
+ :root {
798
+ --rv-avatar-size-mini: 24px;
799
+ --rv-avatar-size-small: 32px;
800
+ --rv-avatar-size-normal: 40px;
801
+ --rv-avatar-size-large: 56px;
802
+ --rv-avatar-background-color: var(--rv-gray-3);
803
+ --rv-avatar-color: var(--rv-gray-7);
804
+ --rv-avatar-font-size: var(--rv-font-size-md);
805
+ --rv-avatar-border-radius: var(--rv-border-radius-md);
806
+ }
807
+ .rv-avatar {
808
+ position: relative;
809
+ display: inline-flex;
810
+ align-items: center;
811
+ justify-content: center;
812
+ width: var(--rv-avatar-size-normal);
813
+ height: var(--rv-avatar-size-normal);
814
+ overflow: hidden;
815
+ color: var(--rv-avatar-color);
816
+ font-size: var(--rv-avatar-font-size);
817
+ line-height: 1;
818
+ white-space: nowrap;
819
+ text-align: center;
820
+ vertical-align: middle;
821
+ background-color: var(--rv-avatar-background-color);
822
+ }
823
+ .rv-avatar--mini {
824
+ width: var(--rv-avatar-size-mini);
825
+ height: var(--rv-avatar-size-mini);
826
+ font-size: var(--rv-font-size-xs);
827
+ }
828
+ .rv-avatar--small {
829
+ width: var(--rv-avatar-size-small);
830
+ height: var(--rv-avatar-size-small);
831
+ font-size: var(--rv-font-size-sm);
832
+ }
833
+ .rv-avatar--large {
834
+ width: var(--rv-avatar-size-large);
835
+ height: var(--rv-avatar-size-large);
836
+ font-size: var(--rv-font-size-lg);
837
+ }
838
+ .rv-avatar--circle {
839
+ border-radius: var(--rv-border-radius-max);
840
+ }
841
+ .rv-avatar--square {
842
+ border-radius: var(--rv-avatar-border-radius);
843
+ }
844
+ .rv-avatar__img {
845
+ display: block;
846
+ width: 100%;
847
+ height: 100%;
848
+ }
797
849
  :root {
798
850
  --rv-field-input-error-text-color: var(--rv-danger-color);
799
851
  --rv-field-label-width: 6.2em;