Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved static to own folder and added more retina icons
- Loading branch information
Showing
35 changed files
with
142 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,32 @@ | ||
|
||
.addlink, .changelink, .deletelink { padding-left: 15px; } | ||
|
||
.tree .changelink { background-image: url('../images/icon_changelink_white.png'); } | ||
.deletelink { background-image: url('../img/icon_deletelink.png'); } | ||
|
||
#sitemap li .col-softroot span.icon { background: url('../images/icon_softroot.png') 0 0 no-repeat; | ||
.related-lookup, .add-another { | ||
margin: 0 5px; | ||
&:hover, &:focus, &:active { text-decoration: none !important; } | ||
} | ||
.add-another { @include hide-text(); @include inline-block(); width: 14px; height: 14px; | ||
background: url('../img/icon_addlink_large.gif') 0 0 no-repeat; } | ||
|
||
.tree .changelink { background-image: url('../img/icon_changelink_white.png'); } | ||
|
||
#sitemap li .col-softroot span.icon { background: url('../img/icon_softroot.png') 0 0 no-repeat; | ||
width: 15px; height: 15px; margin: 7px 5px 0 0; } | ||
|
||
// retina | ||
@media only screen and (-webkit-min-device-pixel-ratio:2), | ||
only screen and (-o-min-device-pixel-ratio:2), | ||
only screen and (min--moz-device-pixel-ratio:2), | ||
only screen and (min-device-pixel-ratio:2) { | ||
.addlink { background-image: url('../images/icon_addlink@2x.gif'); background-size: 11px; } | ||
.changelink { background-image: url('../images/icon_changelink@2x.gif'); background-size: 11px; } | ||
.tree .changelink { background-image: url('../images/icon_changelink_white@2x.png'); background-size: 11px; } | ||
.deletelink { background-image: url('../images/icon_deletelink@2x.gif'); background-size: 11px; } | ||
.addlink { background-image: url('../img/icon_addlink@2x.gif'); background-size: 11px; } | ||
.changelink { background-image: url('../img/icon_changelink@2x.gif'); background-size: 11px; } | ||
.tree .changelink { background-image: url('../img/icon_changelink_white@2x.png'); background-size: 11px; } | ||
.deletelink { background-image: url('../img/icon_deletelink@2x.png'); background-size: 11px; } | ||
#sitemap li .col-softroot span.icon { background-image: url('../img/icon_softroot@2x.png'); background-size: 15px; } | ||
.related-lookup { @include hide-text(); @include inline-block(); width: 16px; height: 16px; | ||
background: url('../img/icon_searchbox@2x.png') 0 0 no-repeat; background-size: 16px; } | ||
.add-another { @include hide-text(); @include inline-block(); width: 14px; height: 14px; | ||
background: url('../img/icon_addlink_large@2x.gif') 0 0 no-repeat; background-size: 14px; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/* Use the following CSS code if you want to have a class per icon */ | ||
.addlink, | ||
.changelink, | ||
#changelist-search label, | ||
.deletelink, | ||
a.selector-clearall, | ||
a.active.selector-clearall, | ||
a.selector-chooseall, | ||
a.active.selector-chooseall, | ||
.selector-remove, | ||
.selector-add, | ||
.inline-group .add-row a, | ||
a[id^="calendarlink"], | ||
a[id^="clocklink"] | ||
{ | ||
background: none !important; | ||
padding-left: 10px; | ||
line-height: 10px; | ||
&:hover { | ||
text-decoration: none !important; | ||
} | ||
|
||
} | ||
|
||
.addlink:before, | ||
.changelink:before, | ||
#changelist-search label:before, | ||
.deletelink:before, | ||
a.selector-clearall:before, | ||
a.active.selector-clearall:before, | ||
a.selector-chooseall:before, | ||
a.active.selector-chooseall:before, | ||
.selector-remove:before, | ||
.selector-add:before, | ||
.inline-group .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; | ||
font-weight: normal; | ||
font-size: 75%; | ||
-webkit-font-smoothing: antialiased; | ||
padding-right: 5px; | ||
} | ||
|
||
|
||
.addlink:before { content: "\22"; } | ||
.changelink:before { content: "\21"; } | ||
#changelist-search label:before { content: "\23"; } | ||
.deletelink:before { content: "\24"; } | ||
.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 .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; } | ||
} | ||
|
||
#changelist-search label { font-weight: bold; } | ||
#changelist-search label img { display: none;} | ||
.help-tooltip { display: none; } | ||
a.active.selector-chooseall { } | ||
.selector-remove, .selector-add { display: inline !important; font-size: 125% !important; padding-left: 1px; color: $font-color-white !important; } | ||
.selector-remove:before, .selector-add:before { color: $font-color; } | ||
.inline-group .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;} | ||
|
||
/* Sepcials */ | ||
.selector ul.selector-chooser { @include border-radius(10px); background: $background-color-light !important; height: 44px !important; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
31 changes: 22 additions & 9 deletions
31
..._style/static/cms/css/djangocms-admin.css → ...gocms_admin_style/css/djangocms-admin.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+1.22 KB
.../static/cms/images/icon_deletelink@2x.gif → ...ms_admin_style/img/icon_addlink_large.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.21 KB
djangocms_admin_style/static/djangocms_admin_style/img/icon_addlink_large@2x.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+1.06 KB
djangocms_admin_style/static/djangocms_admin_style/img/icon_deletelink.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.19 KB
djangocms_admin_style/static/djangocms_admin_style/img/icon_deletelink@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.28 KB
djangocms_admin_style/static/djangocms_admin_style/img/icon_searchbox@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters