"Раскраска" галереи "Раскраска" галереи
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

"Раскраска" галереи

Started by lela, June 25, 2007, 06:04:50 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

lela

добрый день!
установила замечательную галерею и замечательно ее окрасила :)
http://luchis.ru/gallery/index.php
не удалось найти, как окрасить только одну часть таблицы - та, что осталась белой
подскажите, пожалуйста, кто знает, где изменить этот цвет

Makc666

Quote from: lela on June 25, 2007, 06:04:50 PM
äîáðûé äåíü!
óñòàíîâèëà çàìå÷àòåëüíóþ ãàëåðåþ è çàìå÷àòåëüíî åå îêðàñèëà :)
http://luchis.ru/gallery/index.php
íå óäàëîñü íàéòè, êàê îêðàñèòü òîëüêî îäíó ÷àñòü òàáëèöû - òà, ÷òî îñòàëàñü áåëîé
ïîäñêàæèòå, ïîæàëóéñòà, êòî çíàåò, ãäå èçìåíèòü ýòîò öâåò

Äåëàåòå êîïèþ ôàéëà:
/themes/water_drop/style.css

Îòêðûâàåòå ôàéëèê:
/themes/water_drop/style.css

Íàõîäèòå êîä:
.maintable {
        border: 1px solid #CCD7E0;
        background-color: #FFFFFF;
        margin-top: 1px;
        margin-bottom: 1px;
}


 í¸ì ñòðîêó:
background-color: #FFFFFF;

Ìåíÿåòå #FFFFFF íà íóæíîå çíà÷åíèå, ê ïðèìåðó: #FFFF80


Ïîòîì èùèòå êîä:
.tableb {
        background: #F2F5F7 ;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}


 í¸ì ñòðîêó:
background: #F2F5F7 ;

Ìåíÿåòå #F2F5F7 íà íóæíîå çíà÷åíèå, ê ïðèìåðó: #FF8040

È ò.ä. äëÿ íóæíûõ ìåñò.

Åñëè Âû ïîñìîòðèòå â ñàìîå íà÷àëî ôàéëà /themes/water_drop/style.css, òî òàì óâèäèòå êîä:

/* Colors used:                                */
/* --------------------------------------------*/
/* Hex 000000 = RGB   0,  0,  0 = black        */
/* Hex 5F5F5F = RGB  95, 95, 95 = light black  */
/* Hex BDBEBD = RGB 189,190,189 = dark grey    */
/* Hex D1D7DC = RGB 209,215,220 = medium grey  */
/* Hex CCD7E0 = RGB 204,215,224 = light grey   */
/* Hex CBD7DE = RGB 203,215,222 = steel grey   */
/* Hex F2F5F7 = RGB 242,245,247 = dark white   */
/* Hex EFEFEF = RGB 239,239,239 = dark white   */
/* Hex FFFFFF = RGB 255,255,255 = white        */
/* Hex 000666 = RGB   0,  6,102 = dark blue    */
/* Hex 0033CC = RBG   0, 91,104 = medium blue  */
/* Hex 718EA5 = RGB 113,142,165 = light blue   */
/* Hex 8AA5B5 = RGB 138,165,181 = light blue   */
/* if you don't like a color, just do a search */
/* and replace on the hex color...             */


Åñëè Âû íå õîòèòå íèãäå âèäåòü áåëûé öâåò, òî Âàì íóæíî èñêàòü âîò ýòè öâåòîâûå çíà÷åíèÿ:
/* Hex F2F5F7 = RGB 242,245,247 = dark white   */
/* Hex EFEFEF = RGB 239,239,239 = dark white   */
/* Hex FFFFFF = RGB 255,255,255 = white        */


Òî÷íåå âîò òàê:

  • #F2F5F7
  • #EFEFEF
  • #FFFFFF

È ìåíÿòü íà íóæíûé öâåò.

À âîîáùå, âîò òóò ÿ òåìêó íàêèäàë ïî äàííîìó âîïðîñó :)

Êàê áûñòðî ïîñìîòðåòü HTML êîä - FireFox - Firebug
http://forum.coppermine-gallery.net/index.php?topic=44737

lela

