beartrack-mobile/www/css/index.css

133 lines
2.3 KiB
CSS

@import url("../css/nobleui.css");
@import url("../css/stile.css");
@import url("../css/fonts.css");
@import url("../css/iconfont.css");
body, html {
height: 100%;
margin: 0;
padding: 0;
}
.wrapper {
display: flex;
flex-direction: column;
min-height: 100%;
}
main {
flex: 1;
overflow-y: auto;
}
header, footer {
width: 100%;
flex-shrink: 0;
}
.shadow-up {
box-shadow: 0 -.5rem 1rem rgba(0, 0, 0, .15);
}
.scrollable-nav {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
white-space: nowrap;
}
.scrollable-nav::-webkit-scrollbar {
display: none;
}
.scrollable-nav button {
flex-shrink: 0;
}
.scrollable-nav div {
flex-shrink: 0;
}
.card-fixed {
width: 250px;
height: 100px;
}
.text-container {
max-width: 80%;
max-height: 80%;
overflow: hidden;
}
.text-ellipsis {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.rotating-icon {
transition: transform 0.1s linear;
transform-origin: center center; /* Óñòàíàâëèâàåì öåíòð âðàùåíèÿ */
width: 32px; /* Óñòàíàâëèâàåì øèðèíó */
height: 32px; /* Óñòàíàâëèâàåì âûñîòó */
display: flex; /* Èñïîëüçóåì flex äëÿ öåíòðèðîâàíèÿ èçîáðàæåíèÿ */
align-items: center;
justify-content: center;
}
.rotating-icon img {
display: block;
width: 100%; /* Óñòàíàâëèâàåì øèðèíó èçîáðàæåíèÿ */
height: 100%; /* Óñòàíàâëèâàåì âûñîòó èçîáðàæåíèÿ */
}
.hidden {
display: none;
}
.expand {
transition: transform 0.5s, opacity 0.5s;
transform: scale(0);
opacity: 0;
}
.expanded {
transform: scale(1);
opacity: 1;
}
/* CSS for the modal */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}