Skip to content

Instantly share code, notes, and snippets.

@adrianmcli
Last active November 19, 2016 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianmcli/1a2e481d783d20d606c94cebe8d90017 to your computer and use it in GitHub Desktop.
Save adrianmcli/1a2e481d783d20d606c94cebe8d90017 to your computer and use it in GitHub Desktop.
A first attempt at reskinning Compass
.activity {
background: white;
transition: all 200ms;
}
.activity .icon {
color: #FF9900;
}
.activity .name {
color: #666;
transition: color 100ms;
}
.activity .name:hover {
color: #FF9900;
}
.activity .time {
color: #999;
}
.activity:active {
box-shadow: none;
transform: translateY(0);
}
.activity:hover {
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
border-radius: 4px;
transform: translateY(-4px);
}
.btn {
border-radius: 3px;
}
.btn-primary {
background: #3299BB;
}
.btn-today {
background: #ff9900;
}
.btn-today, .btn-yesterday {
display: block;
flex: 1
;
}
.btn-warning {
background: #ff9900;
}
.btn-yesterday {
background: #3299BB;
}
.caret {
border-top-color: rgba(0,0,0,0.25);
}
.completed-activities {
color: #666;
}
.day-nav-links {
display: flex;
justify-content: space-between;
margin-top: 12px;
}
.day-number {
align-items: center;
display: flex;
justify-content: center;
width: 30px;
}
.day-number > a, .day-number.active > a {
border: none;
border-radius: 13px;
color: #e9e9e9;
height: 26px;
line-height: 28px;
margin: 0;
width: 26px;
}
.day-number > a:hover, .day-number.unlocked > a:hover, .day-number.today.unlocked > a:hover {
background: #424242;
}
.day-number.today.unlocked > a {
color: white;
background: #ff9900;
}
.day-number.active > a, .day-number.unlocked.active > a {
background: white;
border: 3px solid #FF9900;
color: #FF9900;
line-height: 24px;
}
.day-number.unlocked > a {
background: #bcbcbc;
}
.divider {
background: #ddd;
}
.divider-title {
color: #424242;
}
.dropdown-arrow {
border-bottom-color: #bcbcbc;
border-top-color: #bcbcbc;
}
.dropdown-menu {
background-color: #bcbcbc;
}
.dropdown-menu>li.active>a {
background: #ff9900;
color: white;
}
.dropdown-menu>li>a {
border-radius: 0;
color: #e9e9e9;
}
.dropdown-menu>li>a:hover {
background: #424242;
color: white;
}
.nav-week {
width: 100%;
}
.nav-week ul {
background: #E9E9E9;
display: flex;
justify-content: space-between;
width: 100%;
border-radius: 3px;
}
.navbar {
background: #bcbcbc;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)
;
}
.navbar .navbar-nav.navbar-left>li>a .caret {
display: none;
}
.navbar-btn {
background: transparent;
border: 2px solid #ddd;
padding-bottom: 8px;
padding-top: 8px;
}
.navbar-btn.on-duty-link {
border: 2px solid #ff9900;
}
.navbar-btn:hover {
background: rgba(255,255,255,0.25);
}
.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus {
background: #424242;
color: #FF9900;
}
.navbar-nav.navbar-left>li>a {
margin-left: 10px;
}
.navbar-nav.navbar-right>li>a {
margin-right: 20px;
}
.pinned-content {
background: ivory;
color: #444;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
z-index: 1;
}
.pinnednote, .tech-interview-template .info {
background: white;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
z-index: -1
;
}
.pinnednote:hover, .pinnednote .activity:hover, .tech-interview-template .info:hover {
box-shadow: none;
transform: translate(0);
}
.tech-interview-template .details {
background: ivory;
border: none;
border-top: none;
color: #444;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.tech-interview-template .icon {
color: #FF9900;
}
.tech-interview-template .progress {
background: #e9e9e9;
}
.tech-interview-template .progress-bar {
background: #FF9900;
}
.tech-interview-template:active {
transform: translateY(0);
}
.tech-interview-template:hover {
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
transform: translateY(-4px);
transition: all 200ms;
z-index: 0;
}
.week-number {
align-items: center;
border-right: 2px solid rgba(255,255,255,0.5);
display: flex;
justify-content: center;
margin: 0;
width: 40px;
}
.week-number > a {
border: none;
height: 100%;
line-height: 45px;
margin: 0;
padding: 0;
width: 100%;
}
@media screen and (min-width: 1200px) {
.navbar .navbar-nav.navbar-left>li>a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 12px;
padding-bottom: 4px;
}
}
.teacher-holder img {
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
body {
font-family: Proxima Nova;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
}
hr {
border-top: 2px solid #eee;
}
ul.dropdown-menu {
padding: 0;
}
@adrianmcli
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment