summaryrefslogtreecommitdiff
path: root/modules/gallery/css
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/css')
-rw-r--r--modules/gallery/css/debug.css8
-rw-r--r--modules/gallery/css/gallery.css89
-rw-r--r--modules/gallery/css/l10n_client.css28
-rw-r--r--modules/gallery/css/upgrader.css20
4 files changed, 120 insertions, 25 deletions
diff --git a/modules/gallery/css/debug.css b/modules/gallery/css/debug.css
index fe5665ad..6808da09 100644
--- a/modules/gallery/css/debug.css
+++ b/modules/gallery/css/debug.css
@@ -1,4 +1,4 @@
-.gAnnotatedThemeBlock {
+.g-annotated-theme-block {
border: 1px solid #C00;
clear: both;
margin: 1em;
@@ -6,15 +6,15 @@
position: relative;
}
-.gAnnotatedThemeBlock_album_top {
+.g-annotated-theme-block_album_top {
float: right;
}
-.gAnnotatedThemeBlock_header_bottom {
+.g-annotated-theme-block_header_bottom {
float: right;
}
-.gAnnotatedThemeBlock div.title {
+.g-annotated-theme-block div.title {
background: #C00;
border: 1px solid black;
color: white;
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css
new file mode 100644
index 00000000..113f0e09
--- /dev/null
+++ b/modules/gallery/css/gallery.css
@@ -0,0 +1,89 @@
+/**
+ * Gallery 3 core module styles
+ *
+ * Sheet organization:
+ * 1) End-user
+ * 2) Admin
+ */
+
+/** *******************************************************************
+ * 1) End-user
+ **********************************************************************/
+
+/* Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+#g-edit-permissions-form {
+ clear: both;
+}
+
+#g-edit-permissions-form td {
+ background-image: none;
+}
+
+#g-edit-permissions-form fieldset {
+ border: 1px solid #ccc;
+}
+
+#g-permissions .g-denied,
+#g-permissions .g-allowed {
+ text-align: center;
+ vertical-align: middle;
+}
+
+#g-permissions .g-denied {
+ background-color: #fcc;
+}
+
+#g-permissions .g-allowed {
+ background-color: #cfc;
+}
+
+/* Move items ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+#g-move ul {
+ padding-left: 1em;
+}
+
+#g-move .selected {
+ background: #999;
+}
+
+/* In-place edit ~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+#g-in-place-edit-form ul {
+ margin: 0;
+}
+
+/** *******************************************************************
+ * 2) Admin
+ **********************************************************************/
+
+.g-task-log {
+ border: 1px solid #000;
+ height: 400px;
+ margin: .6em 0;
+ overflow: auto;
+ padding: .4em
+}
+
+#g-languages-form table {
+ width: 40%;
+ margin: 0 3em 1em 0;
+}
+
+#g-languages-form input {
+ clear: both;
+}
+
+#g-translations ol {
+ margin: 0 0 1em 2em;
+}
+#g-translations ol li {
+ list-style-type: decimal;
+ line-height: 150%;
+}
+
+#g-translations .g-button {
+ padding: .5em;
+ margin-bottom: 1em;
+}
diff --git a/modules/gallery/css/l10n_client.css b/modules/gallery/css/l10n_client.css
index 9c1b12d0..542da8e6 100644
--- a/modules/gallery/css/l10n_client.css
+++ b/modules/gallery/css/l10n_client.css
@@ -1,6 +1,8 @@
-// TODO(andy_st): Add original copyright notice from Drupal l10_client.
-// TODO(andy_st): Add G3 copyright notice.
-// TODO(andy_st): clean up formatting to match our other CSS files.
+/**
+ * TODO(andy_st): Add original copyright notice from Drupal l10_client.
+ * TODO(andy_st): Add G3 copyright notice.
+ * TODO(andy_st): clean up formatting to match our other CSS files.
+ */
/* $Id: l10n_client.css,v 1.6 2008/09/09 10:48:20 goba Exp $ */
@@ -50,7 +52,7 @@
font-size: 1em;
padding: .5em;
}
-#l10n-client-toggler #gMinimizeL10n {
+#l10n-client-toggler #g-minimize-l10n {
border-right: 1px solid #ffffff;
}
@@ -126,31 +128,31 @@
#l10n-client .string-list li.active {
font-weight:bold;}
-#l10n-client #gL10nSearchForm {
+#l10n-client #g-l10n-search-form {
background:#eee;
text-align:center;
height:2em; line-height:2em;
margin:0em; padding:.5em .5em;
}
-#l10n-client #gL10nSearchForm .form-item,
-#l10n-client #gL10nSearchForm input.form-text,
-#l10n-client #gL10nSearchForm #search-filter-go,
-#l10n-client #gL10nSearchForm #search-filter-clear {
+#l10n-client #g-l10n-search-form .form-item,
+#l10n-client #g-l10n-search-form input.form-text,
+#l10n-client #g-l10n-search-form #search-filter-go,
+#l10n-client #g-l10n-search-form #search-filter-clear {
display:inline;
vertical-align:middle;
}
-#l10n-client #gL10nSearchForm .form-item {
+#l10n-client #g-l10n-search-form .form-item {
margin:0em;
padding:0em;
}
-#l10n-client #gL10nSearchForm input.form-text {
+#l10n-client #g-l10n-search-form input.form-text {
width:80%;
}
-#l10n-client #gL10nSearchForm #search-filter-clear {
+#l10n-client #g-l10n-search-form #search-filter-clear {
width:10%;
margin:0em;
}
@@ -178,7 +180,7 @@
overflow:hidden;
width:49%; float:right;}
-#gL10nClientSaveForm {
+#g-l10n-client-save-form {
padding:0em;}
#l10n-client form ul,
diff --git a/modules/gallery/css/upgrader.css b/modules/gallery/css/upgrader.css
index 7c377817..73da0ff4 100644
--- a/modules/gallery/css/upgrader.css
+++ b/modules/gallery/css/upgrader.css
@@ -1,6 +1,6 @@
body {
background: #eee;
- font-family: Trebuchet MS;
+ font-family: 'Trebuchet MS';
font-size: 1.1em;
}
@@ -37,7 +37,7 @@ td {
}
tr.current td {
- color: #999;
+ opacity: 0.5;
font-style: italic;
}
@@ -87,11 +87,13 @@ div.button a {
text-decoration: none;
}
-div.button:hover {
+div.button-active:hover {
background: #ccc;
}
-div#confirmation {
+div#dialog {
+ width: 340px;
+ height: 200px;
position: absolute;
background: blue;
z-index: 1000;
@@ -99,21 +101,23 @@ div#confirmation {
text-align: center;
}
-div#confirmation a.close {
+div#dialog a.close {
float: right;
padding: 10px;
text-decoration: none;
}
-div#confirmation div {
+div#dialog div {
+ width: 292px;
+ height: 152px;
margin: 2px;
padding: 20px;
border: 2px solid #999;
background: #eee;
}
-.gray_on_done {
- opacity: <?= $done ? "0.5" : "1" ?>;
+.muted {
+ opacity: 0.5;
}
pre {