Support plugin source on registration
Change-Id: I0ddc6ff0c0499db3a16114d0c0604fb9615d7127
diff --git a/dev/scss/base/form.scss b/dev/scss/base/form.scss
index 8275f54..18ad3d4 100644
--- a/dev/scss/base/form.scss
+++ b/dev/scss/base/form.scss
@@ -123,6 +123,45 @@
color: $dark-green;
}
+ span.file-upload {
+ @include choose-item;
+ box-shadow: $choose-box-shadow;
+ border: $choose-border;
+ border-radius: $standard-border-radius;
+ padding: $item-padding;
+ position: relative;
+ overflow: hidden;
+ right: 0;
+ display: inline-block;
+
+ &:hover {
+ @include choose-hover;
+ transition: none;
+ }
+
+ > input[type=file] {
+ position: absolute;
+ top: 0;
+ left: 0;
+ margin: 0;
+ padding: 3em;
+ font-size: 20px;
+ cursor: pointer;
+ opacity: 0;
+ filter: alpha(opacity=0);
+ &.field-with-error {
+ background-color: $ids-pink-1;
+ opacity: .3;
+ filter: alpha(opacity=.3);
+ }
+ }
+
+ &::after {
+ @include icon-font;
+ content: $fa-upload;
+ }
+ }
+
a.form-button:hover {
color: inherit !important;
}
@@ -139,7 +178,7 @@
border-color: $darkest-orange !important;
}
-button {
+button, input[type=submit] {
cursor: pointer;
+ button {
@@ -162,8 +201,6 @@
font-family: "FontAwesome";
}
- border: $border-size solid $nearly-white;
-
&:hover,
&:focus {
@include choose-hover;
@@ -192,6 +229,17 @@
}
}
+button[type=submit] {
+ border: $border-size solid $nearly-white;
+}
+
+*[type=submit].form-submit {
+ box-shadow: $choose-box-shadow;
+ border-radius: $standard-border-radius;
+ border-width: 2px !important;
+ padding: $base-padding !important;
+}
+
/**
* Checkbox styling
* http://stackoverflow.com/questions/4148499/how-to-style-checkbox-using-css
diff --git a/dev/scss/base/icons.scss b/dev/scss/base/icons.scss
index 4d4a37c..001b272 100644
--- a/dev/scss/base/icons.scss
+++ b/dev/scss/base/icons.scss
@@ -9,6 +9,7 @@
$fa-minimize: "\f0d8";
$fa-close: "\f00d";
$fa-download: "\f019";
+$fa-upload: "\f093";
$fa-info: "\f05a";
$fa-elipsis: "\f141";
$fa-previous: "\f0d9";