diff --git a/conf/init.json b/conf/init.json
index a908489..d325ff3 100644
--- a/conf/init.json
+++ b/conf/init.json
@@ -22,9 +22,9 @@
"icon": "icon-contacts"
},
{
- "name": "FormDemo",
- "to": "/formdemo",
- "icon": "icon-contacts"
+ "name": "Settings",
+ "to": "/settings",
+ "icon": "icon-cog"
}
],
"profile": [
@@ -65,7 +65,6 @@
{
"name": "Settings",
"to": "/settings",
- "icon": "icon-cog",
"content": ""
},
{
@@ -79,4 +78,4 @@
"content": "
Profil anpassen
"
}
]
-}
\ No newline at end of file
+}
diff --git a/src/app.less b/src/app.less
index 115bd05..d831993 100644
--- a/src/app.less
+++ b/src/app.less
@@ -89,7 +89,7 @@ a:hover {color:#901624;}
--------------------------------------------------------------*/
.input_holder {margin-bottom:20px; display:block;}
.input_header {margin-bottom:10px;}
-.input_description {font-size:13px; color: @text_color;}
+.input_description {font-size:13px; color: lighten(@text_color, 20%);}
input, textarea, select {
font-family: @font_family;
width: 100%;
@@ -98,20 +98,41 @@ input, textarea, select {
padding: 0px 10px;
color: @text_color;
background: white;
- border: solid 1px #CCC;
- outline: none;
- font-size: 14px;
- transition: all 0.3s;
+ border: solid 1px #CCC;
+ outline: none;
+ font-size: 14px;
+ transition: background 0.3s, color 0.3s, border 0.3s;
}
textarea {padding:10px; height:auto;}
input:focus, textarea:focus, select:focus {background:#FFF; border-color: @cms_brand_primary;}
label {font-weight:600; color: @text_color;}
+.checkbox_holder {
+ position: relative;
+ height: 100%;
+ min-height: 18px;
+
+ &:hover .check_checkbox {
+ border: 1px solid @cms_brand_primary;
+ }
+
+ label {
+ display: block;
+ position: absolute;
+ top: 50%;
+ margin-top: -9px;
+ width: 18px;
+ height: 18px;
+ cursor: pointer;
+ z-index: 10;
+ }
+}
+
input[type="checkbox"] {
position: absolute;
top: -10px;
left: -10px;
- line-height:50px;
+ line-height: 50px;
visibility: hidden;
display: inline-block;
margin: 0;
@@ -119,7 +140,6 @@ input[type="checkbox"] {
width: auto;
height: auto;
}
-.checkbox_holder {position:absolute; top:0px; bottom:0px;}
.check_checkbox {
background: #FFF;
display: block;
@@ -167,8 +187,6 @@ button{
padding: 0px 30px;
border-radius: 20px;
}
-.cell_checkbox label {width:18px; height:18px; display:block; cursor:pointer; z-index:10; position: absolute; top:50%; margin-top:-9px;}
-.checkbox_holder:hover .check_checkbox {border: 1px solid @cms_brand_primary;}
/*--------------------------------------------------------------
# CMS CONTENT FORM
diff --git a/src/components/my-form.vue b/src/components/my-form.vue
index ca58c2a..e299e56 100644
--- a/src/components/my-form.vue
+++ b/src/components/my-form.vue
@@ -1,18 +1,18 @@