paper-gtk-theme/Paper/gtk-3.0/widgets/message-dialogs.css

205 lines
6.9 KiB
CSS
Raw Normal View History

2015-02-27 23:30:26 +01:00
/* Copyright 2015 Sam Hewitt.
2014-12-18 20:50:30 +01:00
*
* This file is part of the Paper GTK theme.
*
* The Paper GTK theme is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* The Paper GTK theme is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with the Paper GTK theme. If not, see http://www.gnu.org/licenses/.
*/
2015-03-13 06:49:43 +01:00
/******************
* Message Dialogs *
*******************/
2014-12-18 20:50:30 +01:00
.message-dialog {
2014-12-19 20:44:01 +01:00
padding: 0px;
2015-04-24 03:55:19 +02:00
padding-top: 8px;
2015-04-25 05:01:51 +02:00
/*background: @background;*/
2014-12-18 20:50:30 +01:00
-GtkDialog-button-spacing: 0;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
2015-04-11 07:34:40 +02:00
.window-frame.message-dialog,
.window-frame.message-dialog:backdrop {
border-radius: 4px;
2014-12-18 20:50:30 +01:00
}
2015-04-11 07:34:40 +02:00
.message-dialog.csd {
2015-04-25 05:01:51 +02:00
border-radius: 5px;
2015-04-11 07:34:40 +02:00
background: @background;
box-shadow: 0 3px 6px alpha (#000, 0.16),
0 3px 6px alpha (#000, 0.23);
2015-04-24 03:55:19 +02:00
padding-top: 8px;
2015-04-11 07:34:40 +02:00
margin: 0;
2014-12-18 20:50:30 +01:00
}
2015-04-11 07:34:40 +02:00
.message-dialog.csd.background {
padding: 0px;
margin: 0px;
background: @background;
box-shadow: none;
2014-12-18 20:50:30 +01:00
}
/* Buttons */
2015-04-11 07:34:40 +02:00
.message-dialog.csd .dialog-action-area {
padding: 0;
}
2014-12-18 20:50:30 +01:00
.message-dialog .dialog-action-area .button {
2014-12-19 20:44:01 +01:00
border-radius: 0;
2015-04-11 07:34:40 +02:00
padding: 0;
font: bold;
2014-12-18 20:50:30 +01:00
/*padding: 8px;*/
}
.message-dialog.csd .dialog-action-area .button {
2015-04-24 03:55:19 +02:00
border-radius: 2px;
2015-04-11 07:34:40 +02:00
border: none;
background-image: none;
2015-04-13 18:54:50 +02:00
background-color: transparent;
2014-12-18 20:50:30 +01:00
color: @text;
}
.message-dialog.csd .dialog-action-area .button:hover {
2015-04-24 03:55:19 +02:00
background-color: @selection;
color: @selection_foreground;
2015-04-11 07:34:40 +02:00
}
2014-12-18 20:50:30 +01:00
2015-04-24 03:55:19 +02:00
.message-dialog.csd .dialog-action-area .button:active,
.message-dialog.csd .dialog-action-area .button:active:hover {
border-radius: 2px;
background-color: alpha(#000, 0.2);
2015-04-11 07:34:40 +02:00
color: @text;
2014-12-18 20:50:30 +01:00
}
.message-dialog.csd .dialog-action-area .button:insensitive {
background-color: @insensitive_background;
color: @insensitive_text;
}
.message-dialog.csd .dialog-action-area .button:backdrop {
background-color: @backdrop_background;
color: @backdrop_text;
}
.message-dialog.csd .dialog-action-area .button:backdrop:insensitive {
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}
/* Suggested Action Button */
.message-dialog.csd .dialog-action-area .button.suggested-action {
2015-04-11 07:34:40 +02:00
border: 0px solid @suggested_action_button;
2014-12-18 20:50:30 +01:00
background-color: @suggested_action_button;
color: @suggested_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:hover {
2015-04-11 07:34:40 +02:00
border: 0px solid shade(@suggested_action_button, 1.2);
2014-12-18 20:50:30 +01:00
background-color: shade(@suggested_action_button, 1.2);
color: @suggested_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:active {
2015-04-11 07:34:40 +02:00
border: 0px solid shade(@suggested_action_button, 1.1);
2014-12-18 20:50:30 +01:00
background-color: shade(@suggested_action_button, 1.1);
color: @suggested_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:backdrop {
2015-04-11 07:34:40 +02:00
border: 0px solid @backdrop_border;
2014-12-18 20:50:30 +01:00
background-color: @backdrop_background;
color: @backdrop_text;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:insensitive {
2015-04-11 07:34:40 +02:00
border: 0px solid @insensitive_border;
2014-12-18 20:50:30 +01:00
background-color: @insensitive_background;
color: @insensitive_text;
}
.message-dialog.csd .dialog-action-area .button.suggested-action:backdrop:insensitive {
2015-04-11 07:34:40 +02:00
border: 0px solid mix(@insensitive_border, @backdrop_border, 0.5);
2014-12-18 20:50:30 +01:00
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}
/* Destructive Action Button */
.message-dialog.csd .dialog-action-area .button.destructive-action {
2015-04-11 07:34:40 +02:00
border: 0px solid @destructive_action_button_border;
2014-12-18 20:50:30 +01:00
background-color: @destructive_action_button;
color: @destructive_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:hover {
2015-04-11 07:34:40 +02:00
border: 0px solid shade(@destructive_action_button_border, 1.1);
2014-12-18 20:50:30 +01:00
background-color: shade(@destructive_action_button, 1.1);
color: @destructive_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:active {
2015-04-11 07:34:40 +02:00
border: 0px solid @destructive_action_button_border;
2014-12-18 20:50:30 +01:00
background-color: @destructive_action_button;
color: @destructive_action_button_foreground;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:backdrop {
2015-04-11 07:34:40 +02:00
border: 0px solid @backdrop_border;
2014-12-18 20:50:30 +01:00
background-color: @backdrop_background;
color: @backdrop_text;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:insensitive {
2015-04-11 07:34:40 +02:00
border: 0px solid @insensitive_border;
2014-12-18 20:50:30 +01:00
background-color: @insensitive_background;
color: @insensitive_text;
}
.message-dialog.csd .dialog-action-area .button.destructive-action:backdrop:insensitive {
2015-04-11 07:34:40 +02:00
border: 0px solid mix(@insensitive_border, @backdrop_border, 0.5);
2014-12-18 20:50:30 +01:00
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}
2015-04-25 05:01:51 +02:00
.message-dialog.csd .dialog-action-area .button,
.message-dialog.csd .dialog-action-area .button:hover,
.message-dialog.csd .dialog-action-area .button:active,
.message-dialog.csd .dialog-action-area .button:insensitive,
.message-dialog.csd .dialog-action-area .button:backdrop,
.message-dialog.csd .dialog-action-area .button:backdrop:insensitive,
.message-dialog.csd .dialog-action-area .button.suggested-action,
.message-dialog.csd .dialog-action-area .button.suggested-action:hover,
.message-dialog.csd .dialog-action-area .button.suggested-action:active,
.message-dialog.csd .dialog-action-area .button.suggested-action:backdrop,
.message-dialog.csd .dialog-action-area .button.suggested-action:backdrop:insensitive,
.message-dialog.csd .dialog-action-area .button.suggested-action:insensitive,
.message-dialog.csd .dialog-action-area .button.destructive-action,
.message-dialog.csd .dialog-action-area .button.destructive-action:hover,
.message-dialog.csd .dialog-action-area .button.destructive-action:active,
.message-dialog.csd .dialog-action-area .button.destructive-action:backdrop,
.message-dialog.csd .dialog-action-area .button.destructive-action:backdrop:insensitive,
.message-dialog.csd .dialog-action-area .button.destructive-action:insensitive {
2014-12-18 20:50:30 +01:00
border-left-style: solid;
border-right-style: none;
border-bottom-style: none;
}
.message-dialog.csd .dialog-action-area .button:last-child {
2014-12-19 20:44:01 +01:00
/*border-bottom-right-radius: 7px;*/
2014-12-18 20:50:30 +01:00
}
.message-dialog.csd .dialog-action-area .button:first-child {
border-left-style: none;
2014-12-19 20:44:01 +01:00
/*border-bottom-left-radius: 7px;*/
2015-04-25 05:01:51 +02:00
}