Permalink
Browse files

added date/time icons

  • Loading branch information...
1 parent 08778d0 commit cdd326f9341b60724ae73f6856fc48b77dd6bfde Christian Bertschy committed Oct 5, 2012
@@ -1029,8 +1029,13 @@ div.calendarbox.module .calendarnav-previous, div.calendarbox.module .calendarna
background: none;
}
+/* line 373, ../sass/partials/_form.scss */
+span.datetimeshortcuts a {
+ color: #029eee;
+}
+
/* Use the following CSS code if you want to have a class per icon */
-/* line 13, ../sass/partials/_icons.scss */
+/* line 15, ../sass/partials/_icons.scss */
.addlink,
.changelink,
#changelist-search label,
@@ -1041,11 +1046,13 @@ a.selector-chooseall,
a.active.selector-chooseall,
.selector-remove,
.selector-add,
-.inline-group div.add-row a {
+.inline-group div.add-row a,
+a[id^="calendarlink"],
+a[id^="clocklink"] {
background: none !important;
padding-left: 10px;
}
-/* line 16, ../sass/partials/_icons.scss */
+/* line 18, ../sass/partials/_icons.scss */
.addlink:hover,
.changelink:hover,
#changelist-search label:hover,
@@ -1056,11 +1063,13 @@ a.selector-chooseall:hover,
a.active.selector-chooseall:hover,
.selector-remove:hover,
.selector-add:hover,
-.inline-group div.add-row a:hover {
+.inline-group div.add-row a:hover,
+a[id^="calendarlink"]:hover,
+a[id^="clocklink"]:hover {
text-decoration: none !important;
}
-/* line 33, ../sass/partials/_icons.scss */
+/* line 38, ../sass/partials/_icons.scss */
.addlink:before,
.changelink:before,
#changelist-search label:before,
@@ -1071,7 +1080,10 @@ a.selector-chooseall:before,
a.active.selector-chooseall:before,
.selector-remove:before,
.selector-add:before,
-.inline-group div.add-row a:before {
+.inline-group div.add-row a:before,
+.add-another:before,
+a[id^="calendarlink"]:before,
+a[id^="clocklink"]:before {
font-family: 'django-admin-icons';
font-style: normal;
speak: none;
@@ -1081,99 +1093,142 @@ a.active.selector-chooseall:before,
padding-right: 5px;
}
-/* line 44, ../sass/partials/_icons.scss */
+/* line 49, ../sass/partials/_icons.scss */
.addlink:before {
content: "\22";
}
-/* line 45, ../sass/partials/_icons.scss */
+/* line 50, ../sass/partials/_icons.scss */
.changelink:before {
content: "\21";
}
-/* line 46, ../sass/partials/_icons.scss */
+/* line 51, ../sass/partials/_icons.scss */
#changelist-search label:before {
content: "\23";
}
-/* line 47, ../sass/partials/_icons.scss */
+/* line 52, ../sass/partials/_icons.scss */
.deletelink:before {
content: "\24";
}
-/* line 48, ../sass/partials/_icons.scss */
+/* line 53, ../sass/partials/_icons.scss */
.selector-remove:before, a.selector-clearall:before, a.active.selector-clearall:before {
content: "\25";
font-size: 100%;
}
-/* line 49, ../sass/partials/_icons.scss */
+/* line 54, ../sass/partials/_icons.scss */
.selector-add:before, a.selector-chooseall:before, a.active.selector-chooseall:before {
content: "\26";
font-size: 100%;
}
-/* line 50, ../sass/partials/_icons.scss */
+/* line 55, ../sass/partials/_icons.scss */
.inline-group div.add-row a:before {
content: "\22";
}
-/* line 53, ../sass/partials/_icons.scss */
+/* line 56, ../sass/partials/_icons.scss */
+.add-another:before {
+ content: "\22";
+}
+
+/* line 57, ../sass/partials/_icons.scss */
+a[id^="calendarlink"]:before {
+ content: "\2c";
+}
+
+/* line 58, ../sass/partials/_icons.scss */
+a[id^="clocklink"]:before {
+ content: "\2d";
+}
+
+/* line 61, ../sass/partials/_icons.scss */
.actionlist .addlink, .actionlist .changelink {
padding-left: 0;
}
-/* line 58, ../sass/partials/_icons.scss */
+/* line 64, ../sass/partials/_icons.scss */
.addlink {
color: #9ab933 !important;
}
-/* line 59, ../sass/partials/_icons.scss */
+/* line 65, ../sass/partials/_icons.scss */
#changelist-search label {
font-weight: bold;
}
-/* line 60, ../sass/partials/_icons.scss */
+/* line 66, ../sass/partials/_icons.scss */
#changelist-search label img {
display: none;
}
-/* line 61, ../sass/partials/_icons.scss */
+/* line 67, ../sass/partials/_icons.scss */
.help-tooltip {
display: none;
}
-/* line 63, ../sass/partials/_icons.scss */
+/* line 69, ../sass/partials/_icons.scss */
.selector-remove, .selector-add {
display: inline !important;
font-size: 125% !important;
padding-left: 1px;
color: white !important;
}
-/* line 64, ../sass/partials/_icons.scss */
+/* line 70, ../sass/partials/_icons.scss */
.selector-remove:before, .selector-add:before {
color: #444444;
}
-/* line 65, ../sass/partials/_icons.scss */
+/* line 71, ../sass/partials/_icons.scss */
.inline-group div.add-row a {
color: #9ab933 !important;
padding-left: 5px !important;
}
+/* line 73, ../sass/partials/_icons.scss */
+.add-another {
+ margin-left: 10px;
+}
+/* line 75, ../sass/partials/_icons.scss */
+.add-another:hover, .add-another:link:hover {
+ text-decoration: none;
+}
+
+/* line 79, ../sass/partials/_icons.scss */
+.add-another img {
+ display: none;
+}
+
+/* line 82, ../sass/partials/_icons.scss */
+a[id^="calendarlink"], a[id^="clocklink"] {
+ display: inline-block;
+ font-size: 19px;
+ height: 19px;
+ width: 19px;
+ padding-left: 0 !important;
+}
+
+/* line 89, ../sass/partials/_icons.scss */
+a[id^="calendarlink"] img, a[id^="clocklink"] img {
+ display: none;
+}
+
/* Shortcuts */
-/* line 68, ../sass/partials/_icons.scss */
+/* line 92, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a {
background: none !important;
padding-left: 10px;
}
-/* line 71, ../sass/partials/_icons.scss */
+/* line 95, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a:hover {
text-decoration: none !important;
}
-/* line 77, ../sass/partials/_icons.scss */
+/* line 101, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a:before {
font-family: 'django-admin-icons';
font-style: normal;
@@ -1185,33 +1240,33 @@ a.active.selector-chooseall:before,
vertical-align: middle;
}
-/* line 88, ../sass/partials/_icons.scss */
+/* line 112, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a.pages:before {
content: "\27";
}
-/* line 89, ../sass/partials/_icons.scss */
+/* line 113, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a.home:before {
content: "\28";
}
-/* line 90, ../sass/partials/_icons.scss */
+/* line 114, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a.user:before {
content: "\29";
}
-/* line 91, ../sass/partials/_icons.scss */
+/* line 115, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a.files:before {
content: "\2a";
}
-/* line 92, ../sass/partials/_icons.scss */
+/* line 116, ../sass/partials/_icons.scss */
.admin_shortcuts .shortcuts li a.contact:before {
content: "\2b";
}
/* Sepcials */
-/* line 95, ../sass/partials/_icons.scss */
+/* line 119, ../sass/partials/_icons.scss */
.selector ul.selector-chooser {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
Binary file not shown.
@@ -41,5 +41,10 @@ This is a custom SVG font generated by IcoMoon.
<glyph unicode="&#x2a;" d="M 432.00-32.00L 80.00-32.00 c-8.848,0.00-16.00,7.152-16.00,16.00L 64.00,320.00 l 16.00,0.00 l0.00,0.00l 128.00,0.00 c 8.848,0.00, 16.00,7.168, 16.00,16.00L 224.00,416.00 L 224.00,464.00 L 224.00,480.00 l 208.00,0.00
c 8.848,0.00, 16.00-7.168, 16.00-16.00l0.00-480.00 C 448.00-24.848, 440.848-32.00, 432.00-32.00z M 192.00,480.00l0.00-64.00 l0.00-64.00 L 64.00,352.00 L 192.00,480.00z" />
<glyph unicode="&#x2b;" d="M 325.608,214.818L 512.00,86.264L 512.00,382.211 zM0.00,382.211L0.00,86.264L 186.388,214.836 zM 256.00,152.309L 211.499,192.264L0.00,64.00L 512.00,64.00L 300.495,192.264 zM 496.64,384.00L 15.36,384.00L 256.00,203.074 z" />
+<glyph unicode="&#x2c;" d="M 160.00,288.00L 224.00,288.00L 224.00,224.00L 160.00,224.00zM 256.00,288.00L 320.00,288.00L 320.00,224.00L 256.00,224.00zM 352.00,288.00L 416.00,288.00L 416.00,224.00L 352.00,224.00zM 64.00,96.00L 128.00,96.00L 128.00,32.00L 64.00,32.00zM 160.00,96.00L 224.00,96.00L 224.00,32.00L 160.00,32.00zM 256.00,96.00L 320.00,96.00L 320.00,32.00L 256.00,32.00zM 160.00,192.00L 224.00,192.00L 224.00,128.00L 160.00,128.00zM 256.00,192.00L 320.00,192.00L 320.00,128.00L 256.00,128.00zM 352.00,192.00L 416.00,192.00L 416.00,128.00L 352.00,128.00zM 64.00,192.00L 128.00,192.00L 128.00,128.00L 64.00,128.00zM 416.00,480.00l0.00-32.00 l-64.00,0.00 L 352.00,480.00 L 128.00,480.00 l0.00-32.00 L 64.00,448.00 L 64.00,480.00 L0.00,480.00 l0.00-512.00 l 480.00,0.00 L 480.00,480.00 L 416.00,480.00 z M 448.00,0.00L 32.00,0.00 L 32.00,352.00 l 416.00,0.00 L 448.00,0.00 z" />
+<glyph unicode="&#x2d;" d="M 240.00,448.00C 107.452,448.00,0.00,340.548,0.00,208.00c0.00-132.549, 107.452-240.00, 240.00-240.00c 132.549,0.00, 240.00,107.451, 240.00,240.00
+ C 480.00,340.548, 372.549,448.00, 240.00,448.00z M 240.00,0.00c-114.875,0.00-208.00,93.125-208.00,208.00S 125.125,416.00, 240.00,416.00s 208.00-93.125, 208.00-208.00
+ S 354.875,0.00, 240.00,0.00zM 256.00,253.258L 256.00,384.00 l-32.00,0.00 l0.00-130.742 c-18.641-6.59-32.00-24.36-32.00-45.258c0.00-26.51, 21.49-48.00, 48.00-48.00c 20.898,0.00, 38.667,13.359, 45.258,32.00
+ L 384.00,192.00 l0.00,32.00 l-98.742,0.00 C 280.438,237.635, 269.636,248.437, 256.00,253.258z" />
<glyph unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
</font></defs></svg>
Binary file not shown.
Binary file not shown.
@@ -369,3 +369,7 @@ div.calendarbox.module {
background: none;
}
}
+
+span.datetimeshortcuts a {
+ color: $link-color;
+}
@@ -9,7 +9,9 @@ a.selector-chooseall,
a.active.selector-chooseall,
.selector-remove,
.selector-add,
-.inline-group div.add-row a
+.inline-group div.add-row a,
+a[id^="calendarlink"],
+a[id^="clocklink"]
{
background: none !important;
padding-left: 10px;
@@ -29,7 +31,10 @@ a.selector-chooseall:before,
a.active.selector-chooseall:before,
.selector-remove:before,
.selector-add:before,
-.inline-group div.add-row a:before
+.inline-group div.add-row a:before,
+.add-another:before,
+a[id^="calendarlink"]:before,
+a[id^="clocklink"]:before
{
font-family: 'django-admin-icons';
font-style: normal;
@@ -48,13 +53,14 @@ a.active.selector-chooseall:before,
.selector-remove:before, a.selector-clearall:before, a.active.selector-clearall:before { content: "\25"; font-size: 100%; }
.selector-add:before, a.selector-chooseall:before, a.active.selector-chooseall:before { content: "\26"; font-size: 100%; }
.inline-group div.add-row a:before { content: "\22"; }
+.add-another:before { content: "\22"; }
+a[id^="calendarlink"]:before { content: "\2c"; }
+a[id^="clocklink"]:before { content: "\2d"; }
.actionlist {
.addlink, .changelink { padding-left: 0; }
}
-
-
.addlink { color: $success-color !important; }
#changelist-search label { font-weight: bold; }
#changelist-search label img { display: none;}
@@ -64,6 +70,24 @@ a.active.selector-chooseall { }
.selector-remove:before, .selector-add:before { color: $font-color; }
.inline-group div.add-row a { color: $success-color !important; padding-left: 5px !important; }
+.add-another {
+ margin-left: 10px;
+ &:hover, &:link:hover {
+ text-decoration: none;
+ }
+}
+.add-another img { display: none; }
+
+
+a[id^="calendarlink"], a[id^="clocklink"] {
+ display: inline-block;
+ font-size: 19px;
+ height: 19px;
+ width: 19px;
+ padding-left: 0 !important;
+}
+a[id^="calendarlink"] img, , a[id^="clocklink"] img { display: none;}
+
/* Shortcuts */
.admin_shortcuts .shortcuts li a {
background: none !important;

0 comments on commit cdd326f

Please sign in to comment.