houdini/app/assets/stylesheets/components/simple_tabs.css.scss
Bradley M. Kuhn 46193ab5fe Relicense all .scss files under new project license.
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

49 lines
1.2 KiB
SCSS

/* License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later */
@import 'mixins';
.simpleTabs-tab {
background: $fog;
border-left: 1px solid lighten($grey, 25);
border-right: 1px solid lighten($grey, 25);
border-top: 1px solid lighten($grey, 25);
@include border-radius(3px 3px 0 0);
padding: 6px 10px;
font-weight: bold;
font-size: 15px;
color: rgba(black, 0.6);
line-height: 1;
display: inline-block;
margin-right: 6px;
position: relative;
}
.simpleTabs-tab[is-selected] {
border-bottom: 1px solid $fog;
margin-bottom: -1px;
}
.simpleTabs-tab:not([is-selected]) {
cursor: pointer;
}
.simpleTabs-tab:not([is-selected]):after,
.simpleTabs-tab:not([is-selected]):before {
content: '';
position: absolute;
left: 0;
width: 100%;
height: 2px;
}
.simpleTabs-tab:not([is-selected]):after {
bottom: 0;
@include gradient(top, $trans, rgba(black, 0.1));
}
.simpleTabs-tab:not([is-selected]) {
color: $logo-blue;
}
.simpleTabs-tab:not([is-selected]):hover:before {
top: 0;
background: rgba($logo-blue, 0.5);
}
.simpleTabs-section {
border: 1px solid lighten($grey, 25);
background: $fog;
@include border-radius(0 3px 3px 3px);
}