Branding

34 views
Skip to first unread message

D D

unread,
Feb 27, 2015, 4:52:54 PM2/27/15
to sea...@googlegroups.com


Branding=‘custom/custom.css’


I copied [sf dir}/seafile-server-latest/seahub/media/css/seahub.css to {sf dir}//seafile-server-latest/seahub/media/custom.css

I changed {sf dir}/Seahub_seetings.py and added BRANDING=custom/custom.css and made just a couple o changes.

My CSS changes seem to work BUT I lost icons the down arrow next to user's picture the delete move and copy icons when one or more documents are selected and all the icons when modifying a document

I found out  that in seahub.css there's a url pointing to the fonts directory which is a subdirectory under css (The instructions tell you to create a new directory /seafile-server-latest/seahub/media/custom and put your CSS there - If you do then the URL is no longer valid becuase /seafile-server-latest/seahub/media/custom/font does not exist

I change the url in my custom CSS from
/* Font Awesome 3.2.1 by Dave Gandy - http://fortawesome.github.com/Font-Awesome */
@font-face {
font-family: 'FontAwesome';
src: url('font/fontawesome-webfont.eot?v=3.0.1');
src: url('font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
url('font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
url('font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
font-weight: normal;
font-style: normal;

to

/****** icon-xx ********/
/* Font Awesome 3.2.1 by Dave Gandy - http://fortawesome.github.com/Font-Awesome */
@font-face {
font-family: 'FontAwesome';
src: url('../css/font/fontawesome-webfont.eot?v=3.0.1');
src: url('../css.font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
url('../css/font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
url('.//css/font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
font-weight: normal;
font-style: normal;


Now the icons are present BUT I noticed that some seafile formats get messed up - pages don't format correctly or fit to size. For Example if I open a .SEAF file the page is too wide and the download button get chopped off the screen

Anyone have any insight or anyone having the same issues


Reply all
Reply to author
Forward
0 new messages