Skip to content

Commit

Permalink
Improvement minor: GTK3&4 - some px to em
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Jan 20, 2022
1 parent edca09e commit ecb47fd
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 48 deletions.
16 changes: 8 additions & 8 deletions gtk-3.0/apps/_lightdm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@

// the top half of the login-window, in GtkDialog terms, the content
#content_frame {
padding-bottom: 10px;
padding-bottom: 0.6em;
background-color: transparentize($bg_color, 0.20);
border-top-left-radius: 9px;
border-top-right-radius: 9px;
border-top-left-radius: 0.4em;
border-top-right-radius: 0.4em;
border: solid transparentize(black, 0.9);
border-width: 1px 1px 0 1px;
}
Expand All @@ -60,12 +60,12 @@

// the lower half of the login-window, in GtkDialog terms the buttonbox or action area
#buttonbox_frame {
padding-top: 10px;
padding-top: 0em;
padding-bottom: 0px;
border-style: none;
background-color: transparentize($bg_color, 0.20);
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border: solid transparentize(black, 0.9);
border-width: 0 1px 1px 1px;
}
Expand All @@ -91,8 +91,8 @@

// the user's avatar box
#user_image {
padding: 3px;
border-radius: 7px;
padding: 0.3em;
border-radius: 0.4em;
}

// the shutdown button
Expand Down
16 changes: 8 additions & 8 deletions gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -6609,10 +6609,10 @@ ConversationListView {
color: #BFC3CD; }

#content_frame {
padding-bottom: 10px;
padding-bottom: 0.6em;
background-color: rgba(14, 17, 29, 0.8);
border-top-left-radius: 9px;
border-top-right-radius: 9px;
border-top-left-radius: 0.4em;
border-top-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 1px 1px 0 1px; }

Expand All @@ -6638,12 +6638,12 @@ ConversationListView {
text-shadow: none; }

#buttonbox_frame {
padding-top: 10px;
padding-top: 0em;
padding-bottom: 0px;
border-style: none;
background-color: rgba(14, 17, 29, 0.8);
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 0 1px 1px 1px; }

Expand Down Expand Up @@ -6694,8 +6694,8 @@ ConversationListView {
font-weight: normal; }

#user_image {
padding: 3px;
border-radius: 7px; }
padding: 0.3em;
border-radius: 0.4em; }

#greeter_infobar {
border-bottom-width: 0;
Expand Down
16 changes: 8 additions & 8 deletions gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -6609,10 +6609,10 @@ ConversationListView {
color: #BFC3CD; }

#content_frame {
padding-bottom: 10px;
padding-bottom: 0.6em;
background-color: rgba(14, 17, 29, 0.8);
border-top-left-radius: 9px;
border-top-right-radius: 9px;
border-top-left-radius: 0.4em;
border-top-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 1px 1px 0 1px; }

Expand All @@ -6638,12 +6638,12 @@ ConversationListView {
text-shadow: none; }

#buttonbox_frame {
padding-top: 10px;
padding-top: 0em;
padding-bottom: 0px;
border-style: none;
background-color: rgba(14, 17, 29, 0.8);
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 0 1px 1px 1px; }

Expand Down Expand Up @@ -6694,8 +6694,8 @@ ConversationListView {
font-weight: normal; }

#user_image {
padding: 3px;
border-radius: 7px; }
padding: 0.3em;
border-radius: 0.4em; }

#greeter_infobar {
border-bottom-width: 0;
Expand Down
16 changes: 8 additions & 8 deletions gtk-4.0/apps/_lightdm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@

// the top half of the login-window, in GtkDialog terms, the content
#content_frame {
padding-bottom: 10px;
padding-bottom: 0.6em;
background-color: transparentize($bg_color, 0.20);
border-top-left-radius: 9px;
border-top-right-radius: 9px;
border-top-left-radius: 0.4em;
border-top-right-radius: 0.4em;
border: solid transparentize(black, 0.9);
border-width: 1px 1px 0 1px;
}
Expand All @@ -60,12 +60,12 @@

// the lower half of the login-window, in GtkDialog terms the buttonbox or action area
#buttonbox_frame {
padding-top: 10px;
padding-top: 0em;
padding-bottom: 0px;
border-style: none;
background-color: transparentize($bg_color, 0.20);
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border: solid transparentize(black, 0.9);
border-width: 0 1px 1px 1px;
}
Expand All @@ -91,8 +91,8 @@

// the user's avatar box
#user_image {
padding: 3px;
border-radius: 7px;
padding: 0.3em;
border-radius: 0.4em;
}

// the shutdown button
Expand Down
16 changes: 8 additions & 8 deletions gtk-4.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -6553,10 +6553,10 @@ ConversationListView {
color: #BFC3CD; }

#content_frame {
padding-bottom: 10px;
padding-bottom: 0.6em;
background-color: rgba(14, 17, 29, 0.8);
border-top-left-radius: 9px;
border-top-right-radius: 9px;
border-top-left-radius: 0.4em;
border-top-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 1px 1px 0 1px; }

Expand All @@ -6582,12 +6582,12 @@ ConversationListView {
text-shadow: none; }

#buttonbox_frame {
padding-top: 10px;
padding-top: 0em;
padding-bottom: 0px;
border-style: none;
background-color: rgba(14, 17, 29, 0.8);
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 0 1px 1px 1px; }

Expand Down Expand Up @@ -6638,8 +6638,8 @@ ConversationListView {
font-weight: normal; }

#user_image {
padding: 3px;
border-radius: 7px; }
padding: 0.3em;
border-radius: 0.4em; }

#greeter_infobar {
border-bottom-width: 0;
Expand Down
16 changes: 8 additions & 8 deletions gtk-4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -6553,10 +6553,10 @@ ConversationListView {
color: #BFC3CD; }

#content_frame {
padding-bottom: 10px;
padding-bottom: 0.6em;
background-color: rgba(14, 17, 29, 0.8);
border-top-left-radius: 9px;
border-top-right-radius: 9px;
border-top-left-radius: 0.4em;
border-top-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 1px 1px 0 1px; }

Expand All @@ -6582,12 +6582,12 @@ ConversationListView {
text-shadow: none; }

#buttonbox_frame {
padding-top: 10px;
padding-top: 0em;
padding-bottom: 0px;
border-style: none;
background-color: rgba(14, 17, 29, 0.8);
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
border-bottom-left-radius: 0.4em;
border-bottom-right-radius: 0.4em;
border: solid rgba(0, 0, 0, 0.1);
border-width: 0 1px 1px 1px; }

Expand Down Expand Up @@ -6638,8 +6638,8 @@ ConversationListView {
font-weight: normal; }

#user_image {
padding: 3px;
border-radius: 7px; }
padding: 0.3em;
border-radius: 0.4em; }

#greeter_infobar {
border-bottom-width: 0;
Expand Down

0 comments on commit ecb47fd

Please sign in to comment.