Skip to content

Commit

Permalink
Update cinnamon sources with upstream (mamolinux#76)
Browse files Browse the repository at this point in the history
- Rebase source scss files from mint-themes
- Update meson build script for cinnamon
  • Loading branch information
hsbasu authored Apr 9, 2024
1 parent 0e74157 commit e21fd99
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions cinnamon-shell/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ foreach variant: variants
command: [
sassc, '-a', '@INPUT@', '@OUTPUT@',
'-I', css_sources_path / 'sass',
'-I', meson.project_source_root() / 'common',
],
depends: source_deps,
depend_files: [
Expand Down
64 changes: 64 additions & 0 deletions cinnamon-shell/src/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,70 @@ StScrollBar {
}
}

//
// Polkit Dialog
//
.polkit-dialog {
width: 500px;

&-main-layout { spacing: 10px; }

&-headline {
color: $fg_color;
text-align: center;
font-size: 1.3em;
font-weight: bold;
}

&-description {
color: $fg_color;
text-align: center;
font-size: 1em;
}

&-user-layout { spacing: 10px; }
&-user-layout:rtl { padding-right: 10px; }

&-user-root-label { color: $error_color; }

&-password-label:ltr {
padding-top: 0.5em;
padding-right: 0.5em;
}

&-password-label:rtl {
padding-left: 0.5em;
}

&-password-entry {
width: 21em;
height: 1.2em;
padding: 7px;
border-radius: 3px;
caret-color: $osd_fg_color;
selected-color: $selected_fg_color;
selection-background-color: $selected_bg_color;

@include entry(osd);

&:focus { @include entry(focus); }

.caplocks-warning {
icon-size: 16px;
warning-color: $warning_color;
padding: 0 4px;
}
}

&-error-label {
color: $error_color;
text-align: center;
font-size: 1em;
}

&-info-label { font-size: 1em; }
}

/* CinnamonMountOperation Dialogs */
.cinnamon-mount-operation-icon {
icon-size: 48px;
Expand Down

0 comments on commit e21fd99

Please sign in to comment.