mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
margin and padding style adjustments (#4264)
This commit is contained in:
@@ -327,7 +327,7 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding: 15px;
|
padding: 15px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs {
|
.tabs {
|
||||||
|
|||||||
@@ -19,11 +19,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.box-header-expandable {
|
.box-header-expandable {
|
||||||
padding: 10px;
|
padding: 10px 5px;
|
||||||
margin: 0 10px;
|
margin: 0 5px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: calc(100% - 20px);
|
width: calc(100% - 10px);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
@@ -76,11 +76,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.single-line .box-content-row,
|
||||||
|
.box-content-row.single-line {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-footer {
|
.box-footer {
|
||||||
margin: 0 10px 10px 10px;
|
margin: 0 5px 5px 5px;
|
||||||
padding: 0 15px 10px 15px;
|
padding: 0 10px 5px 10px;
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
|
|
||||||
button.btn {
|
button.btn {
|
||||||
@@ -109,10 +116,10 @@
|
|||||||
margin: 10px 0 20px 0;
|
margin: 10px 0 20px 0;
|
||||||
.box-content {
|
.box-content {
|
||||||
.box-content-row {
|
.box-content-row {
|
||||||
padding: 10px;
|
padding: 5px 10px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
margin: 10px;
|
margin: 5px;
|
||||||
// background-color: $background-color;
|
// background-color: $background-color;
|
||||||
|
|
||||||
@include themify($themes) {
|
@include themify($themes) {
|
||||||
@@ -180,7 +187,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
margin: 10px;
|
margin: 5px;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -219,11 +226,11 @@
|
|||||||
|
|
||||||
.box-content-row {
|
.box-content-row {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px 15px;
|
padding: 5px 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
margin: 10px;
|
margin: 8px 5px;
|
||||||
|
|
||||||
@include themify($themes) {
|
@include themify($themes) {
|
||||||
background-color: themed("boxBackgroundColor");
|
background-color: themed("boxBackgroundColor");
|
||||||
@@ -353,8 +360,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.box-content-row-multi {
|
&.box-content-row-multi {
|
||||||
width: calc(100% - 20px);
|
|
||||||
|
|
||||||
input:not([type="checkbox"]) {
|
input:not([type="checkbox"]) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -388,6 +393,10 @@
|
|||||||
&.box-content-row-checkbox,
|
&.box-content-row-checkbox,
|
||||||
&.box-content-row-input,
|
&.box-content-row-input,
|
||||||
&.box-content-row-slider {
|
&.box-content-row-slider {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
margin: 5px;
|
||||||
|
|
||||||
label,
|
label,
|
||||||
.row-label {
|
.row-label {
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
&.block {
|
&.block {
|
||||||
display: block;
|
display: block;
|
||||||
width: calc(100% - 20px);
|
width: calc(100% - 10px);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
|
|
||||||
button.box-content-row {
|
button.box-content-row {
|
||||||
display: block;
|
display: block;
|
||||||
width: calc(100% - 20px);
|
width: calc(100% - 10px);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-color: none;
|
border-color: none;
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ app-sync {
|
|||||||
app-generator .generated-block {
|
app-generator .generated-block {
|
||||||
font-size: $font-size-large;
|
font-size: $font-size-large;
|
||||||
font-family: $font-family-monospace;
|
font-family: $font-family-monospace;
|
||||||
margin: 10px;
|
margin: 8px;
|
||||||
padding: 10px 10px 10px 0;
|
padding: 8px 10px 8px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
@@ -165,7 +165,8 @@ app-options {
|
|||||||
|
|
||||||
app-vault-view,
|
app-vault-view,
|
||||||
app-vault-add-edit,
|
app-vault-add-edit,
|
||||||
app-generator {
|
app-generator,
|
||||||
|
app-vault-attachments {
|
||||||
.box {
|
.box {
|
||||||
margin: 15px 0 25px 0;
|
margin: 15px 0 25px 0;
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
type="button"
|
type="button"
|
||||||
appStopClick
|
appStopClick
|
||||||
(click)="addUri()"
|
(click)="addUri()"
|
||||||
class="box-content-row box-content-row-newmulti"
|
class="box-content-row box-content-row-newmulti single-line"
|
||||||
>
|
>
|
||||||
<i class="bwi bwi-plus-circle bwi-fw bwi-lg" aria-hidden="true"></i> {{ "newUri" | i18n }}
|
<i class="bwi bwi-plus-circle bwi-fw bwi-lg" aria-hidden="true"></i> {{ "newUri" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -549,7 +549,7 @@
|
|||||||
type="button"
|
type="button"
|
||||||
appStopClick
|
appStopClick
|
||||||
(click)="addUri()"
|
(click)="addUri()"
|
||||||
class="box-content-row box-content-row-newmulti"
|
class="box-content-row box-content-row-newmulti single-line"
|
||||||
*ngIf="!(!cipher.edit && editMode)"
|
*ngIf="!(!cipher.edit && editMode)"
|
||||||
>
|
>
|
||||||
<i class="bwi bwi-plus-circle bwi-fw bwi-lg" aria-hidden="true"></i> {{ "newUri" | i18n }}
|
<i class="bwi bwi-plus-circle bwi-fw bwi-lg" aria-hidden="true"></i> {{ "newUri" | i18n }}
|
||||||
@@ -607,7 +607,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="box-content-row box-content-row-flex text-default"
|
class="box-content-row box-content-row-flex text-default single-line"
|
||||||
appStopClick
|
appStopClick
|
||||||
(click)="attachments()"
|
(click)="attachments()"
|
||||||
*ngIf="editMode && showAttachments && !cloneMode"
|
*ngIf="editMode && showAttachments && !cloneMode"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
</header>
|
</header>
|
||||||
<main tabindex="-1">
|
<main tabindex="-1">
|
||||||
<div class="box" *ngIf="cipher && cipher.hasAttachments">
|
<div class="box" *ngIf="cipher && cipher.hasAttachments">
|
||||||
<div class="box-content no-hover">
|
<div class="box-content no-hover single-line">
|
||||||
<div class="box-content-row box-content-row-flex" *ngFor="let a of cipher.attachments">
|
<div class="box-content-row box-content-row-flex" *ngFor="let a of cipher.attachments">
|
||||||
<div class="row-main">
|
<div class="row-main">
|
||||||
{{ a.fileName }}
|
{{ a.fileName }}
|
||||||
|
|||||||
@@ -525,7 +525,7 @@
|
|||||||
<h2 class="box-header">
|
<h2 class="box-header">
|
||||||
{{ "attachments" | i18n }}
|
{{ "attachments" | i18n }}
|
||||||
</h2>
|
</h2>
|
||||||
<div class="box-content">
|
<div class="box-content single-line">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="box-content-row box-content-row-flex text-default"
|
class="box-content-row box-content-row-flex text-default"
|
||||||
|
|||||||
Reference in New Issue
Block a user