Basic channel button css
This commit is contained in:
parent
6904e8eb26
commit
8fb0fdbeed
@ -30,14 +30,9 @@
|
||||
</nav>
|
||||
|
||||
<div class="wrapper" id="content-container">
|
||||
<nav id="channels-container">
|
||||
<nav>
|
||||
<div class="channels-list-header"><h3>server name here</h3></div>
|
||||
<ul class="list-unstyled components">
|
||||
<li> <a href="#" class="btn btn-link">channel-name-here</a> </li>
|
||||
<li> <a href="#" class="btn btn-link">channel-name-here</a> </li>
|
||||
<li> <a href="#" class="btn btn-link">channel-name-here</a> </li>
|
||||
<li> <a href="#" class="btn btn-link">channel-name-here</a> </li>
|
||||
<li> <a href="#" class="btn btn-link">channel-name-here</a> </li>
|
||||
<ul class="list-unstyled components" id="channels-list">
|
||||
</ul>
|
||||
</nav>
|
||||
<!-- Sample data so we know what things should look like -->
|
||||
|
42
freechat-client/sass/channels.scss
Normal file
42
freechat-client/sass/channels.scss
Normal file
@ -0,0 +1,42 @@
|
||||
@import 'general';
|
||||
|
||||
.channel {
|
||||
color: $text;
|
||||
background-color: $top-grey;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.channel a {
|
||||
color: $text;
|
||||
background-color: $top-grey;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.channel a:focus {
|
||||
background-color: $bar-grey !important;
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5) !important; // ghosty white outline
|
||||
}
|
||||
|
||||
.channel a:hover {
|
||||
background-color: $bar-grey !important;
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5) !important; // ghosty white outline
|
||||
}
|
||||
|
||||
.channel a:active {
|
||||
background-color: $bar-grey !important;
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5) !important; // ghosty white outline
|
||||
}
|
||||
|
||||
.channel a:visited {
|
||||
background-color: $bar-grey !important;
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5) !important; // ghosty white outline
|
||||
}
|
||||
|
||||
.channel-name {
|
||||
color: $text;
|
||||
}
|
||||
|
||||
.channel-name:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5)
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
@import 'general';
|
||||
@import 'scroll';
|
||||
@import 'join-modal';
|
||||
@import 'channels';
|
||||
|
||||
body {
|
||||
color: $text;
|
||||
@ -91,10 +92,6 @@ ul ul a {
|
||||
color: $text;
|
||||
}
|
||||
|
||||
.message:hover {
|
||||
background-color: $top-grey;
|
||||
}
|
||||
|
||||
.message a:hover {
|
||||
background-color: $bar-grey;
|
||||
color: $text;
|
||||
|
Loading…
Reference in New Issue
Block a user