mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
* Specify exact versions in package.json * Bump @rails packages to 6.1.7-3 * Bump decode-uri-component from 0.2.0 to 0.2.2 (#176) Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases) - [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2) --- updated-dependencies: - dependency-name: decode-uri-component dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump qs from 6.5.2 to 6.5.3 (#177) Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/ljharb/qs/releases) - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3) --- updated-dependencies: - dependency-name: qs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump express from 4.17.1 to 4.18.2 (#178) Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump json5 from 1.0.1 to 1.0.2 (#182) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimatch from 3.0.4 to 3.0.8 (#223) Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @rails/webpacker to 5.1.0 * Fix translations import in application.js * Bump @rails/webpacker to 5.4.4 * Set some babel plugins loose=true to suppress warnings * Bump boostrap to 4.6.2 and popper.js to 1.16.1 * Fix CSS after bootstrap bump --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
212 lines
3.1 KiB
SCSS
212 lines
3.1 KiB
SCSS
.card {
|
|
@extend .card;
|
|
|
|
box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.15);
|
|
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
|
|
|
|
color: $primary-color;
|
|
|
|
padding: 8px;
|
|
}
|
|
|
|
.card3D {
|
|
@extend
|
|
.card;
|
|
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
|
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
|
|
|
|
&:hover {
|
|
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
|
}
|
|
}
|
|
|
|
// General container for pages with siderbar + main content
|
|
.twoColumnsContainer {
|
|
@extend
|
|
.d-flex,
|
|
.justify-content-between,
|
|
.align-items-start;
|
|
|
|
flex-direction: row;
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
// Make the main content full width
|
|
& > div:nth-child(2) {
|
|
@extend
|
|
.flex-grow-1,
|
|
.w-100;
|
|
}
|
|
}
|
|
|
|
.box {
|
|
@extend
|
|
.card,
|
|
.flex-grow-1,
|
|
.p-3,
|
|
.mb-3;
|
|
}
|
|
|
|
.sidebar {
|
|
position: sticky;
|
|
top: 79px;
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
position: relative;
|
|
width: 100%;
|
|
top: 0;
|
|
}
|
|
|
|
.sidebarBox {
|
|
@extend
|
|
.card,
|
|
.d-flex,
|
|
.flex-column,
|
|
.justify-content-start,
|
|
.align-items-center,
|
|
.flex-grow-0,
|
|
.flex-shrink-0,
|
|
.mb-3,
|
|
.p-2;
|
|
|
|
width: 280px;
|
|
margin-right: 16px;
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.verticalNavigation {
|
|
@extend
|
|
.nav,
|
|
.flex-column,
|
|
.nav-pills,
|
|
.text-center,
|
|
.align-self-stretch;
|
|
|
|
a {
|
|
color: $astuto-grey;
|
|
font-weight: 500;
|
|
|
|
&:hover {
|
|
color: $astuto-black;
|
|
}
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: $astuto-black;
|
|
background-color: $astuto-light-grey;
|
|
}
|
|
}
|
|
|
|
.drag-zone {
|
|
@extend
|
|
.align-self-center,
|
|
.pl-1,
|
|
.pr-4,
|
|
.pt-1,
|
|
.pb-1;
|
|
|
|
cursor: grab;
|
|
|
|
&.drag-zone-disabled {
|
|
cursor: not-allowed;
|
|
|
|
&:active { cursor: not-allowed; }
|
|
}
|
|
|
|
&:active { cursor: grabbing; }
|
|
}
|
|
|
|
.badge {
|
|
@extend
|
|
.badge,
|
|
.badge-pill,
|
|
.p-2;
|
|
|
|
font-size: 13px;
|
|
}
|
|
|
|
.badgeLight {
|
|
@extend .badge-light;
|
|
|
|
background-color: $astuto-light-grey;
|
|
}
|
|
|
|
.container {
|
|
max-width: 960px;
|
|
}
|
|
|
|
.smallContainer {
|
|
max-width: 540px;
|
|
margin: 16px auto;
|
|
}
|
|
|
|
.turbolinks-progress-bar {
|
|
background-color: $primary-color;
|
|
height: 2px;
|
|
}
|
|
|
|
.gravatar {
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.checkboxSwitch {
|
|
@extend
|
|
.custom-control,
|
|
.custom-switch;
|
|
|
|
& > input[type="checkbox"] {
|
|
@extend .custom-control-input;
|
|
}
|
|
|
|
& > label {
|
|
@extend .custom-control-label;
|
|
|
|
&::before {
|
|
transform: scale(1.2);
|
|
}
|
|
}
|
|
|
|
& > input:checked ~ label::before {
|
|
background-color: $primary-color !important;
|
|
border-color: $primary-color !important;
|
|
}
|
|
}
|
|
|
|
.selectPicker {
|
|
@extend
|
|
.custom-select;
|
|
}
|
|
|
|
.link {
|
|
cursor: pointer;
|
|
&:hover { text-decoration: underline; }
|
|
}
|
|
|
|
.actionLink {
|
|
color: $astuto-black;
|
|
display: flex;
|
|
cursor: pointer;
|
|
align-self: center;
|
|
margin-right: 12px;
|
|
|
|
&:hover { text-decoration: underline !important; }
|
|
|
|
svg {
|
|
margin-right: 4px;
|
|
align-self: center;
|
|
}
|
|
|
|
&.actionLinkDisabled {
|
|
color: $astuto-grey !important;
|
|
|
|
text-decoration: none !important;
|
|
cursor: not-allowed;
|
|
}
|
|
} |