Skip to content

Commit

Permalink
Merge pull request #15 from drzzle-app/styleFeatures
Browse files Browse the repository at this point in the history
Style features
  • Loading branch information
runrog authored Aug 10, 2020
2 parents 8c9ae2f + 6db643c commit cdff0b8
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/droplets/event-card/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

.drzCard-event-inner {
.box-shadow;
border-radius: 0;
border-style: solid;
border-width: 0;
overflow: hidden;
}

.drzCard-eventImage {
Expand Down
2 changes: 2 additions & 0 deletions src/droplets/general-card/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

.drzCard-general-inner {
.box-shadow;
border-radius: 0;
border-style: solid;
border-width: 0;
overflow: hidden;
}

.drzCard-generalImage {
Expand Down
13 changes: 12 additions & 1 deletion src/droplets/navigation/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
}

.drzNav-logo {
align-items: center;
display: inline-flex;
float: left;
min-height: 45px;
Expand Down Expand Up @@ -92,7 +93,9 @@
}

.drzNav-link {
border: 1px solid transparent;
border-color: transparent;
border-style: solid;
border-width: 1px;
color: @white;
display: block;
padding: 11px 14px;
Expand All @@ -111,6 +114,12 @@
float: none;
position: relative;
width: 200px;

&:last-child {
& > .drzNav-subLink {
border-bottom: 0;
}
}
}

.drzNav-subLink {
Expand Down Expand Up @@ -308,6 +317,7 @@

.drzNav-link {
background-color: transparent;
border: 0;
border-bottom: 1px solid fade(@white, 10%);
color: fade(@white, 75%);
padding: 15px;
Expand All @@ -322,6 +332,7 @@
}

.drzNav-subLink {
border: 0;
border-bottom: 1px solid fade(@white, 10%);
color: fade(@white, 75%);
padding: 15px;
Expand Down
33 changes: 33 additions & 0 deletions src/droplets/step-card/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
@media @mobile {
margin-bottom: 0;
}

@media @tablet {
margin-bottom: 0;
}
}

&:hover {
Expand All @@ -56,8 +60,15 @@
.col-6;

@media @tablet {
margin-bottom: 10px;
width: 100%;
}

&:last-child {
@media @tablet {
margin-bottom: 0;
}
}
}
}

Expand All @@ -66,8 +77,15 @@
.col-4;

@media @tablet {
margin-bottom: 10px;
width: 100%;
}

&:last-child {
@media @tablet {
margin-bottom: 0;
}
}
}
}

Expand All @@ -79,6 +97,12 @@
margin-bottom: 10px;
width: 100%;
}

&:last-child {
@media @tablet {
margin-bottom: 0;
}
}
}
}

Expand All @@ -90,15 +114,23 @@
margin-bottom: 10px;
width: 100%;
}

&:last-child {
@media @tablet {
margin-bottom: 0;
}
}
}
}

.drzCard-step-inner {
.box-shadow;
border-radius: 0;
border-style: solid;
border-width: 0;
height: 100%;
min-height: 85px;
overflow: hidden;
}

.drzCard-stepArrow {
Expand Down Expand Up @@ -146,6 +178,7 @@
font-weight: 300;
margin: 0;
padding: 15px;
width: 100%;

@media @mobile {
min-height: 120px;
Expand Down
2 changes: 2 additions & 0 deletions src/droplets/tall-card/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@

.drzCard-tall-inner {
.box-shadow;
border-radius: 0;
border-style: solid;
border-width: 0;
overflow: hidden;
}

.drzCard-tallImage {
Expand Down
2 changes: 2 additions & 0 deletions src/droplets/wide-card/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
.drzCard-wide-inner {
.col-12;
.box-shadow;
border-radius: 0;
border-style: solid;
border-width: 0;
display: inline-block;
float: left;
overflow: hidden;
}

.drzCard-wide-image {
Expand Down
2 changes: 1 addition & 1 deletion src/less/picazzo/side-bar.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
height: 40px;
position: fixed;
width: 100%;
z-index: 5;
z-index: 12;
}

.picazzo-topBar-logo {
Expand Down
45 changes: 45 additions & 0 deletions src/tools/modals/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,48 @@
margin-top: -60px;
transition: all 0.2s ease;
}

/* site search results under modals */
.searchResults-container {
border-left: 1px solid darken(@white, 5%);
border-right: 1px solid darken(@white, 5%);
border-top: 1px solid darken(@white, 5%);
margin-top: 5px;
min-height: 1px;
position: absolute;
width: 400px;
z-index: 10;

.searchResult-link {
color: fade(@black, 50%);
text-decoration: none;
}

.searchResult {
.row;
background-color: @white;
border-bottom: 1px solid darken(@white, 5%);
display: block;
font-size: 10pt;
height: 55px;
margin-bottom: 0;
overflow: hidden;
padding: 10px 15px;
text-overflow: ellipsis;
white-space: nowrap;

&:hover {
background-color: darken(@white, 2%);
}
}
}

.drzModal-search {

.searchResults-container {
clear: both;
position: relative;
top: 5px;
width: 100%;
}
}

0 comments on commit cdff0b8

Please sign in to comment.