Robert Vogel has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312470

Change subject: Fixed Icons
......................................................................

Fixed Icons

Change-Id: I07f7f6e39657ba978e7f86816714166c769a9ed0
---
M resources/bluespice/bluespice.icons.css
M resources/bs.icons.php
2 files changed, 56 insertions(+), 35 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation 
refs/changes/70/312470/1

diff --git a/resources/bluespice/bluespice.icons.css 
b/resources/bluespice/bluespice.icons.css
index aabfab9..0f2e195 100644
--- a/resources/bluespice/bluespice.icons.css
+++ b/resources/bluespice/bluespice.icons.css
@@ -53,44 +53,49 @@
        display: none;
 }
 
+[class^="bs-icon-"]:before, [class*=" bs-icon-"]:before {
+       font-family: 'icomoon';
+}
+
 .bs-icon-download:after {
-       font-family: 'entypo' !important;
-       content: '\e93f'
+       content: '\e960';
 }
 
 .bs-icon-arrow-down:after {
+       content: '\f078';
        font-family: 'fontawesome' !important;
-       content: '\f078'
 }
 
 .bs-icon-text:before{
-       content: "\e85b";
+       content: "\ea26";
+       font-family: 'entypo' !important;
 }
 
 .bs-icon-alphabetic-sort-asc:before{
-       font-family: 'fontawesome' !important;
        content: "\f15d";
+       font-family: 'fontawesome' !important;
 }
 
 .bs-icon-alphabetic-sort-desc:before{
-       font-family: 'fontawesome' !important;
        content: "\f15e";
+       font-family: 'fontawesome' !important;
 }
 
 .bs-icon-star-full:before{
-       content: "/e6d1";
+       content: "\e9d9";
 }
 
 .bs-icon-star-half:before{
-       content: "\e60d";
+       content: "\e9d8";
 }
 
 .bs-icon-star-empty:before{
-       content: "\e6cf";
+       content: "\e9d7";
 }
 
 .bs-icon-gears:before{
-       content: "\e690";
+       content: "\f085";
+       font-family: 'fontawesome';
 }
 
 .bs-icon-book:before{
@@ -98,15 +103,16 @@
 }
 
 .bs-icon-eye:before{
-       content: "\e6c7";
+       content: "\e9a1";
+       font-family: 'entypo';
 }
 
 .bs-icon-gear:before{
-       content: "\e68f";
+       content: "\e994";
 }
 
 .bs-icon-earth:before{
-       content: "\e6c3";
+       content: "\e9ca";
 }
 
 .bs-icon-wrench:before{
@@ -114,34 +120,43 @@
 }
 
 .bs-icon-chain:before{
-       content: "\e7ec";
+       content: "\f0c1";
+       font-family: 'fontawesome';
 }
 .bs-icon-key:before{
-       content: "\e688";
+       content: "\e9c1";
+       font-family: 'entypo';
 }
 
 .bs-icon-shopping-cart:before{
-       content: "\e636";
+       content: "\f07a";
+       font-family: 'fontawesome';
 }
 
 .bs-icon-painting-roll:before{
-       content: "\e60c";
+       content: "\e90c";
 }
 
 .bs-icon-magnifying-glass:before{
-       content: "\e7e8";
+       content: "\e9d9";
+       font-family: 'entypo';
 }
 
 .bs-icon-bar-chart:before{
-       content: "\e698";
+       content: "\f080";
+       font-family: 'fontawesome';
 }
 
 .bs-icon-user-add:before{
-       content: "\e7d3";
+       content: "\e973";
+}
+
+.bs-icon-user:before {
+       content: "\e971";
 }
 
 .bs-icon-group:before{
-       content: "\e7d2";
+       content: "\e972";
 }
 
 .bs-icon-register-box:before{
@@ -149,30 +164,31 @@
 }
 
 .bs-icon-upload:before{
-       content: "\e65f";
+       content: "\e961";
 }
 
 .bs-icon-flag-pole:before{
-       content: "\e6c5";
+       content: "\e9a3";
+       font-family: 'entypo' !important;
 }
 
 .bs-icon-clipboard-checked:before{
-       content: "\e62c";
+       content: "\e9b8";
 }
 
 .bs-icon-clipboard:before{
-       font-family: 'entypo' !important;
        content: "\e984";
+       font-family: 'entypo' !important;
 }
 
 .bs-icon-puzzle:before{
-       font-family: 'fontawesome' !important;
        content: "\f12e";
+       font-family: 'fontawesome' !important;
 }
 
 .bs-icon-info:before{
-       font-family: "entypo" !important;
        content: "\e9bf";
+       font-family: "entypo" !important;
 }
 
 .bs-icon-profile:before{
@@ -188,13 +204,13 @@
 }
 
 .bs-icon-cross:before {
-       font-family: "entypo" !important;
        content: "\e97e";
+       font-family: "entypo" !important;
 }
 
 .bs-icon-book:before {
-       font-family: "entypo" !important;
        content: "\e970";
+       font-family: "entypo" !important;
 }
 
 .bs-icon-blocked:before {
@@ -202,8 +218,8 @@
 }
 
 .bs-icon-help:before {
-       font-family: "entypo" !important;
        content: "\e9b6";
+       font-family: "entypo" !important;
 }
 
 /* BACKWARDS COMPATIBILITY */
@@ -248,7 +264,7 @@
 }
 
 .icon-upload:before {
-       content: "\e956";
+       content: "\e960";
 }
 
 .icon-history:before {
@@ -346,7 +362,8 @@
 }
 
 .icon-text:before{
-       content: "\e85b";
+       font-family: 'entypo' !important;
+       content: "\ea26";
 }
 
 .icon-book2:before {
@@ -357,3 +374,8 @@
 .icon-blocked:before {
        content: "\ea0e";
 }
+
+.icon-eye {
+       content: "\e9a1";
+       font-family: 'entypo';
+}
\ No newline at end of file
diff --git a/resources/bs.icons.php b/resources/bs.icons.php
index da9e668..668d7c6 100644
--- a/resources/bs.icons.php
+++ b/resources/bs.icons.php
@@ -81,8 +81,6 @@
                        }
 
                        .icontable {
-                               position: absolute;
-                               top: 50px;
                                width: 100%;
                                border-collapse: collapse;
                        }
@@ -116,8 +114,9 @@
 
        for( $i=0; $i < count( $lines ); $i++ ) {
                $className = null;
+               $number = '';
 
-               if( preg_match( '#^\.icon-#', $lines[$i] ) ) {
+               if( preg_match( '#^\.(bs-)?icon-#', $lines[$i] ) ) {
                        $pos = strpos( $lines[$i],':' );
                        $className = substr( $lines[$i],1,$pos -1 );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/312470
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I07f7f6e39657ba978e7f86816714166c769a9ed0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <vo...@hallowelt.biz>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to