Commit 245218c3 authored by Romain Loth's avatar Romain Loth

fix tagbox mti input label

parent 184b9310
...@@ -178,7 +178,7 @@ input.readonly { ...@@ -178,7 +178,7 @@ input.readonly {
-webkit-transition: opacity .3s ease-in; -webkit-transition: opacity .3s ease-in;
letter-spacing: .02em; letter-spacing: .02em;
font-weight: bold; font-weight: bold;
font-size: .8em; font-size: 1em;
} }
.box-highlight-close { .box-highlight-close {
font-size: .7em; font-size: .7em;
...@@ -189,15 +189,20 @@ input.readonly { ...@@ -189,15 +189,20 @@ input.readonly {
right: 0px; right: 0px;
color: #eed; color: #eed;
/*background-color: #333;*/ /*background-color: #333;*/
padding: .5em; padding: .7em;
} }
.tagbox-container { .tagbox-container {
background-color:#eee ; background-color:#eee ;
border-bottom: 3px solid #ccc; border: 1.25px solid #ccc;
border-radius: 4px;
min-width: 50em; min-width: 50em;
} }
.tagbox-label {
background-color:#eee ;
border: none;
border-right: 1.25px solid #ccc !important;
}
/* form categories: like form sections etc. */ /* form categories: like form sections etc. */
h3.formcat { h3.formcat {
......
...@@ -289,13 +289,10 @@ ...@@ -289,13 +289,10 @@
<div class="question"> <div class="question">
<div class="input-group tagbox-container"> <div class="input-group tagbox-container">
<label for="keywords" class="smlabel input-group-addon">* Key subjects</label> <label for="keywords" class="smlabel input-group-addon tagbox-label">* Key subjects</label>
<input id="keywords" name="keywords" maxlength="350" <input id="keywords" name="keywords" maxlength="350"
type="text" class="form-control autocomp" placeholder="Add a keyword here" type="text" class="form-control autocomp" placeholder="Add a keyword here"
value="{{ current_user.info.keywords }}"> value="{{ current_user.info.keywords }}">
<!-- <div class="input-group-addon operation-dark">
<span class="glyphicon glyphicon-plus" onclick="TODO DEPRECATED mtiPopOneTag['keywords']"></span>
</div> -->
</div> </div>
<p class="legend">Please enter at least 5 keywords (press TAB or ENTER after each)</p> <p class="legend">Please enter at least 5 keywords (press TAB or ENTER after each)</p>
</div> </div>
...@@ -328,7 +325,7 @@ ...@@ -328,7 +325,7 @@
<div class="question"> <div class="question">
<p class="legend">Hashtags for community interest groups (seminars, mailing lists, events...)</p> <p class="legend">Hashtags for community interest groups (seminars, mailing lists, events...)</p>
<div class="input-group tagbox-container"> <div class="input-group tagbox-container">
<label for="hashtags" class="smlabel input-group-addon">Interest groups</label> <label for="hashtags" class="smlabel input-group-addon tagbox-label">Interest groups</label>
<input id="hashtags" name="hashtags" maxlength="350" <input id="hashtags" name="hashtags" maxlength="350"
type="text" class="form-control" placeholder="eg #dataviz, #networks, #rochebrune2018" type="text" class="form-control" placeholder="eg #dataviz, #networks, #rochebrune2018"
value="{{ current_user.info.hashtags }}"> value="{{ current_user.info.hashtags }}">
......
...@@ -150,10 +150,9 @@ ...@@ -150,10 +150,9 @@
<div class="question"> <div class="question">
<div class="input-group tagbox-container"> <div class="input-group tagbox-container">
<label for="keywords" class="smlabel input-group-addon">* Key subjects</label> <label for="keywords" class="smlabel input-group-addon tagbox-label">* Key subjects</label>
<input id="keywords" name="keywords" maxlength="350" <input id="keywords" name="keywords" maxlength="350"
type="text" class="form-control autocomp" placeholder="keywords" type="text" class="form-control autocomp" placeholder="keywords">
placeholder="keywords">
</div> </div>
<p class="legend">Please enter at least 5 keywords (press TAB or ENTER after each)</p> <p class="legend">Please enter at least 5 keywords (press TAB or ENTER after each)</p>
</div> </div>
...@@ -162,8 +161,7 @@ ...@@ -162,8 +161,7 @@
<div class="input-group"> <div class="input-group">
<label for="lab_label" class="smlabel input-group-addon">Lab / Team / Dept</label> <label for="lab_label" class="smlabel input-group-addon">Lab / Team / Dept</label>
<input id="lab_label" name="lab_label" maxlength="120" <input id="lab_label" name="lab_label" maxlength="120"
type="text" class="form-control" placeholder="Your lab" type="text" class="form-control" placeholder="Your lab">
placeholder="lab_label">
</div> </div>
</div> </div>
...@@ -172,8 +170,7 @@ ...@@ -172,8 +170,7 @@
<div class="input-group"> <div class="input-group">
<label for="lab_locname" class="smlabel input-group-addon">Lab city</label> <label for="lab_locname" class="smlabel input-group-addon">Lab city</label>
<input id="lab_locname" name="lab_locname" maxlength="50" <input id="lab_locname" name="lab_locname" maxlength="50"
type="text" class="form-control" placeholder="Ville de votre labo" type="text" class="form-control" placeholder="Your lab city/location">
placeholder="lab_locname">
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment