Bug 1550091 - Place the Launch button in its own column in the LoginItem. r=MattN

Differential Revision: https://phabricator.services.mozilla.com/D30977

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jared Wein 2019-05-14 20:08:08 +00:00
Родитель f7af80942f
Коммит d18ec49103
3 изменённых файлов: 36 добавлений и 13 удалений

Просмотреть файл

@ -29,4 +29,5 @@ login-list {
login-item { login-item {
grid-area: login; grid-area: login;
max-width: 800px;
} }

Просмотреть файл

@ -67,19 +67,25 @@
<button class="edit-button"></button> <button class="edit-button"></button>
<button class="delete-button"></button> <button class="delete-button"></button>
</div> </div>
<div class="detail-row">
<label> <label>
<span class="hostname-label field-label"></span> <span class="hostname-label field-label"></span>
<span class="hostname"/> <span class="hostname"/>
</label> </label>
<button class="open-site-button"></button> <button class="open-site-button"></button>
</div>
<div class="detail-row">
<label> <label>
<span class="username-label field-label"></span> <span class="username-label field-label"></span>
<modal-input name="username"/> <modal-input name="username"/>
</label> </label>
</div>
<div class="detail-row">
<label> <label>
<span class="password-label field-label"></span> <span class="password-label field-label"></span>
<modal-input type="password" name="password"/> <modal-input type="password" name="password"/>
</label> </label>
</div>
<p class="time-created meta-info"></p> <p class="time-created meta-info"></p>
<p class="time-changed meta-info"></p> <p class="time-changed meta-info"></p>
<p class="time-used meta-info"></p> <p class="time-used meta-info"></p>

Просмотреть файл

@ -24,8 +24,24 @@
flex: auto; flex: auto;
} }
.detail-row {
display: flex;
margin-bottom: 20px;
}
.detail-row > label {
flex: auto;
}
.detail-row > button {
align-self: end;
}
.field-label { .field-label {
display: block; display: block;
font-size: smaller;
opacity: .7;
margin-bottom: 5px;
} }
.meta-info { .meta-info {