Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 42 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
margin-right: 10px;
}

#hero-list li:hover {
background: #dff0d8;
}

form.hero-search-form {
margin-bottom: 10px;
}
Expand Down Expand Up @@ -147,6 +151,42 @@
display: none;
}

/*
* Scroll bar redesign
*/
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
border-radius: 10px;
}

::-webkit-scrollbar
{
width: 10px;
background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
background-color: #AAA;
border-radius: 10px;
background-image: -webkit-linear-gradient(90deg
rgba(0, 0, 0, .2) 25%,
transparent 25%,
transparent 50%,
rgba(0, 0, 0, .2) 50%,
rgba(0, 0, 0, .2) 75%,
transparent 75%,
transparent)
}

.button-red{
background-color: #f2dede;
}



</style>
</head>
<body>
Expand Down Expand Up @@ -193,7 +233,7 @@
<label class="sr-only" for="hero-search">Hero Name</label>
<input type="text" class="form-control" id="hero-search" placeholder="Search" autocomplete="off">
</div>
<button id="hero-search-reset" type="reset" class="btn btn-default"><span class="glyphicon glyphicon-remove"></span></button>
<button id="hero-search-reset" type="reset" class="btn btn-default button-red"><span class="glyphicon glyphicon-remove"></span></button>
</form>

<ul id="hero-list"></ul>
Expand All @@ -204,7 +244,7 @@
<p>You can search heroes, and add them quickly by pressing enter</p>
</div>
<div class="row reset-all-div">
<a id="reset-all" class="btn btn-default">Reset all</a>
<a id="reset-all" class="btn btn-default button-red">Reset all</a>
</div>
<div class="row lineup">
<div class="col-md-1 col-xs-1"></div>
Expand Down