Ìàêñ666, áîëüøîå ñïàñèáî çà îòâåò, íî ÿ ýòî âñå óæå ïåðåïðîáîâàëà!
ïîñìîòðè, ñåé÷àñ èçìåíèëà background â maintable íà ÷åðíûé - à îíî ìíå òîëüêî ðàìêó ÷åðíûì ñäåëàëî :(

Makc666

Quote from: lela on June 25, 2007, 06:53:17 PM
Ìàêñ666, áîëüøîå ñïàñèáî çà îòâåò, íî ÿ ýòî âñå óæå ïåðåïðîáîâàëà!
ïîñìîòðè, ñåé÷àñ èçìåíèëà background â maintable íà ÷åðíûé - à îíî ìíå òîëüêî ðàìêó ÷åðíûì ñäåëàëî :(
Ó òåáÿ ñåé÷àñ â êîäå:
<td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;">
#FFFFFF - ýòî íå ÷åðíûé :)
#FFFFFF - ýòî áåëûé :)
#000000 - ýòî ÷åðíûé :)

Ïîñìîòðè åù¸ ðàç âíèìàòåëüíî òàáëèöó, êîòîðóþ àâòîð òåìû äëÿ ïðèìåðà ñîñòàâèë:
/* Colors used:                                */
/* --------------------------------------------*/
/* Hex 000000 = RGB   0,  0,  0 = black        */
/* Hex 5F5F5F = RGB  95, 95, 95 = light black  */
/* Hex BDBEBD = RGB 189,190,189 = dark grey    */
/* Hex D1D7DC = RGB 209,215,220 = medium grey  */
/* Hex CCD7E0 = RGB 204,215,224 = light grey   */
/* Hex CBD7DE = RGB 203,215,222 = steel grey   */
/* Hex F2F5F7 = RGB 242,245,247 = dark white   */
/* Hex EFEFEF = RGB 239,239,239 = dark white   */
/* Hex FFFFFF = RGB 255,255,255 = white        */
/* Hex 000666 = RGB   0,  6,102 = dark blue    */
/* Hex 0033CC = RBG   0, 91,104 = medium blue  */
/* Hex 718EA5 = RGB 113,142,165 = light blue   */
/* Hex 8AA5B5 = RGB 138,165,181 = light blue   */
/* if you don't like a color, just do a search */
/* and replace on the hex color...             */

lela

çíàþ, ïîòîìó ÷òî öâåò ýòîé òàáëèöû ìåíÿåòñÿ íå â maintable, ãäå ÿ åãî ïîìåíÿëà â style.css :)
FFFFFF ó ìåíÿ âñòðå÷àåòñÿ â css òîëüêî òàì, ãäå ó ìåíÿ òåêñò áåëûì öâåòîì, îñòàëüíîå ÿ ïîçàìåíÿëà âñå óæå

ULISS

Ïîïðîáóé íàéäè â themes.inc.php âîò ýòó ñòðî÷êó:
<td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;"> 
;)

Makc666

Quote from: lela on June 26, 2007, 04:35:19 AM
çíàþ, ïîòîìó ÷òî öâåò ýòîé òàáëèöû ìåíÿåòñÿ íå â maintable, ãäå ÿ åãî ïîìåíÿëà â style.css :)
FFFFFF ó ìåíÿ âñòðå÷àåòñÿ â css òîëüêî òàì, ãäå ó ìåíÿ òåêñò áåëûì öâåòîì, îñòàëüíîå ÿ ïîçàìåíÿëà âñå óæå
Äà. Ýòî ÿ îøèáñÿ. Íóæíî íî÷üþ ñïàòü ;D

Quote from: ULISS on June 26, 2007, 08:26:16 AM
Ïîïðîáóé íàéäè â themes.inc.php âîò ýòó ñòðî÷êó:
<td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;"> 
;)
lela, íå ñëóøàé äÿäþ ULISS, îí ïëîõîìó íàó÷èò.
Ìåíÿòü ôàéë include/themes.inc.php íåëüçÿ íè â êîåì ñëó÷àå!
Ýòî îáùèé ôàéë äëÿ âñåõ òåì!
 í¸ì äàæå íàïèñàíî:
// Do not edit this file. If you need to customize your theme, edit themes/yourtheme/theme.php instead !!!

ß óæå ïèñàë î òîì, êàê ðàáîòàþò ñ ýòèì ôàéëîì âîò òóò:
Êàê èçìåíèòü òåìó èëè äîáàâèòü ñâîé êóñîê êîäà?
http://forum.coppermine-gallery.net/index.php?topic=43678.0

Òî, ÷òî õî÷åøü ïîìåíÿòü òû íàõîäèòñÿ òóò:
themes/water_drop/template.html
Ñòðîêà 17

lela

ïîëó÷èëîñü!
Ìàêñ, ñïàñèáî áîëüøîå!!!  :-*