Fix Bubble Chat Style

This commit is contained in:
Phenom 2021-02-20 03:16:29 +01:00
parent 1bfd49419d
commit 2075e8c23b
544 changed files with 439 additions and 1335 deletions

View File

@ -148,7 +148,6 @@ echo copy stylesheets
xcopy /S "%SourcePath%\retroshare-gui\src\gui\qss\chat" "%RsDeployPath%\stylesheets" %Quite% xcopy /S "%SourcePath%\retroshare-gui\src\gui\qss\chat" "%RsDeployPath%\stylesheets" %Quite%
rmdir /S /Q "%RsDeployPath%\stylesheets\compact" %Quite% rmdir /S /Q "%RsDeployPath%\stylesheets\compact" %Quite%
rmdir /S /Q "%RsDeployPath%\stylesheets\standard" %Quite% rmdir /S /Q "%RsDeployPath%\stylesheets\standard" %Quite%
rmdir /S /Q "%RsDeployPath%\stylesheets\__MACOSX__Bubble" %Quite%
echo copy sounds echo copy sounds
xcopy /S "%SourcePath%\retroshare-gui\src\sounds" "%RsDeployPath%\sounds" %Quite% xcopy /S "%SourcePath%\retroshare-gui\src\sounds" "%RsDeployPath%\sounds" %Quite%

View File

@ -139,7 +139,6 @@ echo copy stylesheets
xcopy /S "%SourcePath%\retroshare-gui\src\gui\qss\chat" "%RsDeployPath%\stylesheets" %Quite% xcopy /S "%SourcePath%\retroshare-gui\src\gui\qss\chat" "%RsDeployPath%\stylesheets" %Quite%
rmdir /S /Q "%RsDeployPath%\stylesheets\compact" %Quite% rmdir /S /Q "%RsDeployPath%\stylesheets\compact" %Quite%
rmdir /S /Q "%RsDeployPath%\stylesheets\standard" %Quite% rmdir /S /Q "%RsDeployPath%\stylesheets\standard" %Quite%
rmdir /S /Q "%RsDeployPath%\stylesheets\__MACOSX__Bubble" %Quite%
echo copy sounds echo copy sounds
xcopy /S "%SourcePath%\retroshare-gui\src\sounds" "%RsDeployPath%\sounds" %Quite% xcopy /S "%SourcePath%\retroshare-gui\src\sounds" "%RsDeployPath%\sounds" %Quite%

View File

