web-apps/apps/spreadsheeteditor/mobile/resources/less/statusbar.less

88 lines
1.6 KiB
Plaintext
Raw Normal View History

@statusBarBorderColor: #cbcbcb;
2016-12-01 17:12:44 +00:00
@statusBarHeight: 30px;
@fontColor: #000;
2016-12-01 17:12:44 +00:00
.statusbar {
position: relative;
2016-12-01 17:12:44 +00:00
box-sizing: border-box;
background-color: @gray-light;
2017-01-18 13:48:54 +00:00
z-index: @baseZIndex + 1;
2016-12-01 17:12:44 +00:00
* {
box-sizing: border-box;
}
.hairline(top, @statusBarBorderColor);
2016-12-01 17:12:44 +00:00
height: @statusBarHeight;
min-height: @statusBarHeight;
2016-12-01 17:12:44 +00:00
.box-tabs {
}
#box-addtab {
float: left;
2016-12-01 17:12:44 +00:00
}
.button {
border: 0 none;
border-radius: 0;
color: #000;
font-size: 18px;
line-height: inherit;
min-width: 48px;
.hairline(right, @statusBarBorderColor);
}
i.icon {
width: 22px;
height: 22px;
&.icon-plus {
.encoded-svg-background('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 22 22" fill="@{fontColor}"><g><path d="M22,12H12v10h-1V12H1v-1h10V1h1v10h10V12z"/></g></svg>');
}
}
2016-12-01 17:12:44 +00:00
}
.box-tabs {
ul {
margin: 0;
padding: 0;
white-space: nowrap;
overflow: hidden;
2016-12-01 17:12:44 +00:00
> li {
list-style: none;
display: inline-block;
position: relative;
.hairline(right, @statusBarBorderColor);
2016-12-01 17:12:44 +00:00
&:not(.active) {
2016-12-01 17:12:44 +00:00
a {
opacity: 0.5;
2016-12-01 17:12:44 +00:00
}
}
a {
display: inline-block;
font-size: 12px;
2016-12-01 17:12:44 +00:00
padding: 0 10px 0;
line-height: @statusBarHeight;
2016-12-01 17:12:44 +00:00
margin-right: -1px;
outline: none;
color: @fontColor;
height: 100%;
2016-12-01 17:12:44 +00:00
2016-12-01 17:12:44 +00:00
&:hover {
cursor: pointer;
}
}
}
}
.locked {
a {
box-shadow: inset 0 2px #f00;
}
}
2016-12-01 17:12:44 +00:00
}