Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- # Clueless
- # Copyright (c) 2015, Ajay Gupta. All Rights Reserved
- # ================================================
- # Redistribution and use in source and binary forms, with or without
- # modification, are permitted provided that the following conditions are met:
- # # Redistributions of source code must retain the above copyright notice,
- # # this list of conditions and the following disclaimer.
- # # # Redistributions in binary form must reproduce the above copyright
- # # # notice, this list of conditions and the following disclaimer in the
- # # # documentation and/or other materials provided with the distribution.
- # # # # Neither the name "Clueless" nor the names of its contributors may
- # # # # be used to endorse or promote products derived from this software
- # # # # without specific prior written permission.
- # This software is provided by the copyright holders and contributors "as
- # is" and any express or implied warranties, including, but not limited
- # to, the implied warranties of merchantability and fitness for a
- # particular purpose are disclaimed. In no event shall the copyright owner
- # or contributors be liable for any direct, indirect, incidental, special,
- # exemplary, or consequential damages (including, but not limited to,
- # procurement of substitute goods or services; loss of use, data, or
- # profits; or business interruption) however caused and on any theory of
- # liability, whether in contract, strict liability, or tort (including
- # negligence or otherwise) arising in any way out of the use of this
- # software, even if advised of the possibility of such damage.
- */
- [data-clue] { position: relative; display: inline-block; }
- [data-clue]:before, [data-clue]:after {
- opacity: 0;
- visibility: hidden;
- z-index: 9999;
- pointer-events: none;
- position: absolute;
- bottom: 100%; left: 50%;
- -webkit-transition: 0.15s ease-in-out;
- -moz-transition: 0.15s ease-in-out;
- -ms-transition: 0.15s ease-in-out;
- -o-transition: 0.15s ease-in-out;
- transition: 0.15s ease-in-out;
- }
- [data-clue]:hover:before, [data-clue]:hover:after {
- opacity: 1;
- visibility: visible;
- -webkit-transform: translateY(-8px);
- -moz-transform: translateY(-8px);
- -ms-transform: translateY(-8px);
- -o-transform: translateY(-8px);
- transform: translateY(-8px)
- }
- [data-clue]:before {
- background: transparent;
- background: transparent;
- cotnent: "";
- z-index: 100000;
- position: absolute;
- margin-bottom: -12px;
- border: 6px solid transparent;
- border-top-color: #383838;
- }
- [data-clue]:after {
- background: #111111;
- background: rgba(0, 0, 0, 0.8);
- width: 100px;
- height: auto;
- content: attr(data-clue);
- color: #FFFFFF;
- color: rgba(255, 255, 255, 1);
- font-size: 12px;
- font-family: lato;
- line-height: 16px;
- text-transform: none;
- text-decoration: none;
- text-shadow: 1px 1px 1px #000000;
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
- text-align: left;
- white-space: wrap;
- padding: 8px 10px;
- margin-left: -30px;
- border: auto;
- border-bottom: 2px solid #4499FF;
- border-bottom: 2px solid rgba(68, 153, 255, 0.9);
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- -ms-border-radius: 2px;
- -o-border-radius: 2px;
- border-radius: 2px;
- -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
- -moz-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
- -ms-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
- -o-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
- box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement