Browse Source

Cleaned up CSS.

tags/1.0
Matthew Petroff 13 years ago
parent
commit
261665afbb
1 changed files with 12 additions and 16 deletions
  1. +12
    -16
      src/css/pannellum.css

+ 12
- 16
src/css/pannellum.css View File

@@ -27,13 +27,12 @@ body
position:absolute; position:absolute;
top:0px; top:0px;
background-image:url('img/sprites.png'); background-image:url('img/sprites.png');
background-position: 0px -27px;
background-position:0px -27px;
} }


#zoom_in:hover #zoom_in:hover
{ {
background-image:url('img/sprites.png');
background-position: 0px -54px;
background-position:0px -54px;
} }


#zoom_out #zoom_out
@@ -43,13 +42,12 @@ body
position:absolute; position:absolute;
bottom:0px; bottom:0px;
background-image:url('img/sprites.png'); background-image:url('img/sprites.png');
background-position: -27px -27px;
background-position:-27px -27px;
} }


#zoom_out:hover #zoom_out:hover
{ {
background-image:url('img/sprites.png');
background-position: -27px -54px;
background-position:-27px -54px;
} }


#about_button #about_button
@@ -60,13 +58,12 @@ body
width:27px; width:27px;
height:27px; height:27px;
background-image:url('img/sprites.png'); background-image:url('img/sprites.png');
background-position: -54px -27px;
background-position:-54px -27px;
} }


#about_button:hover #about_button:hover
{ {
background-image:url('img/sprites.png');
background-position: -54px -54px;
background-position:-54px -54px;
} }


#about_box #about_box
@@ -106,7 +103,7 @@ body
#pannellum_logo #pannellum_logo
{ {
background-image:url('img/sprites.png'); background-image:url('img/sprites.png');
background-position: 0px 0px;
background-position:0px 0px;
position:absolute; position:absolute;
bottom:2px; bottom:2px;
right:2px; right:2px;
@@ -203,7 +200,7 @@ body
height:100px; height:100px;
margin:-50px 0px 0px -100px; margin:-50px 0px 0px -100px;
background-image:url('img/loadbutton.png'); background-image:url('img/loadbutton.png');
background-position: 0px 0px;
background-position:0px 0px;
text-align:center; text-align:center;
font-family:serif; font-family:serif;
font-size:20px; font-size:20px;
@@ -217,8 +214,7 @@ body
} }
#load_button:hover #load_button:hover
{ {
background-image:url('img/loadbutton.png');
background-position: 0px -100px;
background-position:0px -100px;
color:#000; color:#000;
} }
#load_button p #load_button p
@@ -258,7 +254,7 @@ body
{ {
position:relative; position:relative;
background-image:url('img/sprites.png'); background-image:url('img/sprites.png');
background-position: 0px 0px;
background-position:0px 0px;
width:81px; width:81px;
height:27px; height:27px;
margin-left:auto; margin-left:auto;
@@ -273,13 +269,12 @@ body
position:absolute; position:absolute;
top:50%; top:50%;
left:50%; left:50%;
width:190px;
width:200px;
height:150px; height:150px;
margin:-75px 0px 0px -100px; margin:-75px 0px 0px -100px;
background-image:url('img/box.png'); background-image:url('img/box.png');
display:none; display:none;
text-align:center; text-align:center;
padding:0px 5px 0px 5px;
-webkit-user-select:none; -webkit-user-select:none;
-khtml-user-select:none; -khtml-user-select:none;
-moz-user-select:none; -moz-user-select:none;
@@ -290,4 +285,5 @@ body
{ {
display:table-cell; display:table-cell;
vertical-align:middle; vertical-align:middle;
padding:0px 5px 0px 5px;
} }

Loading…
Cancel
Save