}
}
-button#save {
+#quickedit {
position: sticky;
bottom: 10px;
+ display: flex;
+ justify-content: flex-end;
+ label {
+ display: inline-block;
+ margin-left: 6px;
+ cursor: pointer;
+ }
+ input {
+ display: none;
+ }
+
+ button,
+ span {
+ display: inline-block;
+ font-weight: normal;
+ background: white;
+ border: 1px solid #386ede;
+ box-shadow: 0 0 0 5px white;
+ padding: 1ex;
+ border-radius: 3px;
+ color: #386ede;
+ font-size: inherit;
+ letter-spacing: inherit;
+ line-height: inherit;
+ }
+ button:hover {
+ &:hover {
+ color: white;
+ background: #386ede;
+ }
+ }
+ button.error {
+ background: red;
+ color: white;
+ &:hover {
+ background: darken(red, 10%);
+ }
+ }
+
+ input:checked + span {
+ background: #386ede;
+ color: white;
+ }
}
main.post {