@selfcommunity/react-theme-default 0.5.0-alpha.12 → 0.5.0-alpha.13

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.
@@ -143,19 +143,14 @@ declare const Component: {
143
143
  opacity: number;
144
144
  };
145
145
  };
146
- '& .SCFeedObject-obj-element': {
147
- position: string;
148
- '& .SCFeedObject-new': {
149
- position: string;
150
- top: string;
151
- left: string;
152
- width: string;
153
- height: string;
154
- backgroundColor: any;
155
- border: string;
156
- borderRadius: string;
157
- filter: string;
158
- };
146
+ '& .SCFeedObject-new': {
147
+ color: any;
148
+ backgroundColor: string;
149
+ padding: string;
150
+ borderRadius: string;
151
+ marginRight: string;
152
+ fontSize: string;
153
+ fontWeight: number;
159
154
  };
160
155
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
161
156
  [x: number]: {
@@ -146,19 +146,14 @@ const Component = {
146
146
  opacity: 1
147
147
  }
148
148
  },
149
- '& .SCFeedObject-obj-element': {
150
- position: 'relative',
151
- '& .SCFeedObject-new': {
152
- position: 'absolute',
153
- top: '10px',
154
- left: '10px',
155
- width: '9px',
156
- height: '9px',
157
- backgroundColor: theme.palette.secondary.main,
158
- border: `1px solid ${theme.palette.common.white}`,
159
- borderRadius: '9999px',
160
- filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
161
- }
149
+ '& .SCFeedObject-new': {
150
+ color: theme.palette.common.white,
151
+ backgroundColor: '#fa0501',
152
+ padding: '0 3px',
153
+ borderRadius: '3px',
154
+ marginRight: '3px',
155
+ fontSize: '10px',
156
+ fontWeight: 600
162
157
  },
163
158
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
164
159
  border: `0 none`,
@@ -4086,19 +4086,14 @@ declare const theme: {
4086
4086
  opacity: number;
4087
4087
  };
4088
4088
  };
4089
- '& .SCFeedObject-obj-element': {
4090
- position: string;
4091
- '& .SCFeedObject-new': {
4092
- position: string;
4093
- top: string;
4094
- left: string;
4095
- width: string;
4096
- height: string;
4097
- backgroundColor: any;
4098
- border: string;
4099
- borderRadius: string;
4100
- filter: string;
4101
- };
4089
+ '& .SCFeedObject-new': {
4090
+ color: any;
4091
+ backgroundColor: string;
4092
+ padding: string;
4093
+ borderRadius: string;
4094
+ marginRight: string;
4095
+ fontSize: string;
4096
+ fontWeight: number;
4102
4097
  };
4103
4098
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
4104
4099
  [x: number]: {
@@ -143,19 +143,14 @@ declare const Component: {
143
143
  opacity: number;
144
144
  };
145
145
  };
146
- '& .SCFeedObject-obj-element': {
147
- position: string;
148
- '& .SCFeedObject-new': {
149
- position: string;
150
- top: string;
151
- left: string;
152
- width: string;
153
- height: string;
154
- backgroundColor: any;
155
- border: string;
156
- borderRadius: string;
157
- filter: string;
158
- };
146
+ '& .SCFeedObject-new': {
147
+ color: any;
148
+ backgroundColor: string;
149
+ padding: string;
150
+ borderRadius: string;
151
+ marginRight: string;
152
+ fontSize: string;
153
+ fontWeight: number;
159
154
  };
160
155
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
161
156
  [x: number]: {
@@ -144,19 +144,14 @@ const Component = {
144
144
  opacity: 1
145
145
  }
146
146
  },
147
- '& .SCFeedObject-obj-element': {
148
- position: 'relative',
149
- '& .SCFeedObject-new': {
150
- position: 'absolute',
151
- top: '10px',
152
- left: '10px',
153
- width: '9px',
154
- height: '9px',
155
- backgroundColor: theme.palette.secondary.main,
156
- border: `1px solid ${theme.palette.common.white}`,
157
- borderRadius: '9999px',
158
- filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
159
- }
147
+ '& .SCFeedObject-new': {
148
+ color: theme.palette.common.white,
149
+ backgroundColor: '#fa0501',
150
+ padding: '0 3px',
151
+ borderRadius: '3px',
152
+ marginRight: '3px',
153
+ fontSize: '10px',
154
+ fontWeight: 600
160
155
  },
161
156
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
162
157
  border: `0 none`,
@@ -4086,19 +4086,14 @@ declare const theme: {
4086
4086
  opacity: number;
4087
4087
  };
4088
4088
  };
4089
- '& .SCFeedObject-obj-element': {
4090
- position: string;
4091
- '& .SCFeedObject-new': {
4092
- position: string;
4093
- top: string;
4094
- left: string;
4095
- width: string;
4096
- height: string;
4097
- backgroundColor: any;
4098
- border: string;
4099
- borderRadius: string;
4100
- filter: string;
4101
- };
4089
+ '& .SCFeedObject-new': {
4090
+ color: any;
4091
+ backgroundColor: string;
4092
+ padding: string;
4093
+ borderRadius: string;
4094
+ marginRight: string;
4095
+ fontSize: string;
4096
+ fontWeight: number;
4102
4097
  };
4103
4098
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
4104
4099
  [x: number]: {