aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-04-07 19:30:27 +0300
committerHenry Jameson <me@hjkos.com>2018-04-07 19:30:27 +0300
commit529643d35acf10ce5d8793cd2d8309f5bd36d249 (patch)
tree8f096734fc35602d891bbd980979a86e2ac2051e /src/components/post_status_form
parent94195024e649e6a370dcdea46b5f5d87c541fe59 (diff)
indents
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.vue257
1 files changed, 128 insertions, 129 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index bce361db..0f99b3b1 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -53,163 +53,162 @@
@import '../../_variables.scss';
.tribute-container {
- ul {
- padding: 0px;
- li {
- display: flex;
- align-items: center;
- }
- }
- img {
- padding: 3px;
- width: 16px;
- height: 16px;
- border-radius: $fallback--avatarAltRadius;
- border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius);
+ ul {
+ padding: 0px;
+ li {
+ display: flex;
+ align-items: center;
}
+ }
+ img {
+ padding: 3px;
+ width: 16px;
+ height: 16px;
+ border-radius: $fallback--avatarAltRadius;
+ border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius);
+ }
}
.post-status-form, .login {
- .form-bottom {
- display: flex;
- padding: 0.5em;
- height: 32px;
-
- button {
- width: 10em;
- }
+ .form-bottom {
+ display: flex;
+ padding: 0.5em;
+ height: 32px;
- p {
- margin: 0.35em;
- padding: 0.35em;
- display: flex;
- }
+ button {
+ width: 10em;
}
- .error {
- border-radius: $fallback--tooltipRadius;
- border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
- text-align: center;
- background-color: rgba(255, 48, 16, 0.65);
- background-color: $fallback--cRed;
- background-color: var(--cRed, $fallback--cRed);
- padding: 0.25em;
- margin: 0.35em;
- display: flex;
+ p {
+ margin: 0.35em;
+ padding: 0.35em;
+ display: flex;
}
+ }
- .attachments {
- padding: 0 0.5em;
+ .error {
+ border-radius: $fallback--tooltipRadius;
+ border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
+ text-align: center;
+ background-color: rgba(255, 48, 16, 0.65);
+ background-color: $fallback--cRed;
+ background-color: var(--cRed, $fallback--cRed);
+ padding: 0.25em;
+ margin: 0.35em;
+ display: flex;
+ }
- .attachment {
- position: relative;
- border: $fallback--border;
- border: var(--border, $fallback--border);
- margin: 0.5em 0.8em 0.2em 0;
- }
+ .attachments {
+ padding: 0 0.5em;
- i {
- position: absolute;
- margin: 10px;
- padding: 5px;
- background: rgba(230,230,230,0.6);
- border-radius: $fallback--attachmentRadius;
- border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
- font-weight: bold;
- }
+ .attachment {
+ position: relative;
+ border: $fallback--border;
+ border: var(--border, $fallback--border);
+ margin: 0.5em 0.8em 0.2em 0;
}
-
- .btn {
- cursor: pointer;
+ i {
+ position: absolute;
+ margin: 10px;
+ padding: 5px;
+ background: rgba(230,230,230,0.6);
+ border-radius: $fallback--attachmentRadius;
+ border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
+ font-weight: bold;
}
+ }
- .btn[disabled] {
- cursor: not-allowed;
- }
- .icon-cancel {
- cursor: pointer;
- }
+ .btn {
+ cursor: pointer;
+ }
- form {
- display: flex;
- flex-direction: column;
- padding: 0.6em;
- }
+ .btn[disabled] {
+ cursor: not-allowed;
+ }
- .form-group {
- display: flex;
- flex-direction: column;
- padding: 0.3em 0.5em 0.6em;
- line-height:24px;
- }
+ .icon-cancel {
+ cursor: pointer;
+ }
- form textarea {
- line-height:16px;
- resize: none;
- overflow: hidden;
- transition: min-height 200ms 100ms;
- min-height: 1px;
- box-sizing: content-box;
- }
+ form {
+ display: flex;
+ flex-direction: column;
+ padding: 0.6em;
+ }
- form textarea:focus {
- min-height: 48px;
- }
+ .form-group {
+ display: flex;
+ flex-direction: column;
+ padding: 0.3em 0.5em 0.6em;
+ line-height:24px;
+ }
- .btn {
- cursor: pointer;
- }
+ form textarea {
+ line-height:16px;
+ resize: none;
+ overflow: hidden;
+ transition: min-height 200ms 100ms;
+ min-height: 1px;
+ box-sizing: content-box;
+ }
- .btn[disabled] {
- cursor: not-allowed;
- }
+ form textarea:focus {
+ min-height: 48px;
+ }
- .icon-cancel {
- cursor: pointer;
- z-index: 4;
- }
+ .btn {
+ cursor: pointer;
+ }
- .autocomplete-panel {
- margin: 0 0.5em 0 0.5em;
- border-radius: $fallback--tooltipRadius;
- border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
- position: absolute;
- z-index: 1;
- box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
- min-width: 75%;
- background: $fallback--btn;
- background: var(--btn, $fallback--btn);
- color: $fallback--lightFg;
- color: var(--lightFg, $fallback--lightFg);
- }
+ .btn[disabled] {
+ cursor: not-allowed;
+ }
+
+ .icon-cancel {
+ cursor: pointer;
+ z-index: 4;
+ }
- .autocomplete {
- cursor: pointer;
- padding: 0.2em 0.4em 0.2em 0.4em;
- border-bottom: 1px solid rgba(0, 0, 0, 0.4);
- display: flex;
+ .autocomplete-panel {
+ margin: 0 0.5em 0 0.5em;
+ border-radius: $fallback--tooltipRadius;
+ border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
+ position: absolute;
+ z-index: 1;
+ box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
+ min-width: 75%;
+ background: $fallback--btn;
+ background: var(--btn, $fallback--btn);
+ color: $fallback--lightFg;
+ color: var(--lightFg, $fallback--lightFg);
+ }
- img {
- width: 24px;
- height: 24px;
- border-radius: $fallback--avatarRadius;
- border-radius: var(--avatarRadius, $fallback--avatarRadius);
- object-fit: contain;
- }
+ .autocomplete {
+ cursor: pointer;
+ padding: 0.2em 0.4em 0.2em 0.4em;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.4);
+ display: flex;
- span {
- line-height: 24px;
- margin: 0 0.1em 0 0.2em;
- }
+ img {
+ width: 24px;
+ height: 24px;
+ border-radius: $fallback--avatarRadius;
+ border-radius: var(--avatarRadius, $fallback--avatarRadius);
+ object-fit: contain;
+ }
- small {
- margin-left: .5em;
- color: $fallback--faint;
- color: var(--faint, $fallback--faint);
- }
+ span {
+ line-height: 24px;
+ margin: 0 0.1em 0 0.2em;
}
-}
+ small {
+ margin-left: .5em;
+ color: $fallback--faint;
+ color: var(--faint, $fallback--faint);
+ }
+ }
+}
</style>