Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions packages/webapp/src/assets/variables.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
@import './mixin.scss';
@use './mixin' as *;

:root {
// GLOBAL CSS VARIABLES
--global-navbar-height: 64px;
--global-map-header-height: 48px;
--global-side-menu-width: 188px;
--global-compact-side-menu-width: 80px;
// 249px = 24px form padding + 41px form title and progress + 24px margin + 24px call to action + 16 px margin + 24px margin + 24 px padding + 48px button + 24 px padding
--global-multi-step-task-layout-aggregated-height: 249px;
// GLOBAL CSS VARIABLES
--global-navbar-height: 64px;
--global-map-header-height: 48px;
--global-side-menu-width: 188px;
--global-compact-side-menu-width: 80px;
// 249px = 24px form padding + 41px form title and progress + 24px margin + 24px call to action + 16 px margin + 24px margin + 24 px padding + 48px button + 24 px padding
--global-multi-step-task-layout-aggregated-height: 249px;

@include xs-breakpoint {
--global-navbar-height: 55px;
--global-side-menu-width: 0px;
--global-compact-side-menu-width: 0px;
}
@include xs-breakpoint {
--global-navbar-height: 55px;
--global-side-menu-width: 0px;
--global-compact-side-menu-width: 0px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/
@import '../../assets/mixin.scss';
@use '../../assets/mixin' as *;

@mixin calculate-icon-group-width($iconCount) {
// gap between iconGroup is 8px
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../assets/mixin.scss';
@use '../../assets/mixin' as *;

.wrapper {
padding: 34px 32px 0 32px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../../assets/mixin';
@use '../../../../assets/mixin' as *;

// Set up desktop and mobile layout
.mainContent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/
@import '../../../assets/mixin.scss';
@use '../../../assets/mixin' as *;

.card {
// Layout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../assets/mixin';
@use '../../../assets/mixin' as *;

.form {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../../assets/mixin';
@use '../../../../assets/mixin' as *;

.iconContainer {
width: 40px; // width of the larger (batch) icon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../assets/mixin';
@use '../../../assets/mixin' as *;

.container {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../assets/mixin';
@use '../../../assets/mixin' as *;

.containerWithButtons {
height: 80px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../assets/mixin.scss';
@use '../../../assets/mixin' as *;

.wrapper {
height: calc(100vh - var(--global-navbar-height));
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/components/Badge/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../assets/mixin.scss';
@use '../../assets/mixin' as *;

.tooltip {
color: #000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '@assets/mixin';
@use '@assets/mixin' as *;

.notificationCard {
display: flex;
Expand Down
13 changes: 7 additions & 6 deletions packages/webapp/src/components/Card/card.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../assets/mixin';
@use '../../assets/mixin' as *;
.container {
box-sizing: border-box;
border-radius: 4px;
Expand Down Expand Up @@ -57,7 +57,6 @@
}

.none {

}

// task styles
Expand Down Expand Up @@ -91,11 +90,11 @@

// notification styles
.notificationUnread {
background-color: var(--white);
background-color: var(--white);
}

.notificationRead {
background-color: var(--grey200);
background-color: var(--grey200);
}

// SummaryCard
Expand All @@ -121,13 +120,15 @@ h4.lgSummaryData {
}

.negative {
h4, p {
h4,
p {
color: var(--red700);
}
}

.positive {
h4, p {
h4,
p {
color: var(--green800);
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.info {
display: flex;
Expand Down Expand Up @@ -38,12 +38,12 @@
color: var(--fontColor);
}

.repeatPlan{
.repeatPlan {
margin-left: 8px;
color: var(--teal700);
}

.underline{
.underline {
text-decoration: underline;
}

Expand All @@ -66,7 +66,6 @@
gap: 3px;
}


.circle {
display: flex;
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.card {
display: flex;
Expand Down Expand Up @@ -44,7 +44,7 @@
display: flex;
flex-direction: row;
gap: 8px;
color: var(--fontColor)
color: var(--fontColor);
}

.iconTextContainer {
Expand Down Expand Up @@ -110,4 +110,4 @@
@include md-breakpoint {
visibility: hidden;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../../assets/mixin';
@use '../../../../assets/mixin' as *;
.leftColumn {
margin-left: 18px;
margin-right: 12px;
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/components/ChooseFarm/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../assets/mixin';
@use '../../assets/mixin' as *;
.title {
font-style: normal;
font-weight: normal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.floatLabelRight {
float: right;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.title {
font-style: normal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.label {
font-style: normal;
font-weight: normal;
color: var(--grey900);
font-size: 16px;
line-height: 16px;
@include fontFamily();
margin-bottom: 4px;
margin-top: 0;
font-style: normal;
font-weight: normal;
color: var(--grey900);
font-size: 16px;
line-height: 16px;
@include fontFamily();
margin-bottom: 4px;
margin-top: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// * GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
// */

@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.home .lander {
color: var(--primary);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../assets/mixin';
@use '../../../assets/mixin' as *;

.container {
min-height: 100vh;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/
@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.mainContentWithIcon {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.outroContainer {
/* Rectangle 49 */
Expand All @@ -26,7 +26,7 @@
border-radius: 7.05466px;
align-items: center;
justify-content: space-between;
padding: 20px
padding: 20px;
}

.descriptionTop {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../assets/mixin.scss';
@use '../../assets/mixin' as *;

.filePickerContainer {
flex-grow: 1;
Expand All @@ -22,4 +22,4 @@
row-gap: 24px;
align-items: center;
padding-bottom: 16px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://wwwl.gnu.org/licenses/>.
*/

@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.filterControlsContainer {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '../../../assets/mixin.scss';
@use '../../../assets/mixin' as *;

.menuPortal {
z-index: 1300;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

.cardContent {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details, see <https://www.gnu.org/licenses/>.
*/

@import '@assets/mixin.scss';
@use '@assets/mixin' as *;

// 100vw background colour on small screens
.background {
Expand Down
Loading
Loading