summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/themes/common/calendar-creation.css
diff options
context:
space:
mode:
Diffstat (limited to 'comm/calendar/base/themes/common/calendar-creation.css')
-rw-r--r--comm/calendar/base/themes/common/calendar-creation.css99
1 files changed, 99 insertions, 0 deletions
diff --git a/comm/calendar/base/themes/common/calendar-creation.css b/comm/calendar/base/themes/common/calendar-creation.css
new file mode 100644
index 0000000000..e09678a4ec
--- /dev/null
+++ b/comm/calendar/base/themes/common/calendar-creation.css
@@ -0,0 +1,99 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+td {
+ width: 100%;
+}
+
+th {
+ font-weight: normal;
+ text-align: end;
+}
+
+/* Match row spacing of calendar properties dialog. */
+th,
+td {
+ min-height: 26px;
+}
+
+.calendar-creation-text-input {
+ width: -moz-available;
+}
+
+/* Network status messages and images. */
+
+.network-status-image {
+ width: 16px;
+ height: 16px;
+}
+
+.network-status-row {
+ margin-top: 1ex;
+}
+
+.network-status-row .status-label {
+ display: none;
+}
+.network-status-row[status="loading"] .network-loading-label {
+ display: flex;
+}
+.network-status-row[status="notfound"] .network-notfound-label {
+ display: flex;
+}
+.network-status-row[status="authfail"] .network-authfail-label {
+ display: flex;
+}
+
+.network-status-row:not([status="loading"]) .network-status-image {
+ display: none;
+}
+
+/* Network Calendar List */
+
+#network-calendar-list {
+ flex: 1 1 0;
+ appearance: none;
+ margin: 0;
+ border-style: none;
+ background-color: transparent;
+ color: inherit;
+ padding: 0 10px;
+}
+
+#network-calendar-list > richlistitem {
+ align-items: center;
+ background-color: transparent;
+ border: 1px transparent solid;
+}
+
+#network-calendar-list > richlistitem > checkbox > .checkbox-label-box {
+ display: none;
+}
+
+#network-calendar-list > richlistitem .calendar-color {
+ width: 10px;
+ height: 10px;
+ border-radius: 5px;
+}
+
+#network-calendar-list > richlistitem .calendar-name {
+ flex: 1;
+}
+
+#network-calendar-list > richlistitem .calendar-edit-button {
+ min-width: 0px;
+ font-size: 0.82em;
+}
+
+#network-calendar-list > richlistitem[calendar-disabled] > .calendar-color {
+ filter: grayscale(1);
+}
+
+#network-calendar-list
+ > richlistitem[calendar-disabled]:not([selected="true"])
+ > .calendar-name {
+ color: #808080;
+}