ReadAllNotificationButton: make button less ugly
This commit is contained in:
parent
0d22ff0091
commit
8ab56f5bcf
|
@ -16,6 +16,8 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import "./style.css";
|
||||||
|
|
||||||
import { addServerListElement, removeServerListElement, ServerListRenderPosition } from "@api/ServerList";
|
import { addServerListElement, removeServerListElement, ServerListRenderPosition } from "@api/ServerList";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import definePlugin from "@utils/types";
|
import definePlugin from "@utils/types";
|
||||||
|
@ -49,9 +51,11 @@ const ReadAllButton = () => (
|
||||||
<Button
|
<Button
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
size={Button.Sizes.MIN}
|
size={Button.Sizes.MIN}
|
||||||
color={Button.Colors.BRAND}
|
color={Button.Colors.CUSTOM}
|
||||||
style={{ marginTop: "2px", marginBottom: "8px", marginLeft: "9px" }}
|
className="vc-ranb-button"
|
||||||
>Read all</Button>
|
>
|
||||||
|
Read All
|
||||||
|
</Button>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
|
|
11
src/plugins/readAllNotificationsButton/style.css
Normal file
11
src/plugins/readAllNotificationsButton/style.css
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
.vc-ranb-button {
|
||||||
|
color: var(--interactive-normal);
|
||||||
|
padding: 0 0.5em;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vc-ranb-button:hover {
|
||||||
|
color: var(--interactive-active);
|
||||||
|
}
|
Loading…
Reference in a new issue