1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00
appwrite/public/styles/comps/box.less

181 lines
3 KiB
Plaintext
Raw Normal View History

2019-05-09 18:54:39 +12:00
.box {
2019-08-23 05:20:27 +12:00
position: relative;
2019-05-09 18:54:39 +12:00
background: #ffffff;
border-radius: 10px;
2019-08-17 18:09:09 +12:00
box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
2019-05-09 18:54:39 +12:00
padding: 30px;
display: block;
border-bottom: none;
&.padding-small {
padding: 15px;
}
&.y-scroll {
overflow-y: auto;
}
&.danger {
2020-02-11 06:04:57 +13:00
background: var(--config-color-danger);
2019-05-09 18:54:39 +12:00
color: #fff;
}
&.focus {
2020-02-11 06:04:57 +13:00
background: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
color: #ffffff;
2019-08-06 19:52:44 +12:00
button,
.button {
2019-05-09 18:54:39 +12:00
background: #ffffff;
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
}
}
&.warning {
2020-02-11 06:04:57 +13:00
background: var(--config-color-success);
2019-05-09 18:54:39 +12:00
color: #2d2d2d;
2019-08-06 19:52:44 +12:00
button,
.button {
2019-05-09 18:54:39 +12:00
background: rgba(45, 45, 45, 0.8);
2020-02-11 06:04:57 +13:00
color: var(--config-color-success);
2019-05-09 18:54:39 +12:00
}
}
2019-08-06 19:52:44 +12:00
&>footer {
2019-05-09 18:54:39 +12:00
margin: 30px -30px -30px -30px;
padding: 15px 30px;
background: #f5f5f5;
border: solid 1px #eaeaea;
border-radius: 0 0 10px 10px;
}
hr {
height: 2px;
2020-02-11 06:04:57 +13:00
background: var(--config-border-color);
2019-05-09 18:54:39 +12:00
border: none;
margin: 30px -30px;
}
.header {
position: static;
height: 40px;
padding: 20px 30px 20px 30px;
margin-bottom: 30px;
margin: -30px -30px 20px -30px;
background: #f9f9f9;
border-bottom: solid 1px #efefef;
}
2019-08-09 18:28:16 +12:00
.toggle {
2019-05-09 18:54:39 +12:00
position: relative;
2020-02-11 06:04:57 +13:00
border-top: 2px solid var(--config-color-background);
border-bottom: 2px solid var(--config-color-background);
2019-08-09 18:28:16 +12:00
margin: 0 -30px;
padding: 30px;
height: 35px;
2019-05-09 18:54:39 +12:00
overflow: hidden;
2019-08-09 18:28:16 +12:00
button.ls-ui-open {
position: absolute;
top: 0;
.func-start(0);
width: 100%;
height: 95px;
background: transparent;
opacity: .5;
border-radius: 0;
2019-05-09 18:54:39 +12:00
}
2019-08-09 18:28:16 +12:00
.icon-minus {
display: none;
2019-05-09 18:54:39 +12:00
}
2019-08-09 18:28:16 +12:00
.content {
display: none;
2019-05-09 18:54:39 +12:00
}
2019-08-09 18:28:16 +12:00
&.open {
height: auto;
.icon-minus {
display: block;
}
.icon-plus {
display: none;
}
.content {
display: block;
}
2019-05-09 18:54:39 +12:00
}
}
.list {
li {
2020-02-11 06:04:57 +13:00
border-bottom: solid 2px var(--config-color-background);
2019-05-09 18:54:39 +12:00
margin: 0 -30px 30px -30px;
padding: 0 30px 30px 30px;
&:last-child {
padding-bottom: 0;
margin-bottom: 0;
border-bottom: none;
}
}
}
&.new {
text-align: center;
i {
font-size: 80px;
line-height: 80px;
font-family: 'Poppins', sans-serif;
font-style: normal;
font-weight: 300;
}
b {
margin-top: 20px;
display: block;
}
}
}
a.box {
border-right: none;
border-left: none;
}
a.box:hover {
border-bottom: none;
border-right: none;
border-left: none;
background: #f8fdff;
2019-08-06 19:52:44 +12:00
box-shadow: 0 0 1px rgba(0, 0, 0, .2);
2019-05-09 18:54:39 +12:00
}
.box-asidex {
2019-08-06 19:52:44 +12:00
.func-padding-end(25px) !important;
2019-05-09 18:54:39 +12:00
.func-padding-start(70px);
.func-end(0);
background: #f9f9f9;
border-radius: 0 10px 10px 0;
height: ~"calc(100% - 30px)";
position: absolute;
padding-top: 30px;
&:after {
content: "";
display: block;
position: absolute;
height: 100%;
width: 51px;
background: #fff;
top: 0;
bottom: 0;
.func-start(-6px);
}
2019-08-06 19:52:44 +12:00
}