Professional Documents
Culture Documents
FrontEnd gUIde HTML CSS
FrontEnd gUIde HTML CSS
FrontEnd gUIde HTML CSS
Guide by NB
--Don’t forget to include all the libraries you were are using when posting your work.
--The main font is Arial. (Also in the project is Helvetica, recently I found out is not good for Windows OS, ).
Usual font size is 22px. It can also be 30, 32, 44, 28, 26.
Colour references :
:root {
--bgcol-top: #0E312A;
--bgcol-nav: #DCFAF8;
--bgcol-list: #EFF8F7;
--bgcol-inac: #EBEBEB;
--bgcol-dark: #696969;
--shad: #C4C4C4;
--txt: #5A605D;
--txt-active: #6BB590;
--txt-alert: #19BAB0;
--txt-inac: #C6CCCE;
--border: #707070;
}
This line will allow you to use colours without writing the hex code.
Basically you declare variable.
So when you need a colour, just write var(--color-name); , like this :
#foo {
color: var(--txt);
}
A window with the left bar (top right) : left bar as, for instance, on schedule page as Filter, is !!!always 370px, and at the left from it it is always
a main area, taking all the rest of the space. It is a static window, means only elements inside can be scrolled, div itself stays at one position.
The entire page is fixed. So the only scrollable area is after the navbar.
On the page with no navbar (bottom left), the white narrow block is placed inside. Please, make two size classes for it as one class with fixed
size 700px.
And the other changes it’s size depending on the elements inside.
This white block should always be in the middle.
On the page with a wide white div (bottom right), there must be a small margin from the sides. Around 60-50px;
It will be better if it will change with smaller devices.
The last page is the green block (top left), which stays 900px in width.
This is the easy task, so if you take it, please, do it as fast as you can.
2. A simple task in creating title and nav-bar
3. From the layout with the left bar
Putting that easy way, you create layout for everything except of what’s inside boxes with border.
You must put those empty boxes in their place, and other people will put right things inside them.
7. Listed layout pard two.
Even if the list is inside the one big bordered div, it is still your task to create the list inside it.
Or if there are many bordered divs in list, you create personal layout for their inner part.
Please, don’t hesitate to ask in facebook any question, and not only personally.
!You must not to define size of a div itself, but make it fill 100% of width, as it will be placed
In an another div. So you don’t care about defying size of it.
Of course, you can test with different widths, as it is better if it is dynamically flexible.
But at the end your code will be placed in a big, main div. So just create things inside a green bar.
10. Design of a scroll bar.
As it is the question of a final look, you can try to make a custom scroll bar.
It is a very simple task.
Use references to understand how it should look, give your ideas and ask people on any new designs.
Also, it is the only element which uses dark shadow colour : --shad-dark;
11. Buttons, links and forms should be implemented separately, as for the reason of consistency.
All the interactable text like links or edit button will have underline on hover.
Buttons must NOT have underline, but when hovered it has a shadow.
Don’t forget :
Some people will make a special divs for your buttons, with predefined size.
But maybe some won’t.
So when you define a size for buttons, links, inputs, create a separate class.