CSS tweak for my eyes

This commit is contained in:
Nicolas Le Goff
2014-10-15 20:39:24 +02:00
parent 419509de68
commit e694677efd
3 changed files with 56 additions and 4 deletions

View File

@@ -108,9 +108,9 @@
{% endif %}
{% endblock %}
{% block td_duration %}
{% if record.get_formated_duration() %}
{% if record.exif.get(constant('media_subdef::TC_DATA_DURATION')) is not none %}
{{ 'Duree' | trans }} :
{{ record.get_formated_duration() }}
{{ record.exif.get(constant('media_subdef::TC_DATA_DURATION')) }}
<br />
{% endif %}
{% endblock %}

View File

@@ -1,5 +1,31 @@
/******* GLOBAL PROD **********************************************************/
::-webkit-scrollbar-track
{
border-radius: 7px;
background-color: #000;
}
::-webkit-scrollbar {
width: 14px;
}
::-webkit-scrollbar-thumb {
height: 6px;
border: 4px solid rgba(0, 0, 0, 0);
background-clip: padding-box;
-webkit-border-radius: 7px;
background-color: #555;
-webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-button {
width: 0;
height: 0;
display: none;
}
::-webkit-scrollbar-corner {
background-color: transparent;
}
html {
border: medium none;
height: 100%;
@@ -763,7 +789,7 @@ div.diapo {
left: 0pt;
right: 1px;
bottom: 0px;
overflow-y: scroll;
overflow-y: hidden;
overflow-x: hidden;
background-color: #404040;
}

View File

@@ -1,5 +1,31 @@
/******* GLOBAL PROD **********************************************************/
::-webkit-scrollbar-track
{
border-radius: 7px;
background-color: #d9d9d9;
}
::-webkit-scrollbar {
width: 14px;
}
::-webkit-scrollbar-thumb {
height: 6px;
border: 4px solid rgba(0, 0, 0, 0);
background-clip: padding-box;
-webkit-border-radius: 7px;
background-color: #555;
-webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-button {
width: 0;
height: 0;
display: none;
}
::-webkit-scrollbar-corner {
background-color: transparent;
}
html {
border: medium none;
height: 100%;
@@ -779,7 +805,7 @@ div.diapo {
left: 0pt;
right: 1px;
bottom: 0px;
overflow-y: scroll;
overflow-y: hidden;
overflow-x: hidden;
background-color: #B1B1B1;
}