Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Category description banner. #54

Closed
wants to merge 30 commits into from

Conversation

sr-meh
Copy link
Contributor

@sr-meh sr-meh commented Feb 27, 2018

Solves: #20

20 Category description.

Changes:

[#20] Category description banner

  • Adds a new banner in the category of products section.

@sr-meh sr-meh self-assigned this Feb 27, 2018
@sr-meh sr-meh requested review from 8geonirt and Ilyeo February 27, 2018 00:00
font-size: 14px;
}
.boxsocialmedia {
width: 95%;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered align-content, display, justify-content, width

}

footer .information ul li a{
height: 22px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered align-items, color, font-family, font-size, height, line-height, margin-right, text-decoration, width

@jaimelr jaimelr removed the request for review from a team February 27, 2018 01:53
@jaimelr jaimelr changed the base branch from master to MH-Team2 February 27, 2018 01:53
width: 305px;
}

footer .author p {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selector should have depth of applicability no greater than 2, but was 3

}

footer .information ul li a {
height: 22px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered align-items, color, font-family, font-size, height, line-height, margin-right, text-decoration, width

Copy link

@Ilyeo Ilyeo Feb 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

team next time order properties - the reason for order properties alphabetically is because the searching time it's reduced, this helps you to do changes quickly in styles


footer .newsletter input {
height: 35px;
width: 300px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered height, justify-content, width

}

footer .contenedornews {
width: 33%;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered display, width

}

.sm {
height: 35px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properties should be ordered border, border-radius, height, width

text-align: center;
}

footer .author p {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge rule footer .author p with rule on line 2
Selector should have depth of applicability no greater than 2, but was 3

.middleman-logo {
margin-bottom: 1rem;
width: 10rem;
footer .author {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge rule footer .author with rule on line 2

display: inline-block;
}

footer .information ul {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge rule footer .information ul with rule on line 2
Selector should have depth of applicability no greater than 2, but was 3

margin-right: 50;
}

footer .information ul li {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge rule footer .information ul li with rule on line 2
Selector should have depth of applicability no greater than 2, but was 4

justify-content: center;
}

footer .information ul li a {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge rule footer .information ul li a with rule on line 2
Selector should have depth of applicability no greater than 2, but was 5

Copy link

@Ilyeo Ilyeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job team, but the next time avoid to use ul li a tags directly to give styles is much better to use a class

@@ -0,0 +1,40 @@
<div class="contenedor">
<footer>
<div class="contenedorsocial">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make class names more readable by using - to separate words; contenedorsocial => contenedor-social

<div id="mySidenav" class="sidenav">
<div class="sidenav_logo">
<img class="sidenavhorse" src="../images/logo2.png">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()"><p>Close <img class="arrow_back" src="../images/Path 322 Copy [email protected]"></p></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make this as a button, add a class or an ID on it and use that using JS to call the function closeNav();

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anchors should be used only to jump between sections/pages

Copy link
Contributor

@8geonirt 8geonirt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some suggestions that you guys need to consider, most of them are related to sort alphabetically the properties, and the way you name the CSS classes. Besides of that you're having a good improvement...
If you have any doubts don't hesitate asking me.

<div id="mySidenav" class="sidenav">
<div class="sidenav_logo">
<img class="sidenavhorse" src="../images/logo2.png">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()"><p>Close <img class="arrow_back" src="../images/Path 322 Copy [email protected]"></p></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anchors should be used only to jump between sections/pages

.banner_handcrafted .banner_content {
background: linear-gradient(90deg,
rgb(200, 190, 183),
rgb(200, 190, 183, 1) 40%,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rgb needs only three parameters while rgba needs four parameters


.mid-banner-saylor .mid-banner-content {
background: linear-gradient(90deg,
rgba(239, 239, 239),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check number of parameters, rgba = 4, rgb = 3

"Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;
padding: 18vh 1rem;
/*==========Stylesheet DESKTOP========*/
footer {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd extremely suggest to add a class to the footer of the whole page because there may be multiple footer tags between sections and not only one for the document, if there's a section with a footer it is going to have the same styles as the footer of the document

document.getElementById("mySidenav").style.width = "90%";
}

function closeNav() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'closeNav' is defined but never used.

@@ -1 +1,9 @@
// This is where it all goes :)

function openNav() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'openNav' is defined but never used.

Copy link

@Ilyeo Ilyeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On team their should decided that naming use to css rules. With dash style-class or with low dash style_class, beside my comment LGTM

@8geonirt
Copy link
Contributor

8geonirt commented Mar 2, 2018

:shipit:

Copy link
Contributor

@8geonirt 8geonirt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: 🤓👍

Copy link

@Ilyeo Ilyeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sr-meh sr-meh closed this Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants