Refinement

This commit is contained in:
Sam Hewitt
2015-04-11 01:34:40 -04:00
parent 3c620bd190
commit 45d8e57e9b
5 changed files with 120 additions and 55 deletions

View File

@@ -22,7 +22,7 @@
.message-dialog {
padding: 0px;
border-radius: 0px;
border-radius: 4px;
border: none;
outline: none;
box-shadow: none;
@@ -32,32 +32,54 @@
border-bottom-right-radius: 6px;
}
.message-dialog.csd.background {
background: none;
box-shadow: none;
.window-frame.message-dialog,
.window-frame.message-dialog:backdrop {
border-radius: 4px;
}
.message-dialog:backdrop {
background-color: @backdrop_background;
.message-dialog.csd {
border-radius: 0 0 4px 4px;
background: @background;
box-shadow: 0 3px 6px alpha (#000, 0.16),
0 3px 6px alpha (#000, 0.23);
margin: 0;
}
.message-dialog .titlebar {
padding: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
.message-dialog .titlebar,
.message-dialog .header-bar {
padding:0;
border: none;
background-color: @background;
color: @text;
border-radius: 4px 4px 0 0;
background-color: @header;
color: @header_text;
box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.1),
inset 0 -1px 0 0 rgba(0,0,0,0.1),
inset 0 -3px 3px -4px alpha(#000, 0.4);
}
.message-dialog .titlebar:backdrop {
background-color: @backdrop_background;
.message-dialog .titlebar:backdrop,
.message-dialog .header-bar:backdrop {
background-image: none;
background-color: @backdrop_header;
color: @backdrop_header_text;
}
.message-dialog .titlebar:insensitive,
.message-dialog .header-bar:insensitive {
color: @insensitive_header_text;
}
.message-dialog.csd.background {
padding: 0px;
margin: 0px;
background: @background;
box-shadow: none;
}
.message-dialog .titlebar .title {
padding: 0px;
color: @text;
color: @header_text;
}
.message-dialog .titlebar .title:backdrop {
@@ -66,44 +88,53 @@
/* Buttons */
.message-dialog.csd .dialog-action-area {
padding: 0;
}
.message-dialog .dialog-action-area .button {
border-radius: 0;
padding: 0;
font: bold;
/*padding: 8px;*/
}
.message-dialog.csd .dialog-action-area .button {
padding: 12px;
border-radius: 0;
border: 1px solid @button_border;
background-color: @button_background;
border: none;
background-image: none;
background-color: none;
color: @text;
}
.message-dialog.csd .dialog-action-area .button:hover {
border-color: shade(@selection, 1.2);
background-color: shade(@selection, 1.2);
color: @selected_foreground;}
border: none;
background-image: none;
background-color: none;
color: @selection;
}
.message-dialog.csd .dialog-action-area .button:active {
border-color: @selection;
background-color: @selection;
color: @selected_foreground;
border: none;
background-image: none;
background-color: none;
color: @text;
}
.message-dialog.csd .dialog-action-area .button:insensitive {
border: 1px solid @insensitive_border;
border: 0px solid @insensitive_border;
background-color: @insensitive_background;
color: @insensitive_text;
}
.message-dialog.csd .dialog-action-area .button:backdrop {
border: 1px solid @backdrop_border;
border: 0px solid @backdrop_border;
background-color: @backdrop_background;
color: @backdrop_text;
}
.message-dialog.csd .dialog-action-area .button:backdrop:insensitive {
border: 1px solid mix(@insensitive_border, @backdrop_border, 0.5);
border: 0px solid mix(@insensitive_border, @backdrop_border, 0.5);
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}
@@ -118,37 +149,37 @@
/* Suggested Action Button */
.message-dialog.csd .dialog-action-area .button.suggested-action {
border: 1px solid @suggested_action_button;
border: 0px solid @suggested_action_button;
background-color: @suggested_action_button;
color: @suggested_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:hover {
border: 1px solid shade(@suggested_action_button, 1.2);
border: 0px solid shade(@suggested_action_button, 1.2);
background-color: shade(@suggested_action_button, 1.2);
color: @suggested_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:active {
border: 1px solid shade(@suggested_action_button, 1.1);
border: 0px solid shade(@suggested_action_button, 1.1);
background-color: shade(@suggested_action_button, 1.1);
color: @suggested_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:backdrop {
border: 1px solid @backdrop_border;
border: 0px solid @backdrop_border;
background-color: @backdrop_background;
color: @backdrop_text;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:insensitive {
border: 1px solid @insensitive_border;
border: 0px solid @insensitive_border;
background-color: @insensitive_background;
color: @insensitive_text;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:backdrop:insensitive {
border: 1px solid mix(@insensitive_border, @backdrop_border, 0.5);
border: 0px solid mix(@insensitive_border, @backdrop_border, 0.5);
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}
@@ -162,37 +193,37 @@
/* Destructive Action Button */
.message-dialog.csd .dialog-action-area .button.destructive-action {
border: 1px solid @destructive_action_button_border;
border: 0px solid @destructive_action_button_border;
background-color: @destructive_action_button;
color: @destructive_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:hover {
border: 1px solid shade(@destructive_action_button_border, 1.1);
border: 0px solid shade(@destructive_action_button_border, 1.1);
background-color: shade(@destructive_action_button, 1.1);
color: @destructive_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:active {
border: 1px solid @destructive_action_button_border;
border: 0px solid @destructive_action_button_border;
background-color: @destructive_action_button;
color: @destructive_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:backdrop {
border: 1px solid @backdrop_border;
border: 0px solid @backdrop_border;
background-color: @backdrop_background;
color: @backdrop_text;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:insensitive {
border: 1px solid @insensitive_border;
border: 0px solid @insensitive_border;
background-color: @insensitive_background;
color: @insensitive_text;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:backdrop:insensitive {
border: 1px solid mix(@insensitive_border, @backdrop_border, 0.5);
border: 0px solid mix(@insensitive_border, @backdrop_border, 0.5);
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}