[horde] themes horde-resources div?

Erling Preben Hansen erling at eph.dk
Mon Jan 5 13:56:17 UTC 2015


  Citat af Jan Schneider <jan at horde.org>:

> Zitat von Erling Preben Hansen <erling at eph.dk>:
>
>> Citat af Jan Schneider <jan at horde.org>:
>>
>>> Zitat von Erling Preben Hansen <erling at eph.dk>:
>>>
>>>> Citat af Jan Schneider <jan at horde.org>:
>>>>
>>>>> Zitat von Erling Preben Hansen <erling at eph.dk>:
>>>>>
>>>>>> Citat af Michael M Slusarz <slusarz at horde.org>:
>>>>>>
>>>>>>> Quoting Erling Preben Hansen <erling at eph.dk>:
>>>>>>>
>>>>>>>> Hey
>>>>>>>> And a happy new year to all of you.
>>>>>>>>
>>>>>>>> I am updating and improving my Horde themes to 5.2
>>>>>>>>
>>>>>>>> In turba and mnemos sidebar.
>>>>>>>> I can't change the background color of the div for users default
>>>>>>>> addressbook and notebook.
>>>>>>>>
>>>>>>>> I can change most of it, but not the color around the "edit" icon.
>>>>>>>>
>>>>>>>> Why How?
>>>>>>>>
>>>>>>>> -----
>>>>>>>> Inspecting in firefox or chrome
>>>>>>>>
>>>>>>>>     <div class="horde-resources">
>>>>>>>> -----> <div class="" style="color: rgb(0, 0, 0); background-color:
>>>>>>>> rgb(221,
>>>>>>>> 221, 221);"> <-------------
>>>>>>>>             <a class="horde-resource-edit-000"
>>>>>>
>>>>>> title="Rediger"
>>>>>>>> href="/horde/turba/addressbooks/edit.php?a=xxxxxxxxxxxxxxxx"></a>
>>>>>>>>             <div class="horde-resource-link">
>>>>>>>>                 <a class="horde-resource-on
>>>>>>
>>>>>> horde-radiobox"
>>>>>>>> href="/horde/turba/?source=xxxxxxxxxxxxxxxxxxx"></a>
>>>>>>>>             </div>
>>>>>>>>         </div>
>>>>>>>>     </div>
>>>>>>>>
>>>>>>>> element {
>>>>>>>>     color: #000;
>>>>>>>>     background-color: #DDD;  !this color is said to be inline
>>>>>>
>>>>>> element.
>>>>>>>> I can't find the definition.!
>>>>>>>> }
>>>>>>>
>>>>>>> Horde_View_Sidebar#addRow()
>>>>>>>
>>>>>>> michael
>>>>>>>
>>>>>>> ___________________________________
>>>>>>> Michael Slusarz [slusarz at horde.org]
>>>>>>>
>>>>>>> --
>>>>>>> Horde mailing list
>>>>>>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
>>
>> mail:
>>>>>>> horde-unsubscribe at lists.horde.org
>>>>>>
>>>>>> Hey
>>>>>>
>>>>>> It seems like there are no css styles for that div.
>>>>>> Therefor default from lib/View/Sidebar.php is in use.
>>>>>>
>>>>>> Since the color is chosen by user in kronolith and nag.
>>>>>> perhaps some css style in turba and mnemo screen.css
>>>>>>
>>>>>> I don't know exatly how to do this.
>>>>>> Can some css dev perhaps look in to this?
>>>>>> -------
>>>>>> this only changes part of the backgrund-color:
>>>>>>
>>>>>> #horde-sidebar div.horde-resources div {
>>>>>>     background-color: black;
>>>>>>     margin: 5px 0;
>>>>>> }
>>>>>> ----------
>>>>>> /erling
>>>>>> --
>>>>>> Horde mailing list
>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>>
>>>>> The default color for calendars is hardcoded.
>>>>>
>>>>> --
>>>>> Jan Schneider
>>>>> The Horde Project
>>>>> http://www.horde.org/
>>>>> https://www.facebook.com/hordeproject
>>>>>
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
mail:
>>>>> horde-unsubscribe at lists.horde.org
>>>>
>>>> Hey
>>>>
>>>> To show how what i mean. I have put some pictures in my wiki.
>>>>
>>>> http://eph.dk/horde/wicked/Themes_error
>>>>
>>>> /erling
>>>> --
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>> It's still hardcoded.
>>>
>>> --
>>> Jan Schneider
>>> The Horde Project
>>> http://www.horde.org/
>>> https://www.facebook.com/hordeproject
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe, mail:
>>> horde-unsubscribe at lists.horde.org
>>
>> Hey
>>
>> Sorry i forgot to answer you Jan Schneider.
>> Yes i saw that it is hardcoded into kronolith.
>> But I am not sure how deep to dig to change that. Yet.
>>
>> A quick look into this gave me the idea,
>> that it may be one variable that needs changing.
>> I am not sure if it is saved in the backend.
>> It could look like it is.
>>
>> But thats to look into later.
>>
>> /erling
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
> We could probably use a CSS class for the default color instead of
> hardcoding it, and then overwrite the color locally like we do it
> already now.
>
> --
> Jan Schneider
> The Horde Project
> http://www.horde.org/
> https://www.facebook.com/hordeproject
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe, mail:
> horde-unsubscribe at lists.horde.org

Hey

Sounds nice.

Would it be wrong if we used a background-color in the <div> above the one
in question.
Since  this is always right above.

#horde-sidebar div.horde-resources div {
    margin: 5px 0;
}

We could just add the background-color and grab it in code.

/erling


More information about the horde mailing list