Skip to content

Commit

Permalink
Add basic styles for 'add column' button
Browse files Browse the repository at this point in the history
* Minor code refactoring.
  • Loading branch information
Nagellan committed Apr 23, 2019
1 parent 84808ba commit 9d4d03f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 37,10 @@
<div class="card col-container">Task 2</div>
</div>

<button class="add-card col-container"><span class="plus-icon"> </span> Add a new card</button>
<button class="add-card add-btn col-container"><span class="plus-icon"> </span> Add a new card</button>
</div>

<button id="add-column" class="column col-container"></button>
<button class="add-column add-btn column col-container"><span class="plus-icon"> </span> Add new column</button>
</main>
</body>
</html>
19 changes: 13 additions & 6 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 91,7 @@ main::-webkit-scrollbar {
margin-bottom: 10px;
}

.add-card {
width: 100%;
box-sizing: border-box;

.add-btn {
font-family: "Roboto", sans-serif;
font-size: 17px;
text-align: left;
Expand All @@ -105,14 102,24 @@ main::-webkit-scrollbar {
align-items: center;
}

.add-card:hover {
.add-btn:hover {
color: #737373;
}

.add-card {
width: 100%;
box-sizing: border-box;
}

.add-column {
flex-direction: row;
align-self: flex-start;
}

.plus-icon {
font-size: 30px;
font-weight: 300;
line-height: 20px;

margin-right: 10px;
}

0 comments on commit 9d4d03f

Please sign in to comment.