Skip to content

Commit

Permalink
IMprovement: Cinnamon & Metacity - some rounded corners
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Feb 12, 2022
1 parent 903d343 commit 5621ec4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
13 changes: 8 additions & 5 deletions cinnamon/cinnamon.css
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ StScrollBar {
* * * * * * * * */
#notification {
border: 1px solid rgba(191, 195, 205, 0.05);
border-radius: 3px;
border-radius: 0.6em;
background-color: #0E111D;
padding: 13px;
spacing-rows: 10px;
Expand Down Expand Up @@ -925,15 +925,15 @@ StScrollBar {
color: #BFC3CD;
border: 1px solid rgba(255, 106, 0, 0.85);
background-color: rgba(14, 17, 29, 0.85);
border-radius: 9px;
border-radius: 0.6em;
padding: 20px; }
.switcher-list > StBoxLayout {
padding: 4px; }
.switcher-list-item-container {
spacing: 8px; }
.switcher-list .item-box {
padding: 8px;
border-radius: 9px; }
border-radius: 0.6em; }
.switcher-list .item-box:outlined {
padding: 8px;
border: 1px solid rgba(255, 106, 0, 0.85); }
Expand Down Expand Up @@ -1020,7 +1020,7 @@ StScrollBar {
.run-dialog {
padding: 10px 15px 10px 15px;
border: 1px solid rgba(191, 195, 205, 0.05);
border-radius: 3px;
border-radius: 0.6em;
background-color: rgba(14, 17, 29, 0.75); }
.run-dialog > * {
padding: 0; }
Expand All @@ -1044,7 +1044,7 @@ StScrollBar {
width: 21em;
height: 1.2em;
padding: 7px;
border-radius: 3px;
border-radius: 1.2em;
caret-color: #fefefe;
selected-color: #fefefe;
selection-background-color: #ff6a00;
Expand Down Expand Up @@ -1176,6 +1176,9 @@ StScrollBar {
/* * * * * * * * * *
* Menu (menu.js) *
* * * * * * * * * */
.menu-decoration {
background: red; }

.menu-favorites-box {
padding: 10px;
background-color: #131727;
Expand Down
10 changes: 5 additions & 5 deletions cinnamon/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ StScrollBar {

#notification {
border: 1px solid $borders_color;
border-radius: 3px;
border-radius: 0.6em;//3px;
background-color: $bg_color;
padding: 13px;
spacing-rows: 10px;
Expand Down Expand Up @@ -1122,7 +1122,7 @@ StScrollBar {
color: $fg_color;
border: 1px solid transparentize($selected_bg_color, 0.15);
background-color: transparentize($bg_color, 0.15);
border-radius: 9px;
border-radius: 0.6em;
padding: 20px;

> StBoxLayout {
Expand All @@ -1133,7 +1133,7 @@ StScrollBar {

.item-box {
padding: 8px;
border-radius: 9px;
border-radius: 0.6em;

&:outlined {
padding: 8px;
Expand Down Expand Up @@ -1250,7 +1250,7 @@ StScrollBar {
.run-dialog {
padding: 10px 15px 10px 15px;
border: 1px solid $borders_color;
border-radius: 3px;
border-radius: 0.6em;//3px;
background-color: transparentize($bg_color, 0.25);

> * { padding: 0; }
Expand Down Expand Up @@ -1286,7 +1286,7 @@ StScrollBar {
width: 21em;
height: 1.2em;
padding: 7px;
border-radius: 3px;
border-radius: 1.2em;
caret-color: $osd_fg_color;
selected-color: $selected_fg_color;
selection-background-color: $selected_bg_color;
Expand Down
14 changes: 7 additions & 7 deletions metacity-1/metacity-theme-3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
<!-- GEOMETRY -->

<!-- Focused window -->
<frame_geometry name="normal" title_scale="medium" rounded_top_left="4" rounded_top_right="4">
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
<frame_geometry name="normal" title_scale="medium" rounded_top_left="8" rounded_top_right="8" rounded_bottom_left="8" rounded_bottom_right="8">
<distance name="left_width" value="1" />
<distance name="right_width" value="1" />
<distance name="bottom_height" value="3" />
<distance name="left_titlebar_edge" value="5" />
<distance name="right_titlebar_edge" value="5" />
<distance name="title_vertical_pad" value="4" />
Expand All @@ -42,7 +42,7 @@
</frame_geometry>

<!-- Unfocused window -->
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="4" rounded_top_right="4" parent="normal" >
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="8" rounded_top_right="8" rounded_bottom_left="8" rounded_bottom_right="8" parent="normal" >
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
Expand Down Expand Up @@ -74,7 +74,7 @@
</frame_geometry>

<!-- Small window -->
<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false">
<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="title_vertical_pad" value="4" />
<border name="title_border" left="4" right="4" top="0" bottom="0" />
<border name="button_border" left="0" right="0" top="0" bottom="0" />
Expand All @@ -101,7 +101,7 @@
</frame_geometry>

<!-- Borderless -->
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" parent="normal">
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
Expand Down
8 changes: 4 additions & 4 deletions metacity-1/metacity-theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<!-- GEOMETRY -->

<!-- Focused window -->
<frame_geometry name="normal" title_scale="medium" rounded_top_left="4" rounded_top_right="4">
<frame_geometry name="normal" title_scale="medium" rounded_top_left="8" rounded_top_right="8" rounded_bottom_left="8" rounded_bottom_right="8">
<distance name="left_width" value="1" />
<distance name="right_width" value="1" />
<distance name="bottom_height" value="3" />
Expand All @@ -41,7 +41,7 @@
</frame_geometry>

<!-- Unfocused window -->
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="4" rounded_top_right="4" parent="normal" >
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="8" rounded_top_right="8" rounded_bottom_left="8" rounded_bottom_right="8" parent="normal" >
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
Expand Down Expand Up @@ -73,7 +73,7 @@
</frame_geometry>

<!-- Small window -->
<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false">
<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="title_vertical_pad" value="4" />
<border name="title_border" left="4" right="4" top="0" bottom="0" />
<border name="button_border" left="0" right="0" top="0" bottom="0" />
Expand All @@ -100,7 +100,7 @@
</frame_geometry>

<!-- Borderless -->
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" parent="normal">
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
Expand Down

0 comments on commit 5621ec4

Please sign in to comment.