electron-tabs/electron-tabs.css

133 lines
2.1 KiB
CSS
Raw Normal View History

2016-11-02 16:03:47 +00:00
.etabs-tabgroup {
width: 100%;
height: 32px;
background-color: #ccc;
cursor: default;
font: caption;
font-size: 14px;
-webkit-user-select: none;
user-select: none;
}
.etabs-tabs {
float: left;
}
.etabs-tab {
display: none;
position: relative;
color: #333;
height: 22px;
padding: 6px 8px 4px;
border: 1px solid #aaa;
border-bottom: none;
background: linear-gradient(to bottom, rgba(234,234,234,1) 0%,rgba(204,204,204,1) 100%);
2016-11-02 16:59:56 +00:00
font: caption;
font-size: 14px;
background-color: #ccc;
cursor: default;
}
/* Dragula */
.etabs-tab.gu-mirror {
padding-bottom: 0;
2016-11-02 16:03:47 +00:00
}
.etabs-tab:first-child {
border-left: none;
}
.etabs-tab.visible {
display: inline-block;
}
.etabs-tab.active {
background: #fff;
}
.etabs-tab.flash {
background: linear-gradient(to bottom, rgba(255,243,170,1) 0%,rgba(255,227,37,1) 100%);
}
.etabs-buttons {
float: left;
}
.etabs-buttons button {
float: left;
color: #333;
background: none;
border: none;
font-size: 12px;
margin-top: 6px;
border-radius: 2px;
margin-left: 4px;
width: 20px;
text-align: center;
padding: 4px 0;
}
.etabs-buttons button:hover {
color: #eee;
background-color: #aaa;
}
2017-06-03 13:01:10 +00:00
.etabs-tab-badge {
position: absolute;
right: 0;
top: -7px;
background: red;
border-radius: 100%;
text-align: center;
font-size: 10px;
padding: 0 5px;
}
.etabs-tab-badge.hidden {
display: none;
}
2016-11-02 16:03:47 +00:00
.etabs-tab-icon {
display: inline-block;
height: 16px;
}
.etabs-tab-icon img {
max-width: 16px;
max-height: 16px;
}
.etabs-tab-title {
display: inline-block;
margin-left: 10px;
}
.etabs-tab-buttons {
display: inline-block;
margin-left: 10px;
}
.etabs-tab-buttons button {
display: inline-block;
color: #333;
background: none;
border: none;
width: 20px;
text-align: center;
border-radius: 2px;
}
.etabs-tab-buttons button:hover {
color: #eee;
background-color: #aaa;
}
.etabs-views {
border-top: 1px solid #aaa;
height: calc(100vh - 33px);
}
.etab-view {
}