Blame view

js/bpopup/bpopup.css 2.47 KB
bde80a8f   andryeyev   + Модальные окна
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  
      .modalBox {
          background: #fff; 
          padding: 10px;
          border-radius: 10px;
          -moz-border-radius: 10px;
          -o-border-radius: 10px;
          -webkit-border-radius: 10px;
      }
      
      .modalBox .content {
          overflow-y: auto;
          display: block;
      }
       
      .modalBox .close {
33349e3d   andryeyev   + callback
17
          opacity: 1;
bde80a8f   andryeyev   + Модальные окна
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
          display: block;
          position: absolute;
          top: -16px;
          right: -15px;
          width: 12px;
          height: 12px;
          padding: 8px;
          border: 2px solid #fff;
          cursor: pointer;
          background: #000;
          text-align: center;
          font-size: 12px;
          line-height: 12px;
          color: #fff;
          text-decoration: none;
          font-weight: bold;
                 
          border-radius: 50%;
          -moz-border-radius: 50%;
          -o-border-radius: 50%;
          -webkit-border-radius: 50%;
      }
      
      .modalBox,
      .modalBox .close {
33349e3d   andryeyev   + callback
43
44
45
46
47
48
          box-shadow: 0 0 5px 1px #c1c1c1;
          -moz-box-shadow: 0 0 5px 1px #c1c1c1;
          -o-box-shadow: 0 0 5px 1px #c1c1c1;
          -webkit-box-shadow: 0 0 5px 1px #c1c1c1;
      }
      
bde80a8f   andryeyev   + Модальные окна
49
50
51
52
53
      .modalBox .close:hover {
          background: #606060;
      }
  
      .modalBoxWindow {
33349e3d   andryeyev   + callback
54
          display: none;
bde80a8f   andryeyev   + Модальные окна
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
      } 
      
  /* 
      =============== 
      ==== ALERT ==== 
      =============== 
  */ 
      
      .alert {
          min-width: 250px;
          padding: 8px;
          margin: 5px 0;
      }
      
      .alert .info {
          height: 130px; 
          padding: 0 10px;
      }     
  
      .alert > div {
          display: table-cell;
          vertical-align: middle; 
      }
  
      .alert .pic {
          width: 128px;
          height: 128px;
          background-repeat: none;
          background-position: center center;
          background-repeat: no-repeat;
          background-size: cover;
      }
  
      .alert.success .pic {
          background-image: url(./img/success.png);
      }
   
      .alert.warning .pic {
          background-image: url(./img/warning.png);
      }
   
      .alert.error .pic {
          background-image: url(./img/error.png);
      }
      
      .alert.send .pic {
          background-image: url(./img/send.png);
      }
      
      .alert.huck .pic {
          background-image: url(./img/huck.png);
      }
      
      .alert.robot .pic {
          background-image: url(./img/robot.png);
      }
       
      .alert.wait .pic {
33349e3d   andryeyev   + callback
113
114
          width: 113px;
          height: 128px;
bde80a8f   andryeyev   + Модальные окна
115
116
117
118
119
120
121
          background-image: url(./img/wait.png);
      } 
      
      .alert.SomethingWrong .pic {
          background-image: url(./img/something-wrong.jpg);
      }