Skip to content

Commit

Permalink
Add pill buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
vidya-ram committed Aug 21, 2020
1 parent 66d1f1c commit 41a84b5
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
23 changes: 23 additions & 0 deletions baseframe/static/css/mui.css
Expand Up @@ -4545,6 +4545,29 @@ li p + ol {
outline: none;
}

.mui-tabs__bar--pills li {
border: 1px solid rgba(132, 146, 166, 0.3);
border-radius: 30px;
margin-right: 8px;
}
.mui-tabs__bar--pills li a {
height: 30px;
line-height: 30px;
padding-left: 16px;
padding-right: 16px;
cursor: pointer;
color: #4d5763;
text-decoration: none !important;
}
.mui-tabs__bar--pills li.mui--is-active {
border: 1px solid rgba(93, 169, 232, 0.2);
background: #cfefff;
}
.mui-tabs__bar--pills li.mui--is-active a {
color: #4d5763;
text-decoration: none !important;
}

.mui-table.mui-table--hover > tbody > tr > td:hover {
background-color: #bbdefb;
}
Expand Down
25 changes: 25 additions & 0 deletions baseframe/static/sass/baseframe-material/_tabs.scss
Expand Up @@ -30,3 +30,28 @@
outline: none;
}
}

.mui-tabs__bar--pills {
li {
border: 1px solid $mui-divider-color;
border-radius: 30px;
margin-right: $mui-grid-padding/2;
}
li a {
height: 30px;
line-height: 30px;
padding-left: $mui-grid-padding;
padding-right: $mui-grid-padding;
cursor: pointer;
color: $mui-text-light;
text-decoration: none !important;
}
li.mui--is-active {
border: 1px solid transparentize($mui-text-info, 0.8);
background: $mui-info-color;
a {
color: $mui-text-light;
text-decoration: none !important;
}
}
}

0 comments on commit 41a84b5

Please sign in to comment.