Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#196 Migrate to Material Design Icons #291

Merged
merged 2 commits into from
Jul 20, 2017
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
30 changes: 15 additions & 15 deletions src/adtechmedia-website/frontend/css/src/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,13 @@ small {
position: relative;
&.select-box {
&:after {
content: '\f0d7';
font: normal normal normal 14px/1 FontAwesome;
font: normal normal normal 24px/1 "Material Design Icons";
content: '\F35D';
position: absolute;
top: 50%;
top: 60%;
right: 0;
z-index: 1;
color: #bbbbbb;
font-size: 14px;
line-height: 32px;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
}
Expand Down Expand Up @@ -362,17 +360,19 @@ small {
cursor: pointer;
box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
}
i {
color: $link-color;
font-size: 1.6rem;
line-height: 50px;
@include transform(rotate(0deg));
@include transition(transform .8s ease-in-out);
}
&.mdi {
&:before {
color: $link-color;
font-size: 32px;
line-height: 50px;
@include transform(rotate(0deg));
@include transition(transform .8s ease-in-out);
}

&.rotate {
i {
@include transform(rotate(180deg));
&.rotate {
&:before {
@include transform(rotate(180deg));
}
}
}
}
2 changes: 1 addition & 1 deletion src/adtechmedia-website/frontend/css/src/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
@mixin hover-color($list1, $list2) {
@each $current in $list1 {
$i: index($list1, $current);
.#{$current}:hover i {
.#{$current}:hover :before {
color: nth($list2, $i);
}
}
Expand Down
14 changes: 7 additions & 7 deletions src/adtechmedia-website/frontend/css/src/_responsive-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
a {
width: 72px;
height: 72px;
i {
&:before {
font-size: 40px;
line-height: 72px;
}
Expand Down Expand Up @@ -319,7 +319,7 @@
a {
width: 70px;
height: 70px;
i {
&:before {
font-size: 40px;
line-height: 70px;
}
Expand Down Expand Up @@ -425,7 +425,7 @@
a {
width: 55px;
height: 55px;
i {
&:before {
font-size: 28px;
line-height: 55px;
}
Expand Down Expand Up @@ -469,7 +469,7 @@
a {
width: 50px;
height: 50px;
i {
&:before {
font-size: 26px;
line-height: 50px;
}
Expand Down Expand Up @@ -502,7 +502,7 @@
a {
width: 45px;
height: 45px;
i {
&:before {
font-size: 24px;
line-height: 45px;
}
Expand Down Expand Up @@ -581,7 +581,7 @@
a {
width: 40px;
height: 40px;
i {
&:before {
font-size: 22px;
line-height: 40px;
}
Expand Down Expand Up @@ -625,7 +625,7 @@
a {
width: 35px;
height: 35px;
i {
&:before {
font-size: 20px;
line-height: 35px;
}
Expand Down
12 changes: 6 additions & 6 deletions src/adtechmedia-website/frontend/css/src/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ header {
width: 55px;
height: 55px;
text-align: center;
}
i {
color: $gray-color;
font-size: 28px;
line-height: 55px;
@include transition(.3s ease-in-out);
&:before {
color: $gray-color;
font-size: 32px;
line-height: 55px;
@include transition(.3s ease-in-out);
}
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/adtechmedia-website/frontend/css/src/api/_api.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
vertical-align: top;
margin-top: -3px;
display: inline-block;
padding-left: 14px;
padding-right: 14px;
text-align: center;
line-height: 36px;
height: 36px;
width: 36px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,6 @@
}

.back-link {
padding-left: 12px;
padding-right: 12px;
line-height: 30px;
height: 30px;
width: 30px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
i {
position: relative;
z-index: 1;
font-size: 18px;
opacity: 0;
visibility: hidden;
@include transition(.4s ease-in-out);
Expand Down
81 changes: 3 additions & 78 deletions src/adtechmedia-website/frontend/css/src/home/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,9 @@ section {
@include transform(translateX(-50%) translateY(-50%) scale(1.2));
cursor: pointer;
}
i {
&:before {
color: #fff;
margin-left: 10%;
line-height: 46px;
font-size: 1.2rem;
}
}
}
Expand Down Expand Up @@ -155,77 +153,6 @@ section {
}
}

.footer-logo {
align-self: center;
img {
height: 80px;
float: right;
}
}

.footer-blocks {
padding: 22px 0;
a {
color: $base-color;
&:hover, &.active {
color: $link-color;
}
}

.social-links {
align-self: center;
height: 55px;
ul {
display: inline-block;
}

li {
float: left;
margin: 0 7px;
//a {
// display: block;
// background: #F2F2F2;
// width: 55px;
// height: 55px;
// text-align: center;
//}
i {
color: #BFBFBF;
font-size: 28px;
line-height: 55px;
@include transition(.3s ease-in-out);
}
}

@include hover-color($social-icons, $social-colors);
}

.quick-links {
text-align: left;
h3 {
margin-bottom: 5px;
}

li {
float: left;
width: 50%;
position: relative;
padding: 0 0 0 15px;
&:before {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 4px;
height: 4px;
border: 3px solid $link-color;
border-radius: 50%;
@include transform(translateY(-50%));
}
}
}
}

.solutions-block {
width: 100%;
text-align: left;
Expand Down Expand Up @@ -356,7 +283,7 @@ section {
position: relative;
&:hover {
padding-right: 45px;
.fa-play {
i {
opacity: 1;
visibility: visible;
right: 5px;
Expand All @@ -365,11 +292,10 @@ section {
-webkit-animation: play 2s infinite ease-in-out;
}
}
.fa-play {
i {
background: #fff;
border-radius: 50%;
color: #01ADFD;
font-size: 14px;
width: 28px;
height: 28px;
line-height: 28px;
Expand All @@ -384,7 +310,6 @@ section {
@include transition(all 0.4s ease-in-out);
&:before {
display: inline-block;
margin-left: 3px;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
.play {
width: 58px;
height: 58px;
i {
&:before {
font-size: 1.8rem;
line-height: 58px;
}
Expand Down Expand Up @@ -184,7 +184,7 @@
.play {
width: 58px;
height: 58px;
i {
&:before {
font-size: 1.8rem;
line-height: 58px;
}
Expand Down Expand Up @@ -564,7 +564,7 @@
.play {
width: 58px;
height: 58px;
i {
&:before {
font-size: 1.8rem;
line-height: 58px;
}
Expand Down
20 changes: 7 additions & 13 deletions src/adtechmedia-website/frontend/css/src/team/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,13 @@
@include transform(translateX(-50%));
}

li {
display: inline-block;
a {
color: #595959;
@include transition(.2s linear);
&:hover {
color: $link-color;
}
}

.fa {
font-size: 20px;
margin: 15px 10px 0;
a {
color: #595959;
@include transition(.2s linear);
font-size: 20px;
margin: 15px 10px 0;
&:hover {
color: $link-color;
}
}
}
Expand Down

This file was deleted.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Loading