Update 'toot.css'
Better selectors...
This commit is contained in:
parent
cf5c65bb0d
commit
58f4bec40b
1 changed files with 34 additions and 34 deletions
68
toot.css
68
toot.css
|
@ -1,3 +1,36 @@
|
|||
#mastodon > div > div > div.columns-area__panels > div.columns-area__panels__pane.columns-area__panels__pane--compositional > div > div > form > div.compose-form__publish > div > button {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#mastodon > div > div > div.columns-area__panels > div.columns-area__panels__pane.columns-area__panels__pane--compositional > div > div > form > div.compose-form__publish > div > button:after {
|
||||
content: 'TOOT!';
|
||||
visibility: visible;
|
||||
font-feature-settings: "kern";
|
||||
text-size-adjust: none;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
pointer-events: auto;
|
||||
background-color: #595aff;
|
||||
border: 10px;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0;
|
||||
line-height: 22px;
|
||||
overflow: hidden;
|
||||
padding: 7px 18px;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
a[href="/publish"] {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
@ -33,37 +66,4 @@ a[href="/publish"]:after {
|
|||
white-space: nowrap;
|
||||
width: auto;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.button.button--block {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.button.button--block:after {
|
||||
content: 'TOOT!';
|
||||
visibility: visible;
|
||||
font-feature-settings: "kern";
|
||||
text-size-adjust: none;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
pointer-events: auto;
|
||||
background-color: #595aff;
|
||||
border: 10px;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0;
|
||||
line-height: 22px;
|
||||
overflow: hidden;
|
||||
padding: 7px 18px;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue