summaryrefslogtreecommitdiff
path: root/design/sass/_forms.scss
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-03-12 10:17:33 -0600
committerluxagraf <sng@luxagraf.net>2019-03-12 10:17:33 -0600
commit5ad48cd70260b0980a3030a282304c523ade7ce4 (patch)
treedbe3d4d5878984e8da00bc2af1626629f3a7f9f3 /design/sass/_forms.scss
parent1e207a1ea2da17b2975b5cdbec49ef5a51606955 (diff)
moved old sass files, redid comment form styles
Diffstat (limited to 'design/sass/_forms.scss')
-rw-r--r--design/sass/_forms.scss50
1 files changed, 50 insertions, 0 deletions
diff --git a/design/sass/_forms.scss b/design/sass/_forms.scss
index 80e630c..2511a7d 100644
--- a/design/sass/_forms.scss
+++ b/design/sass/_forms.scss
@@ -52,3 +52,53 @@
.flex {
display: flex;
}
+
+
+form fieldset {
+ margin: 1rem 0;
+ padding: 0;
+ border: none;
+ width: 100%;
+ position: relative;
+}
+form fieldset label {
+ position: absolute;
+ -webkit-transform: translate3d(10px, 100%);
+ -moz-transform: translate3d(10px, 100%);
+ -ms-transform: translate3d(10px, 100%);
+ -o-transform: translate3d(10px, 100%);
+ transform: translate3d(10px, 100%);
+ @include fontsize(14);
+ @include fancy_sans;
+ color: lighten($body_font_color, 25);
+ line-height: 14px;
+ top: .7rem;
+ left: .75rem;
+ z-index: 1;
+}
+input, .textarea-rounded textarea {
+ border: 1px solid #dedddd;
+ border-radius: 4px;
+ padding: 2.2rem 0 .75rem .75rem;
+ width: 99%;
+ @include fontsize(24);
+ @include fancy_sans;
+}
+
+.btn {
+ @include fontsize(15);
+ display: inline-block;
+ border-radius: 4px;
+ -webkit-appearance: none;
+ text-decoration: none;
+ cursor: pointer;
+ background: $link_color;
+ color: #fff;
+ border: 1px solid $link_color;
+ padding: 7px 9px;
+ white-space: nowrap;
+ &:hover {
+ background: $link_color;
+ border: 1px solid $link_color;
+ }
+}