[gimp-web/testing] Add 'GIMPCmd' styling class to css
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Add 'GIMPCmd' styling class to css
- Date: Fri, 6 May 2016 16:34:57 +0000 (UTC)
commit 2036cb9a23fc8e8c8216648e4c16766dc67926da
Author: Pat David <patdavid gmail com>
Date: Fri May 6 11:29:59 2016 -0500
Add 'GIMPCmd' styling class to css
This style can be applied to div, span, or kbd and should be
used in place of the previous 'MenuCmd' class as it is applied
directly to the base element without needing wrappers.
It's cleaner this way.
themes/newgimp/static/css/gimp.css | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/themes/newgimp/static/css/gimp.css b/themes/newgimp/static/css/gimp.css
index f71b17f..b669518 100644
--- a/themes/newgimp/static/css/gimp.css
+++ b/themes/newgimp/static/css/gimp.css
@@ -285,6 +285,18 @@ figure {
border-radius: 3px;
}
+.GIMPCmd {
+ text-align: center;
+ margin: 1.5rem auto;
+ display: table;
+ padding: 0.25rem 1rem;
+ border: solid 1px #ddd;
+ background-color: #f8f8f8;
+ border-radius: 3px;
+ max-width: 34rem;
+ font-size: 0.8rem;
+}
+
.Cmd {
text-align: center;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]