annotate fastmail-smaller-remote-image-block-message.user.js @ 119:34657b8835e2

Add script to adjust fastmail remote image message
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 15:48:38 +0900
parents
children f3f646436567
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
119
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
1 // ==UserScript==
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
2 // @name fastmail smaller remote image block message
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
3 // @namespace https://nanaya.net
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
4 // @match https://app.fastmail.com/*
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
5 // @grant GM_addStyle
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
6 // @version 1.0.0
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
7 // @author nanaya
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
8 // @description less distracting message
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
9 // ==/UserScript==
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
10
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
11 'use strict';
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
12
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
13 /* global GM_addStyle */
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
14 GM_addStyle(`
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
15 .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 {
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
16 padding: 5px 12px;
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
17 }
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
18
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
19 .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 button {
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
20 height: auto;
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
21 }
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
22
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
23 .u-banner--informative.u-banner.u-p-3.u-flex.u-items-baseline.u-space-x-2 h3 {
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
24 font-weight: normal;
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
25 }
34657b8835e2 Add script to adjust fastmail remote image message
nanaya <me@nanaya.net>
parents:
diff changeset
26 `);