Commit 6d356817 authored by JC Brand's avatar JC Brand

Found another form that's not a pure-form yet.

The add contact form.
parent cd4d6a98
...@@ -1720,7 +1720,7 @@ ...@@ -1720,7 +1720,7 @@
background-color: #DCEAC5; } background-color: #DCEAC5; }
#conversejs #controlbox .add-xmpp-contact { #conversejs #controlbox .add-xmpp-contact {
background: none; background: none;
padding: 5px; } padding: 1em; }
#conversejs #controlbox .add-xmpp-contact input { #conversejs #controlbox .add-xmpp-contact input {
margin: 0 0 1rem; margin: 0 0 1rem;
width: 100%; } width: 100%; }
...@@ -1786,7 +1786,7 @@ ...@@ -1786,7 +1786,7 @@
height: 25px; height: 25px;
margin: 0 0 0.5em 7px; margin: 0 0 0.5em 7px;
padding: 0; padding: 0;
padding: 2px; padding-left: 0.4em;
width: 103px; } width: 103px; }
#conversejs #converse-roster .roster-filter.x { #conversejs #converse-roster .roster-filter.x {
background-position: right 3px center; } background-position: right 3px center; }
......
...@@ -126,9 +126,9 @@ ...@@ -126,9 +126,9 @@
<dd class="search-xmpp" style="display:none"> <dd class="search-xmpp" style="display:none">
<ul> <ul>
<li> <li>
<form class="add-xmpp-contact"> <form class="pure-form add-xmpp-contact">
<input type="text" name="identifier" class="username" placeholder="Contact username"> <input type="text" name="identifier" class="username" placeholder="Contact username">
<button type="submit">Add</button> <button class="pure-button button-primary" type="submit">Add</button>
</form> </form>
</li> </li>
<li></li> <li></li>
......
...@@ -87,9 +87,9 @@ ...@@ -87,9 +87,9 @@
<dd class="search-xmpp" style="display:none"> <dd class="search-xmpp" style="display:none">
<ul> <ul>
<li> <li>
<form class="add-xmpp-contact"> <form class="pure-form add-xmpp-contact">
<input type="text" name="identifier" class="username" placeholder="Contact username"> <input type="text" name="identifier" class="username" placeholder="Contact username">
<button type="submit">Add</button> <button class="pure-button button-primary" type="submit">Add</button>
</form> </form>
</li> </li>
<li></li> <li></li>
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
.add-xmpp-contact { .add-xmpp-contact {
background: none; background: none;
padding: 5px; padding: 1em;
input { input {
margin: 0 0 1rem; margin: 0 0 1rem;
width: 100%; width: 100%;
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
height: $controlbox-dropdown-height; height: $controlbox-dropdown-height;
margin: 0 0 0.5em 7px; margin: 0 0 0.5em 7px;
padding: 0; padding: 0;
padding: 2px; padding-left: 0.4em;
width: 103px; width: 103px;
} }
/* (jQ addClass:) if input has value: */ /* (jQ addClass:) if input has value: */
......
<li> <li>
<form class="add-xmpp-contact"> <form class="pure-form add-xmpp-contact">
<input type="text" <input type="text"
name="identifier" name="identifier"
class="username" class="username"
placeholder="{{label_contact_username}}"/> placeholder="{{label_contact_username}}"/>
<button type="submit">{{label_add}}</button> <button class="pure-button button-primary" type="submit">{{label_add}}</button>
</form> </form>
</li> </li>
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