summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend/styles/app
diff options
context:
space:
mode:
Diffstat (limited to 'afb-client/app/Frontend/styles/app')
-rw-r--r--afb-client/app/Frontend/styles/app/_ibz-mixins.scss52
-rw-r--r--afb-client/app/Frontend/styles/app/ibz-global.scss43
2 files changed, 95 insertions, 0 deletions
diff --git a/afb-client/app/Frontend/styles/app/_ibz-mixins.scss b/afb-client/app/Frontend/styles/app/_ibz-mixins.scss
new file mode 100644
index 0000000..ed9dba8
--- /dev/null
+++ b/afb-client/app/Frontend/styles/app/_ibz-mixins.scss
@@ -0,0 +1,52 @@
+/*
+ Every SCSS files will be injected into main HTML page
+*/
+%shadow-transition {
+ transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
+ border-radius: 5px;
+}
+
+@mixin ibz-box-content {
+ border: 2px solid gainsboro !important;
+ border-radius: 5px;
+
+ margin-left: auto;
+ margin-right: auto;
+ min-width: 98% !important;
+ margin: .5rem .5rem .5rem .5rem;
+ background: rgba(200,205,200,.3);
+}
+
+@mixin ibz-button ($color, $size:2rem) {
+ display: inline-block;
+ border: 1px solid darken($color,10%);
+ box-shadow: 2px 2px 1px adjust-hue($color,20deg);
+ color: $color;
+ border-radius: 5px;
+ font-style: italic;
+ padding: 0rem .5rem 0rem .5rem;
+ margin:.5rem;
+ background: lighten(#9494b7, 20%);
+ i {
+ padding-right: 0.3rem;
+ font-size: $size;
+ }
+ span {font-size: 1rem}
+
+ &:hover {
+ background: lighten($color, 45%);
+ border: 2px solid darken($color,20%);
+
+ }
+}
+
+@mixin ibz-input-alert ($color, $background) {
+ position :fixed;
+ margin: -2.2rem 0 0 15rem;
+ border-radius: 5px;
+ font-style: italic;
+ border-color: darken($background,10%);
+ color: $color;
+ background-color: $background !important;
+ padding: 0.2rem !important;
+}
diff --git a/afb-client/app/Frontend/styles/app/ibz-global.scss b/afb-client/app/Frontend/styles/app/ibz-global.scss
new file mode 100644
index 0000000..1f5017e
--- /dev/null
+++ b/afb-client/app/Frontend/styles/app/ibz-global.scss
@@ -0,0 +1,43 @@
+/*
+Copyright (C) 2015 "IoT.bzh"
+Author "Fulup Ar Foll"
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+@import "app/ibz-mixins";
+
+submit-button {
+ float: right;
+ @include ibz-button(grey);
+}
+
+zf-modal {
+ background-color: rgba(180,180,180,.5);
+}
+
+.box-content {
+ @include ibz-box-content;
+
+ .box-title {
+ display: block;
+ font-size: 1.3rem;
+ }
+}
+
+// Change Notifications default size
+.ui-notification {
+ width: auto;
+ border-radius: 5px;
+} \ No newline at end of file