mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 15:28:40 +08:00

Stylelint is a css linter: https://stylelint.io/ As part of this change we have added two javascript scripts: ``` pnpm lint:css pnpm lint:css:fix ``` Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for configuration in VSCode. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
50 lines
892 B
SCSS
50 lines
892 B
SCSS
.calendar-date-time-input {
|
|
.fake-input {
|
|
display: none;
|
|
}
|
|
padding: 5px;
|
|
border: 1px solid var(--primary-low);
|
|
z-index: 1;
|
|
background: var(--secondary);
|
|
width: 200px;
|
|
box-sizing: border-box;
|
|
margin-left: 1em;
|
|
|
|
.date-picker {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: auto;
|
|
box-sizing: border-box;
|
|
|
|
.pika-single {
|
|
position: relative !important;
|
|
flex: 1;
|
|
display: flex;
|
|
border: 0;
|
|
}
|
|
}
|
|
|
|
.time-pickers {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex: 1;
|
|
margin-top: 1em;
|
|
align-items: center;
|
|
padding: 0.25em;
|
|
border-top: 1px solid var(--primary-low-mid);
|
|
box-sizing: border-box;
|
|
|
|
.d-icon {
|
|
color: var(--primary-medium);
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
.time-picker {
|
|
box-shadow: none;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|