@ -51,6 +51,14 @@ RSTextBrowser::RSTextBrowser(QWidget *parent) :
connect(this, SIGNAL(anchorClicked(QUrl)), this, SLOT(linkClicked(QUrl))); connect(this, SIGNAL(anchorClicked(QUrl)), this, SLOT(linkClicked(QUrl)));
} }
void RSTextBrowser::append(const QString &text)
{
//In Win RSTextBrowser don't recognize file:///
QString fileText = text;
QTextBrowser::append(fileText.replace("file:///","file://"));
}
void RSTextBrowser::linkClicked(const QUrl &url) void RSTextBrowser::linkClicked(const QUrl &url)
{ {
if (!mLinkClickActive) { if (!mLinkClickActive) {
@ -128,14 +136,22 @@ QVariant RSTextBrowser::loadResource(int type, const QUrl &name)
// case 2: always trust the image if it comes from local Config or Data directories. // case 2: always trust the image if it comes from local Config or Data directories.
if(type == QTextDocument::ImageResource) { if(type == QTextDocument::ImageResource)
{
QFileInfo fi = QFileInfo(name.path()); QFileInfo fi = QFileInfo(name.path());
if(fi.exists() && fi.isFile()) { if(fi.exists() && fi.isFile())
{
QString cpath = fi.canonicalFilePath(); QString cpath = fi.canonicalFilePath();
if (cpath.startsWith(QDir(QString::fromUtf8(RsAccounts::ConfigDirectory().c_str())).canonicalPath(),Qt::CaseInsensitive) QStringList autPath = { QDir(QString::fromUtf8(RsAccounts::ConfigDirectory().c_str())).canonicalPath()
|| cpath.startsWith(QDir(QString::fromUtf8(RsAccounts::systemDataDirectory().c_str())).canonicalPath(),Qt::CaseInsensitive)) , QDir(QString::fromUtf8(RsAccounts::systemDataDirectory().c_str())).canonicalPath()
return QTextBrowser::loadResource(type, name); , QDir(QString::fromUtf8(RsAccounts::ConfigDirectory().c_str())+"/stylesheets/").canonicalPath() //May be link
}} , QDir(QString::fromUtf8(RsAccounts::systemDataDirectory().c_str())+"/stylesheets/").canonicalPath() //May be link
};
for(auto& it : autPath)
if (!it.isEmpty() && cpath.startsWith(it, Qt::CaseInsensitive))
return QPixmap(fi.absoluteFilePath());
}
}
// case 3: only display if the user allows it. Data resources can be bad (svg bombs) but we filter them out globally at the network layer. // case 3: only display if the user allows it. Data resources can be bad (svg bombs) but we filter them out globally at the network layer.
// It would be good to add here a home-made resource loader that only loads images and not svg crap, just in case. // It would be good to add here a home-made resource loader that only loads images and not svg crap, just in case.
@ -285,10 +301,10 @@ QString RSTextBrowser::anchorForPosition(const QPoint &pos) const
rx.setMinimal(true); rx.setMinimal(true);
QString sel = cursor.selection().toHtml(); QString sel = cursor.selection().toHtml();
QStringList anchors; QStringList anchors;
int pos=0; int posX=0;
while ((pos = rx.indexIn(sel,pos)) != -1) { while ((posX = rx.indexIn(sel,posX)) != -1) {
anchors << rx.cap(1); anchors << rx.cap(1);
pos += rx.matchedLength(); posX += rx.matchedLength();
} }
if (!anchors.isEmpty()){ if (!anchors.isEmpty()){
anchor = anchors.at(0); anchor = anchors.at(0);

View File

@ -39,6 +39,8 @@ class RSTextBrowser : public QTextBrowser
public: public:
explicit RSTextBrowser(QWidget *parent = 0); explicit RSTextBrowser(QWidget *parent = 0);
void append(const QString &text);
void setPlaceholderText(const QString &text); void setPlaceholderText(const QString &text);
void setImageBlockWidget(RSImageBlockWidget *widget); void setImageBlockWidget(RSImageBlockWidget *widget);
void resetImagesStatus(bool load); void resetImagesStatus(bool load);

View File

@ -2,13 +2,14 @@
%css-style% %css-style%
</style> </style>
<table width="100%" ><tr><td align="right"> <table width="100%" ><tr><td align="right">
<table class='bubble-grey' cellspacing='0' cellpadding='0'> <table class='bubble-grey' cellspacing='0' cellpadding='0'>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_TL.png"></td> <td class='bubble-greyTL'></td>
<td class='bubble-greyTC'></td> <td class='bubble-greyTC'></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_TR.png"></td> <td class='bubble-greyTR'></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-greyCL'></td> <td class='bubble-greyCL'></td>
@ -18,9 +19,9 @@
<td class='bubble-greyCR'></td> <td class='bubble-greyCR'></td>
</tr> </tr>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_BL.png"></td> <td class='bubble-greyBL' width="15"></td>
<td class='bubble-greyBC' align='right'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td> <td class='bubble-greyBC' align='right'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_BR.png"></td> <td class='bubble-greyBR' width="16"></td>
</tr> </tr>
</table> </table>

View File

@ -7,9 +7,9 @@
<table class='bubble-grey' cellspacing='0' cellpadding='0' style='float:left;'> <table class='bubble-grey' cellspacing='0' cellpadding='0' style='float:left;'>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_TL.png"></td> <td class='bubble-greyTL'></td>
<td class='bubble-greyTC'></td> <td class='bubble-greyTC'></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_TR.png"></td> <td class='bubble-greyTR'></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-greyCL'></td> <td class='bubble-greyCL'></td>
@ -19,9 +19,9 @@
<td class='bubble-greyCR'></td> <td class='bubble-greyCR'></td>
</tr> </tr>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_BL.png"></td> <td class='bubble-greyBL' width="15"></td>
<td class='bubble-greyBC'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td> <td class='bubble-greyBC'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_BR.png"></td> <td class='bubble-greyBR' width="16"></td>
</tr> </tr>
</table> </table>

View File

@ -1,13 +0,0 @@
#!/bin/bash
cd 'img/bubble-orange/'
for file in *.png;
do
convert $file -set option:modulate:colorspace hsb -modulate 100,50,100 -colorspace Gray ../bubble-grey/$file
convert $file -set option:modulate:colorspace hsb -modulate 110,80,80 ../bubble-red/$file
done
#echo "hello ${file} - "
#convert $file -set option:modulate:colorspace hsb -modulate 100,20,100 ../bubble-grey/$file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 B

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 B

After

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 463 B

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 B

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 B

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 457 B

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 391 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 B

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 B

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 419 B

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 B

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 B

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 575 B

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 B

After

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 413 B

View File

@ -7,9 +7,9 @@
<table class='bubble-blue' cellspacing='0' cellpadding='0'> <table class='bubble-blue' cellspacing='0' cellpadding='0'>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-blue/bubble_TL.png"></td> <td class='bubble-blueTL'></td>
<td class='bubble-blueTC'></td> <td class='bubble-blueTC'></td>
<td><img src="%style-dir%/img/bubble-blue/bubble_TR.png"></td> <td class='bubble-blueTR'></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-blueCL'></td> <td class='bubble-blueCL'></td>
@ -19,9 +19,9 @@
<td class='bubble-blueCR'></td> <td class='bubble-blueCR'></td>
</tr> </tr>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-blue/bubble_BL.png"></td> <td class='bubble-blueBL' width="15"></td>
<td class='bubble-blueBC' align='right'><img src="%style-dir%/img/bubble-blue/bubble_tick.png"></td> <td class='bubble-blueBC' align='right'><img src="%style-dir%/img/bubble-blue/bubble_tick.png"></td>
<td><img src="%style-dir%/img/bubble-blue/bubble_BR.png"></td> <td class='bubble-blueBR' width="16"></td>
</tr> </tr>
</table> </table>

View File

@ -37,39 +37,59 @@ color: #FF0000;
} }
.bubble-orange { float: right; } .bubble-orange { float: right; }
.bubble-orangeTC { background-image: url(%style-dir%/img/bubble-orange/bubble_TC.png); } .bubble-orangeTL { background-image: url(%style-dir%/img/bubble-orange/bubble_TL.png); font-size: 9px; }
.bubble-orangeTC { background-image: url(%style-dir%/img/bubble-orange/bubble_TC.png); font-size: 9px; }
.bubble-orangeTR { background-image: url(%style-dir%/img/bubble-orange/bubble_TR.png); font-size: 9px; }
.bubble-orangeCL { background-image: url(%style-dir%/img/bubble-orange/bubble_CL.png); }
.bubble-orangeCC { background-image: url(%style-dir%/img/bubble-orange/bubble_CC.png); } .bubble-orangeCC { background-image: url(%style-dir%/img/bubble-orange/bubble_CC.png); }
.bubble-orangeCR { background-image: url(%style-dir%/img/bubble-orange/bubble_CR.png); } .bubble-orangeCR { background-image: url(%style-dir%/img/bubble-orange/bubble_CR.png); }
.bubble-orangeCL { background-image: url(%style-dir%/img/bubble-orange/bubble_CL.png); } .bubble-orangeBL { background-image: url(%style-dir%/img/bubble-orange/bubble_BL.png); font-size: 9px; }
.bubble-orangeBC { background-image: url(%style-dir%/img/bubble-orange/bubble_BC.png); } .bubble-orangeBC { background-image: url(%style-dir%/img/bubble-orange/bubble_BC.png); font-size: 9px; }
.bubble-orangeBR { background-image: url(%style-dir%/img/bubble-orange/bubble_BR.png); font-size: 9px; }
.bubble-grey { float: right; color: #666; } .bubble-grey { float: right; color: #666; }
.bubble-greyTC { background-image: url(%style-dir%/img/bubble-grey/bubble_TC.png); } .bubble-greyTL { background-image: url(%style-dir%/img/bubble-grey/bubble_TL.png); font-size: 9px; }
.bubble-greyTC { background-image: url(%style-dir%/img/bubble-grey/bubble_TC.png); font-size: 9px; }
.bubble-greyTR { background-image: url(%style-dir%/img/bubble-grey/bubble_TR.png); font-size: 9px; }
.bubble-greyCL { background-image: url(%style-dir%/img/bubble-grey/bubble_CL.png); }
.bubble-greyCC { background-image: url(%style-dir%/img/bubble-grey/bubble_CC.png); } .bubble-greyCC { background-image: url(%style-dir%/img/bubble-grey/bubble_CC.png); }
.bubble-greyCR { background-image: url(%style-dir%/img/bubble-grey/bubble_CR.png); } .bubble-greyCR { background-image: url(%style-dir%/img/bubble-grey/bubble_CR.png); }
.bubble-greyCL { background-image: url(%style-dir%/img/bubble-grey/bubble_CL.png); } .bubble-greyBL { background-image: url(%style-dir%/img/bubble-grey/bubble_BL.png); font-size: 9px; }
.bubble-greyBC { background-image: url(%style-dir%/img/bubble-grey/bubble_BC.png); } .bubble-greyBC { background-image: url(%style-dir%/img/bubble-grey/bubble_BC.png); font-size: 9px; }
.bubble-greyBR { background-image: url(%style-dir%/img/bubble-grey/bubble_BR.png); font-size: 9px; }
.bubble-red { float: right; color: #B33; } .bubble-red { float: right; color: #B33; }
.bubble-redTC { background-image: url(%style-dir%/img/bubble-red/bubble_TC.png); } .bubble-redTL { background-image: url(%style-dir%/img/bubble-red/bubble_TL.png); font-size: 9px; }
.bubble-redTC { background-image: url(%style-dir%/img/bubble-red/bubble_TC.png); font-size: 9px; }
.bubble-redTR { background-image: url(%style-dir%/img/bubble-red/bubble_TR.png); font-size: 9px; }
.bubble-redCL { background-image: url(%style-dir%/img/bubble-red/bubble_CL.png); }
.bubble-redCC { background-image: url(%style-dir%/img/bubble-red/bubble_CC.png); } .bubble-redCC { background-image: url(%style-dir%/img/bubble-red/bubble_CC.png); }
.bubble-redCR { background-image: url(%style-dir%/img/bubble-red/bubble_CR.png); } .bubble-redCR { background-image: url(%style-dir%/img/bubble-red/bubble_CR.png); }
.bubble-redCL { background-image: url(%style-dir%/img/bubble-red/bubble_CL.png); } .bubble-redBL { background-image: url(%style-dir%/img/bubble-red/bubble_BL.png); font-size: 9px; }
.bubble-redBC { background-image: url(%style-dir%/img/bubble-red/bubble_BC.png); } .bubble-redBC { background-image: url(%style-dir%/img/bubble-red/bubble_BC.png); font-size: 9px; }
.bubble-redBR { background-image: url(%style-dir%/img/bubble-red/bubble_BR.png); font-size: 9px; }
.bubble-green { float: right; } .bubble-green { float: right; }
.bubble-greenTC { background-image: url(%style-dir%/img/bubble-green/bubble_TC.png); } .bubble-greenTL { background-image: url(%style-dir%/img/bubble-green/bubble_TL.png); font-size: 9px;}
.bubble-greenTC { background-image: url(%style-dir%/img/bubble-green/bubble_TC.png); font-size: 9px; }
.bubble-greenTR { background-image: url(%style-dir%/img/bubble-green/bubble_TR.png); font-size: 9px;}
.bubble-greenCL { background-image: url(%style-dir%/img/bubble-green/bubble_CL.png); }
.bubble-greenCC { background-image: url(%style-dir%/img/bubble-green/bubble_CC.png); } .bubble-greenCC { background-image: url(%style-dir%/img/bubble-green/bubble_CC.png); }
.bubble-greenCR { background-image: url(%style-dir%/img/bubble-green/bubble_CR.png); } .bubble-greenCR { background-image: url(%style-dir%/img/bubble-green/bubble_CR.png); }
.bubble-greenCL { background-image: url(%style-dir%/img/bubble-green/bubble_CL.png); } .bubble-greenBL { background-image: url(%style-dir%/img/bubble-green/bubble_BL.png); font-size: 9px; }
.bubble-greenBC { background-image: url(%style-dir%/img/bubble-green/bubble_BC.png); } .bubble-greenBC { background-image: url(%style-dir%/img/bubble-green/bubble_BC.png); font-size: 9px; }
.bubble-greenBR { background-image: url(%style-dir%/img/bubble-green/bubble_BR.png); font-size: 9px; }
.bubble-blue { float: right;} .bubble-blue { float: right;}
.bubble-blueTC { background-image: url(%style-dir%/img/bubble-blue/bubble_TC.png); } .bubble-blueTL { background-image: url(%style-dir%/img/bubble-blue/bubble_TL.png); font-size: 9px; }
.bubble-blueTC { background-image: url(%style-dir%/img/bubble-blue/bubble_TC.png); font-size: 9px; }
.bubble-blueTR { background-image: url(%style-dir%/img/bubble-blue/bubble_TR.png); font-size: 9px; }
.bubble-blueCL { background-image: url(%style-dir%/img/bubble-blue/bubble_CL.png); }
.bubble-blueCC { background-image: url(%style-dir%/img/bubble-blue/bubble_CC.png); } .bubble-blueCC { background-image: url(%style-dir%/img/bubble-blue/bubble_CC.png); }
.bubble-blueCR { background-image: url(%style-dir%/img/bubble-blue/bubble_CR.png); } .bubble-blueCR { background-image: url(%style-dir%/img/bubble-blue/bubble_CR.png); }
.bubble-blueCL { background-image: url(%style-dir%/img/bubble-blue/bubble_CL.png); } .bubble-blueBL { background-image: url(%style-dir%/img/bubble-blue/bubble_BL.png); font-size: 9px; }
.bubble-blueBC { background-image: url(%style-dir%/img/bubble-blue/bubble_BC.png); } .bubble-blueBC { background-image: url(%style-dir%/img/bubble-blue/bubble_BC.png); font-size: 9px; }
.bubble-blueBR { background-image: url(%style-dir%/img/bubble-blue/bubble_BR.png); font-size: 9px; }
.bubbleFooter { background-color: none; width:100%; } .bubbleFooter { background-color: none; width:100%; }

View File

@ -7,9 +7,9 @@
<table class='bubble-red' cellspacing='0' cellpadding='0' style='float:left;'> <table class='bubble-red' cellspacing='0' cellpadding='0' style='float:left;'>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-red/bubble_TL.png"></td> <td class='bubble-redTL'></td>
<td class='bubble-redTC'></td> <td class='bubble-redTC'></td>
<td><img src="%style-dir%/img/bubble-red/bubble_TR.png"></td> <td class='bubble-redTR'></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-redCL'></td> <td class='bubble-redCL'></td>
@ -19,9 +19,9 @@
<td class='bubble-redCR'></td> <td class='bubble-redCR'></td>
</tr> </tr>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-red/bubble_BL.png"></td> <td class='bubble-redBL' width="15"></td>
<td class='bubble-redBC'><img src="%style-dir%/img/bubble-red/bubble_tick.png"></td> <td class='bubble-redBC'><img src="%style-dir%/img/bubble-red/bubble_tick.png"></td>
<td><img src="%style-dir%/img/bubble-red/bubble_BR.png"></td> <td class='bubble-redBR' width="16"></td>
</tr> </tr>
</table> </table>

View File

@ -7,9 +7,9 @@
<table class='bubble-green' cellspacing='0' cellpadding='0' style='float:left;'> <table class='bubble-green' cellspacing='0' cellpadding='0' style='float:left;'>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-green/bubble_TL.png"></td> <td class='bubble-greenTL'></td>
<td class='bubble-greenTC'></td> <td class='bubble-greenTC'></td>
<td><img src="%style-dir%/img/bubble-green/bubble_TR.png"></td> <td class='bubble-greenTR'></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-greenCL'></td> <td class='bubble-greenCL'></td>
@ -19,9 +19,9 @@
<td class='bubble-greenCR'></td> <td class='bubble-greenCR'></td>
</tr> </tr>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-green/bubble_BL.png"></td> <td class='bubble-greenBL' width="15"></td>
<td class='bubble-greenBC'><img src="%style-dir%/img/bubble-green/bubble_tick.png"></td> <td class='bubble-greenBC'><img src="%style-dir%/img/bubble-green/bubble_tick.png"></td>
<td><img src="%style-dir%/img/bubble-green/bubble_BR.png"></td> <td class='bubble-greenBR' width="16"></td>
</tr> </tr>
</table> </table>

View File

@ -3,21 +3,24 @@
</style> </style>
<table width="100%" ><tr><td align="left">
<table class='bubble-red' width="100%" cellspacing='0' cellpadding='0'> <table class='bubble-red' width="100%" cellspacing='0' cellpadding='0'>
<tr> <tr>
<td width="1%"><img src="%style-dir%/img/bubble-red/bubble_TL.png"></td> <td class='bubble-redTL' width="15"></td>
<td class='bubble-redTC' width="100%"></td> <td class='bubble-redTC' width="100%"></td>
<td width="1%"><img src="%style-dir%/img/bubble-red/bubble_TR.png"></td> <td class='bubble-redTR' width="16"></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-redCL' width="1%"></td> <td class='bubble-redCL' width="15"></td>
<td class='bubble-redCC' width="100%" align="center"> %name% %time% - %message%</td> <td class='bubble-redCC' width="100%" align="center"> %name% %time% - %message%</td>
<td class='bubble-redCR' width="1%"></td> <td class='bubble-redCR' width="16"></td>
</tr> </tr>
<tr> <tr>
<td width="1%"><img src="%style-dir%/img/bubble-red/bubble_BL.png"></td> <td class='bubble-redBL' width="15"></td>
<td class='bubble-redBC' width="100%"></td> <td class='bubble-redBC' width="100%"></td>
<td width="1%"><img src="%style-dir%/img/bubble-red/bubble_BR.png"></td> <td class='bubble-redBR' width="16"></td>
</tr> </tr>
</table> </table>
</td></tr></table>

View File

@ -2,13 +2,14 @@
%css-style% %css-style%
</style> </style>
<table width="100%" ><tr><td align="right"> <table width="100%" ><tr><td align="right">
<table class='bubble-grey' cellspacing='0' cellpadding='0'> <table class='bubble-grey' cellspacing='0' cellpadding='0'>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_TL.png"></td> <td class='bubble-greyTL'></td>
<td class='bubble-greyTC'></td> <td class='bubble-greyTC'></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_TR.png"></td> <td class='bubble-greyTR'></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-greyCL'></td> <td class='bubble-greyCL'></td>
@ -18,9 +19,9 @@
<td class='bubble-greyCR'></td> <td class='bubble-greyCR'></td>
</tr> </tr>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_BL.png"></td> <td class='bubble-greyBL' width="15"></td>
<td class='bubble-greyBC' align='right'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td> <td class='bubble-greyBC' align='right'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_BR.png"></td> <td class='bubble-greyBR' width="16"></td>
</tr> </tr>
</table> </table>

View File

@ -7,9 +7,9 @@
<table class='bubble-grey' cellspacing='0' cellpadding='0' style='float:left;'> <table class='bubble-grey' cellspacing='0' cellpadding='0' style='float:left;'>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_TL.png"></td> <td class='bubble-greyTL'></td>
<td class='bubble-greyTC'></td> <td class='bubble-greyTC'></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_TR.png"></td> <td class='bubble-greyTR'></td>
</tr> </tr>
<tr> <tr>
<td class='bubble-greyCL'></td> <td class='bubble-greyCL'></td>
@ -19,9 +19,9 @@
<td class='bubble-greyCR'></td> <td class='bubble-greyCR'></td>
</tr> </tr>
<tr> <tr>
<td><img src="%style-dir%/img/bubble-grey/bubble_BL.png"></td> <td class='bubble-greyBL' width="15"></td>
<td class='bubble-greyBC'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td> <td class='bubble-greyBC'><img src="%style-dir%/img/bubble-grey/bubble_tick.png"></td>
<td><img src="%style-dir%/img/bubble-grey/bubble_BR.png"></td> <td class='bubble-greyBR' width="16"></td>
</tr> </tr>
</table> </table>

View File

@ -1,13 +0,0 @@
#!/bin/bash
cd 'img/bubble-orange/'
for file in *.png;
do
convert $file -set option:modulate:colorspace hsb -modulate 100,50,100 -colorspace Gray ../bubble-grey/$file
convert $file -set option:modulate:colorspace hsb -modulate 110,80,80 ../bubble-red/$file
done
#echo "hello ${file} - "
#convert $file -set option:modulate:colorspace hsb -modulate 100,20,100 ../bubble-grey/$file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 B

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 B

After

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 463 B

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 B

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 196 B

Some files were not shown because too many files have changed in this diff Show More