Project

General

Profile

YellowBarEdits.txt

Chris Stein, 2014-02-12 03:34 PM

 
1
<p class="dismiss">
2
	<a href="http://commons.gc.cuny.edu/members/cstein/?remove" class="button">Remove Message Permanently</a>
3
</p>
4

    
5
/* BUTTON Styling */
6
#cacap-message .button {
7
	background: none repeat scroll 0 0 #e6254e;
8
	border: 1px solid #c92045;
9
	box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset;
10
	background-image: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
11
}
12
/*Separte button from text above it */
13
#cacap-message .dismiss {
14
	margin-top: 1em;
15
}
16

    
17

    
18

    
19

    
20

    
21

    
22
<!-- replaces current paragraph. Also moves Hide Message to inside the heading and gave it a class of hide. Moving it in and changing the class is not a requirement and a bit of a hack. The alternative is to float the heading and the hide message. I just figured that might require more checking and fixing for something we're about to remove. -->
23
<h5>
24
	New CUNY Academic Commons Profiles 
25
	<span class="hide"><a href="#">Hide Message</a></span>
26
</h5>
27

    
28
#cacap-message .hide {
29
	padding-left: 20px;
30
}
31