changeset 2808:f7adf5b6c5ab

move basic theme smileys into a separate css file like modernized theme
author RogerHaase <haaserd@gmail.com>
date Sun, 05 Oct 2014 21:47:58 -0700
parents ea4f14ae8801
children 870ac800e15a
files MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/smileys.css MoinMoin/themes/basic/static/custom-less/theme.less MoinMoin/themes/modernized/static/css/stylus/smileys.css MoinMoin/themes/modernized/static/css/theme.css
diffstat 5 files changed, 113 insertions(+), 158 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/css/theme.css	Sun Oct 05 21:44:38 2014 -0700
+++ b/MoinMoin/themes/basic/static/css/theme.css	Sun Oct 05 21:47:58 2014 -0700
@@ -5787,6 +5787,87 @@
   }
 }
 /* end of bootstrap.less */
+/* smileys -- <span class="moin-text-icon moin-smile">:-)</span> */
+.moin-text-icon {
+  font-size: 0;
+  color: transparent;
+}
+.moin-alert:before {
+  content: url('../img/smileys/alert.png');
+}
+.moin-angry:before {
+  content: url('../img/smileys/angry.png');
+}
+.moin-attention:before {
+  content: url('../img/smileys/attention.png');
+}
+.moin-biggrin:before {
+  content: url('../img/smileys/biggrin.png');
+}
+.moin-checkmark:before {
+  content: url('../img/smileys/checkmark.png');
+}
+.moin-devil:before {
+  content: url('../img/smileys/devil.png');
+}
+.moin-frown:before {
+  content: url('../img/smileys/frown.png');
+}
+.moin-icon-error:before {
+  content: url('../img/smileys/icon-error.png');
+}
+.moin-icon-info:before {
+  content: url('../img/smileys/icon-info.png');
+}
+.moin-idea:before {
+  content: url('../img/smileys/idea.png');
+}
+.moin-ohwell:before {
+  content: url('../img/smileys/ohwell.png');
+}
+.moin-prio1:before {
+  content: url('../img/smileys/prio1.png');
+}
+.moin-prio2:before {
+  content: url('../img/smileys/prio2.png');
+}
+.moin-prio3:before {
+  content: url('../img/smileys/prio3.png');
+}
+.moin-redface:before {
+  content: url('../img/smileys/redface.png');
+}
+.moin-sad:before {
+  content: url('../img/smileys/sad.png');
+}
+.moin-smile:before {
+  content: url('../img/smileys/smile.png');
+}
+.moin-smile2:before {
+  content: url('../img/smileys/smile2.png');
+}
+.moin-smile3:before {
+  content: url('../img/smileys/smile3.png');
+}
+.moin-smile4:before {
+  content: url('../img/smileys/smile4.png');
+}
+.moin-star_off:before {
+  content: url('../img/smileys/star_off.png');
+}
+.moin-star_on:before {
+  content: url('../img/smileys/star_on.png');
+}
+.moin-thumbs-up:before {
+  content: url('../img/smileys/thumbs-up.png');
+}
+.moin-tired:before {
+  content: url('../img/smileys/tired.png');
+}
+.moin-tongue:before {
+  content: url('../img/smileys/tongue.png');
+}
+/* end of smileys */
 /* start of admonitions.css */
 /* admonitions  - no moin- prefix added  here, these classes are used within moinwiki:
       {{{#!wiki caution
@@ -7263,85 +7344,6 @@
 .tickets-sort-button .dropdown-menu li form button:focus {
   background-color: #f5f5f5;
 }
-.moin-text-icon {
-  font-size: 0;
-  color: transparent;
-}
-.moin-alert:before {
-  content: url("../img/smileys/alert.png");
-}
-.moin-angry:before {
-  content: url("../img/smileys/angry.png");
-}
-.moin-attention:before {
-  content: url("../img/smileys/attention.png");
-}
-.moin-biggrin:before {
-  content: url("../img/smileys/biggrin.png");
-}
-.moin-checkmark:before {
-  content: url("../img/smileys/checkmark.png");
-}
-.moin-devil:before {
-  content: url("../img/smileys/devil.png");
-}
-.moin-frown:before {
-  content: url("../img/smileys/frown.png");
-}
-.moin-icon-error:before {
-  content: url("../img/smileys/icon-error.png");
-}
-.moin-icon-info:before {
-  content: url("../img/smileys/icon-info.png");
-}
-.moin-idea:before {
-  content: url("../img/smileys/idea.png");
-}
-.moin-ohwell:before {
-  content: url("../img/smileys/ohwell.png");
-}
-.moin-prio1:before {
-  content: url("../img/smileys/prio1.png");
-}
-.moin-prio2:before {
-  content: url("../img/smileys/prio2.png");
-}
-.moin-prio3:before {
-  content: url("../img/smileys/prio3.png");
-}
-.moin-redface:before {
-  content: url("../img/smileys/redface.png");
-}
-.moin-sad:before {
-  content: url("../img/smileys/sad.png");
-}
-.moin-smile:before {
-  content: url("../img/smileys/smile.png");
-}
-.moin-smile2:before {
-  content: url("../img/smileys/smile2.png");
-}
-.moin-smile3:before {
-  content: url("../img/smileys/smile3.png");
-}
-.moin-smile4:before {
-  content: url("../img/smileys/smile4.png");
-}
-.moin-star_off:before {
-  content: url("../img/smileys/star_off.png");
-}
-.moin-star_on:before {
-  content: url("../img/smileys/star_on.png");
-}
-.moin-thumbs-up:before {
-  content: url("../img/smileys/thumbs-up.png");
-}
-.moin-tired:before {
-  content: url("../img/smileys/tired.png");
-}
-.moin-tongue:before {
-  content: url("../img/smileys/tongue.png");
-}
 /* Support for extra small viewports */
 @media screen and (max-width: 768px) {
   #moin-main-wrapper {
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/themes/basic/static/custom-less/smileys.css	Sun Oct 05 21:47:58 2014 -0700
@@ -0,0 +1,28 @@
+/* smileys -- <span class="moin-text-icon moin-smile">:-)</span> */
+.moin-text-icon { font-size: 0; color: transparent; }
+.moin-alert:before { content: url('../img/smileys/alert.png'); }
+.moin-angry:before { content: url('../img/smileys/angry.png'); }
+.moin-attention:before { content: url('../img/smileys/attention.png'); }
+.moin-biggrin:before { content: url('../img/smileys/biggrin.png'); }
+.moin-checkmark:before { content: url('../img/smileys/checkmark.png'); }
+.moin-devil:before { content: url('../img/smileys/devil.png'); }
+.moin-frown:before { content: url('../img/smileys/frown.png'); }
+.moin-icon-error:before { content: url('../img/smileys/icon-error.png'); }
+.moin-icon-info:before { content: url('../img/smileys/icon-info.png'); }
+.moin-idea:before { content: url('../img/smileys/idea.png'); }
+.moin-ohwell:before { content: url('../img/smileys/ohwell.png'); }
+.moin-prio1:before { content: url('../img/smileys/prio1.png'); }
+.moin-prio2:before { content: url('../img/smileys/prio2.png'); }
+.moin-prio3:before { content: url('../img/smileys/prio3.png'); }
+.moin-redface:before { content: url('../img/smileys/redface.png'); }
+.moin-sad:before { content: url('../img/smileys/sad.png'); }
+.moin-smile:before { content: url('../img/smileys/smile.png'); }
+.moin-smile2:before { content: url('../img/smileys/smile2.png'); }
+.moin-smile3:before { content: url('../img/smileys/smile3.png'); }
+.moin-smile4:before { content: url('../img/smileys/smile4.png'); }
+.moin-star_off:before { content: url('../img/smileys/star_off.png'); }
+.moin-star_on:before { content: url('../img/smileys/star_on.png'); }
+.moin-thumbs-up:before { content: url('../img/smileys/thumbs-up.png'); }
+.moin-tired:before { content: url('../img/smileys/tired.png'); }
+.moin-tongue:before { content: url('../img/smileys/tongue.png'); }
+/* end of smileys */
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Sun Oct 05 21:44:38 2014 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Sun Oct 05 21:47:58 2014 -0700
@@ -7,6 +7,8 @@
 @import "moin-variables.less";
 
 
+@import (less) "smileys.css";
+
 /* start of admonitions.css */
 @import (less) "admonitions.css";
 /* end of admonitions.css */
@@ -845,85 +847,6 @@
 .tickets-sort-button .dropdown-menu li form button:focus {
   background-color: #f5f5f5;
 }
-.moin-text-icon {
-  font-size: 0;
-  color: transparent;
-}
-.moin-alert:before {
-  content: url("../img/smileys/alert.png");
-}
-.moin-angry:before {
-  content: url("../img/smileys/angry.png");
-}
-.moin-attention:before {
-  content: url("../img/smileys/attention.png");
-}
-.moin-biggrin:before {
-  content: url("../img/smileys/biggrin.png");
-}
-.moin-checkmark:before {
-  content: url("../img/smileys/checkmark.png");
-}
-.moin-devil:before {
-  content: url("../img/smileys/devil.png");
-}
-.moin-frown:before {
-  content: url("../img/smileys/frown.png");
-}
-.moin-icon-error:before {
-  content: url("../img/smileys/icon-error.png");
-}
-.moin-icon-info:before {
-  content: url("../img/smileys/icon-info.png");
-}
-.moin-idea:before {
-  content: url("../img/smileys/idea.png");
-}
-.moin-ohwell:before {
-  content: url("../img/smileys/ohwell.png");
-}
-.moin-prio1:before {
-  content: url("../img/smileys/prio1.png");
-}
-.moin-prio2:before {
-  content: url("../img/smileys/prio2.png");
-}
-.moin-prio3:before {
-  content: url("../img/smileys/prio3.png");
-}
-.moin-redface:before {
-  content: url("../img/smileys/redface.png");
-}
-.moin-sad:before {
-  content: url("../img/smileys/sad.png");
-}
-.moin-smile:before {
-  content: url("../img/smileys/smile.png");
-}
-.moin-smile2:before {
-  content: url("../img/smileys/smile2.png");
-}
-.moin-smile3:before {
-  content: url("../img/smileys/smile3.png");
-}
-.moin-smile4:before {
-  content: url("../img/smileys/smile4.png");
-}
-.moin-star_off:before {
-  content: url("../img/smileys/star_off.png");
-}
-.moin-star_on:before {
-  content: url("../img/smileys/star_on.png");
-}
-.moin-thumbs-up:before {
-  content: url("../img/smileys/thumbs-up.png");
-}
-.moin-tired:before {
-  content: url("../img/smileys/tired.png");
-}
-.moin-tongue:before {
-  content: url("../img/smileys/tongue.png");
-}
 
 /* Support for extra small viewports */
 @media screen and (max-width: @screen-sm-min) {
--- a/MoinMoin/themes/modernized/static/css/stylus/smileys.css	Sun Oct 05 21:44:38 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/smileys.css	Sun Oct 05 21:47:58 2014 -0700
@@ -25,3 +25,4 @@
 .moin-thumbs-up:before { content: url('../img/smileys/thumbs-up.png'); }
 .moin-tired:before { content: url('../img/smileys/tired.png'); }
 .moin-tongue:before { content: url('../img/smileys/tongue.png'); }
+/* end of smileys */
--- a/MoinMoin/themes/modernized/static/css/theme.css	Sun Oct 05 21:44:38 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Sun Oct 05 21:47:58 2014 -0700
@@ -219,6 +219,7 @@
 .moin-thumbs-up:before { content: url('../img/smileys/thumbs-up.png'); }
 .moin-tired:before { content: url('../img/smileys/tired.png'); }
 .moin-tongue:before { content: url('../img/smileys/tongue.png'); }
+/* end of smileys */
 #moin-content div.attention{background-image:url("../img/admonitions/important.png")}
 #moin-content div.caution{background-image:url("../img/admonitions/caution.png")}
 #moin-content div.danger{background-image:url("../img/admonitions/warning.png")}