asb_cloud_front/src/styles/App.less

163 lines
2.5 KiB
Plaintext
Raw Normal View History

2021-04-02 17:22:34 +05:00
@import '~antd/dist/antd.less';
@import './loader.css';
/*
* ЭТО ФАЙЛ НАСТРОЙКИ ТЕМЫ И КОМПОНЕНТОВ ТЕМЫ.
* НЕ ПИШИТЕ ТУТ СТИЛИ ДЛЯ КАСТОМНЫХ КОМПОНЕНТОВ.
*/
2021-04-02 17:22:34 +05:00
// Переменные для темы тут:
// https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
//@primary-color: rgba(124, 124, 124, 0.3);
@primary-color: rgb(195, 40,40);
//@primary-color:rgb(65, 63, 61);
//@layout-header-background: rgb(195, 40,40);
@layout-header-background: rgb(65, 63, 61);
@header-height: 64px;
@layout-min-height: calc(100vh - @header-height);
#root, .app{
min-height:100%;
}
.ant-layout{
flex: 1;
> .ant-menu {
flex: 0;
}
}
2021-04-02 17:22:34 +05:00
html {
display: flex;
height: 100%;
}
.mt-30px {
margin-top: 30px;
}
.ml-30px {
margin-left: 30px;
}
.login_page {
2021-04-02 17:22:34 +05:00
position: absolute;
height: 100%;
width: 100%;
2021-04-02 17:22:34 +05:00
display: flex;
justify-content: center;
align-items: center;
padding: 24px;
background-color: #9d9d9d;
2021-04-02 17:22:34 +05:00
}
.shadow{
box-shadow: 1px 1px 4px #00000033;
}
.header {
display: flex;
align-items: center;
justify-content: space-around;
gap: 50px;
height: @header-height;
2021-04-02 17:22:34 +05:00
}
.header .logo {
padding: 8px 24px;
2021-11-30 10:39:07 +05:00
margin: 0 10px;
margin-bottom: 2px;
2021-04-02 17:22:34 +05:00
}
.header .title{
flex-grow: 1;
color: #fff;
padding-left: 100px;
2021-04-02 17:22:34 +05:00
}
.header button{
color: rgb(255, 255, 255);
background-color: rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.2);
}
.small-font {
font-size: 12px;
}
2021-07-28 17:59:16 +05:00
.yellow-background {
background-color: #FFFF99 !important;
}
.lightgray-background {
background-color: #AFABAB !important;
}
.lightpurple-background {
background-color: #CCCCFF !important;
}
.lightorange-background {
background-color: #FFCC99 !important;
}
.ph-2 {
padding: 2px 10px;
}
.mh-2 {
margin-left: 2px;
margin-right: 2px;
}
.ant-layout-content {
display: flex;
flex-direction: column;
align-items: stretch;
}
2021-04-02 17:22:34 +05:00
.sheet{
padding: 5px 24px;
min-height: calc(@layout-min-height - 15px); // 280px;
2021-05-28 17:42:09 +05:00
margin: 0 15px 15px 15px;
2021-04-02 17:22:34 +05:00
}
2021-04-16 15:50:01 +05:00
.site-layout-background {
background: #fff;
2021-04-02 17:22:34 +05:00
}
.border_small{
2021-04-16 15:50:01 +05:00
border: 1px solid rgba(0, 0, 0, 0.05);
2021-04-02 17:22:34 +05:00
}
2021-05-28 12:04:38 +05:00
.menu-title,
.chart-footer {
display: flex;
}
2021-05-28 12:04:38 +05:00
.submit-button {
border-radius: 5px;
2021-05-28 12:04:38 +05:00
font-weight: bold;
text-align: center;
margin: 0 5px 5px 0;
}
.well_menu {
margin-top: 0;
padding-top: 0;
height: 100%;
border-right: 0;
}
tr.table_row_size {
height: 10px;
}
2021-05-28 12:04:38 +05:00
.filter-selector {
width: 25%;
2021-05-28 12:04:38 +05:00
margin-right: 5px;
margin-left: 5px;
2021-05-28 12:04:38 +05:00
}