1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-26 07:39:04 +02:00
keeweb/app/styles/areas/_footer.scss

89 lines
2.1 KiB
SCSS
Raw Normal View History

2015-10-17 23:49:24 +02:00
.footer {
2019-08-16 23:05:39 +02:00
display: flex;
align-items: stretch;
flex-direction: row;
justify-content: flex-start;
@include mobile {
background: var(--intermediate-background-color);
2015-10-17 23:49:24 +02:00
}
2019-08-16 23:05:39 +02:00
&__db {
2017-04-16 18:37:16 +02:00
flex: 0 0 auto;
2020-11-28 23:38:12 +01:00
@include area-selectable-on-secondary();
2019-08-16 23:05:39 +02:00
position: relative;
padding: $medium-padding;
padding-right: 1.3em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&.footer__db--dimmed {
color: var(--muted-color);
&:hover {
color: var(--medium-color);
2019-08-16 23:05:39 +02:00
}
}
2020-11-28 23:38:12 +01:00
&:first-of-type {
padding-left: $base-spacing;
}
2015-10-25 10:26:59 +01:00
2019-08-16 23:05:39 +02:00
&--expanded {
flex: 1;
@include mobile {
flex: 0 0 auto;
> .footer__db-text {
display: none;
}
}
}
2016-03-05 14:36:43 +01:00
2019-08-16 23:05:39 +02:00
&-sign {
font-size: 6px;
vertical-align: top;
margin-left: $base-padding-h;
position: absolute;
right: 1em;
top: 1em;
color: var(--action-color);
2019-08-16 23:05:39 +02:00
&--error {
color: var(--error-color);
2019-08-16 23:05:39 +02:00
}
}
2019-08-16 23:05:39 +02:00
&-open-title {
margin-left: 0.3em;
}
&-item {
@include mobile {
> .fa {
display: none;
}
flex: 1 1 auto;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
2015-10-17 23:49:24 +02:00
2019-08-16 23:05:39 +02:00
&__btn {
flex: 0 0 auto;
2020-11-28 23:38:12 +01:00
@include area-selectable-on-secondary();
2019-08-16 23:05:39 +02:00
padding: $base-padding;
.standalone & {
padding-top: $base-padding-v;
padding-bottom: 1.2em;
}
font-size: 1.4em;
text-align: center;
width: 1em;
2020-11-28 23:38:12 +01:00
&:last-of-type {
padding-right: $base-spacing;
}
2019-03-28 22:31:53 +01:00
}
2015-11-14 16:28:36 +01:00
2019-08-16 23:05:39 +02:00
&__update-icon {
color: var(--action-color);
2019-09-08 13:43:55 +02:00
animation: shake 50s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0s infinite;
2019-08-16 23:05:39 +02:00
}
2015-10-17 23:49:24 +02:00
}