Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
whats-open-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicholas J Anderson
whats-open-web
Commits
42454461
Commit
42454461
authored
Dec 21, 2016
by
mdsecurity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed size of the card
parent
f2efc23d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
src/app/location-view/location-view.component.html
src/app/location-view/location-view.component.html
+1
-1
src/app/location-view/location-view.component.scss
src/app/location-view/location-view.component.scss
+6
-6
src/app/location-view/location-view.component.ts
src/app/location-view/location-view.component.ts
+3
-1
src/assets/BKing.jpg
src/assets/BKing.jpg
+0
-0
src/assets/clock.png
src/assets/clock.png
+0
-0
No files found.
src/app/location-view/location-view.component.html
View file @
42454461
...
...
@@ -9,7 +9,7 @@
<div
*ngFor=
"let location of locations"
class=
"location-card card col-xs"
>
<img
class=
"location-background-picture"
src=
"{{location.picture}}"
alt=
"Card image"
>
<img
class=
"location-circle-picture"
src=
"{{
location.picture
}}"
alt=
"Card image"
>
<img
class=
"location-circle-picture"
src=
"{{
secondPic
}}"
alt=
"Card image"
>
<div
class=
"card-block"
>
<h4
class=
"card-title mb-0"
>
{{location._name}}
</h4>
...
...
src/app/location-view/location-view.component.scss
View file @
42454461
//card
$card-spacing
:
.5rem
;
$card-width
:
20
rem
;
$card-height
:
2
5
rem
;
$card-width
:
15
rem
;
$card-height
:
2
0
rem
;
$card-border-radius
:
0
.25rem
;
$card-border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.125
);
//picture height
$card-background-height
:
11
rem
;
$card-background-height
:
8
.5
rem
;
//card circle pictuer
$card-circle-picture-diameter
:
10
rem
;
$card-circle-picture-diameter
:
7
rem
;
@import
'../../styles.scss'
;
.app-container
{
...
...
@@ -51,7 +51,7 @@ $card-circle-picture-diameter:10rem;
right
:(
$card-width
/
2
)
-
(
$card-circle-picture-diameter
/
2
);
top
:
$card-background-height
-
(
$card-circle-picture-diameter
/
2
);
border-radius
:
50%
;
border
:
3
px
solid
rgba
(
255
,
255
,
255
,
1
);
border
:
5
px
solid
rgba
(
255
,
255
,
255
,
1
);
box-shadow
:
0
0
1px
white
;
height
:
$card-circle-picture-diameter
;
width
:
$card-circle-picture-diameter
;
...
...
@@ -69,7 +69,7 @@ $card-circle-picture-diameter:10rem;
width
:
75%
;
height
:
100%
;
display
:flex
;
background
:
url(https://dl.dropboxusercontent.com/u/3400459/CodePen/Fullscreen-DIVs/dark-orange.png)
center
center
no-repeat
scroll
#DC554F
;
background
:
center
center
no-repeat
scroll
#DC554F
;
}
@mixin
transition
(
$transition
...
)
{
...
...
src/app/location-view/location-view.component.ts
View file @
42454461
...
...
@@ -8,6 +8,7 @@ import { Location } from '../location';
export
class
LocationViewComponent
implements
OnInit
{
locations
:
Location
[]
=
[];
dayOfTheWeek
:
number
;
secondPic
=
'
../assets/BKing.jpg
'
;
constructor
()
{
}
ngOnInit
()
{
...
...
@@ -27,7 +28,8 @@ export class LocationViewComponent implements OnInit {
date
,
date
,
date
];
let
picture
=
'
../assets/meTomeKermit.jpg
'
;
let
picture
=
'
../assets/JC.jpg
'
;
this
.
locations
[
0
]
=
new
Location
(
'
Easy Eats
'
,
openTimes
,
closeTimes
,
picture
,
'
open
'
);
// this.locations[1] = new Location('Easy Eats', openTimes, closeTimes, picture, 'open');
// this.locations[2] = new Location('Easy Eats', openTimes, closeTimes, picture, 'open');
...
...
src/assets/BKing.jpg
0 → 100644
View file @
42454461
22.3 KB
src/assets/clock.png
0 → 100644
View file @
42454461
19.3 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment