lesson-title-config.component.scss 5.85 KB
Newer Older
liujiaxin's avatar
liujiaxin committed
1
@import '../../style/common_mixin.css';
liujiangnan's avatar
liujiangnan committed
2 3 4 5 6 7 8 9 10 11 12 13 14

.title-config {
  .letter-wrap{
    width: 3rem;
    flex: 0 0 3rem;
  }
  .str-wrap{
    margin-left: 1rem;flex: 1 1;
  }
  .type-row{
    margin: 0;padding-top: 1rem;
  }

liujiaxin's avatar
liujiaxin committed
15 16 17 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 43 44 45 46 47 48 49 50 51 52 53 54 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
}
@font-face
{
  font-family: 'BRLNSDB';
  src: url("../../../assets/font/BRLNSDB.TTF") ;
}

@font-face
{
  font-family: 'BRLNSB';
  src: url("../../../assets/font/BRLNSB.TTF") ;
}

@font-face
{
  font-family: 'BRLNSR';
  src: url("../../../assets/font/BRLNSR.TTF") ;
}

@font-face
{
  font-family: 'GOTHIC';
  src: url("../../../assets/font/GOTHIC.TTF") ;
}

@font-face
{
  font-family: 'GOTHICB';
  src: url("../../../assets/font/GOTHICB.TTF") ;
}

@font-face
{
  font-family: 'GOTHICBI';
  src: url("../../../assets/font/GOTHICBI.TTF") ;
}

@font-face
{
  font-family: 'GOTHICI';
  src: url("../../../assets/font/GOTHICI.TTF") ;
}

@font-face
{
  font-family: 'MMTextBook';
  src: url("../../../assets/font/MMTextBook.otf") ;
}

@font-face
{
  font-family: 'MMTextBook-Bold';
  src: url("../../../assets/font/MMTextBook-Bold.otf") ;
}

@font-face
{
  font-family: 'MMTextBook-BoldItalic';
  src: url("../../../assets/font/MMTextBook-BoldItalic.otf") ;
}

@font-face
{
  font-family: 'MMTextBook-Italic';
  src: url("../../../assets/font/MMTextBook-Italic.otf") ;
}
liujiangnan's avatar
liujiangnan committed
81 82 83 84 85 86 87 88 89 90
@mixin tool-btn {
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  outline: none;
  border-radius: 6px;
  color: #555;
}
liujiaxin's avatar
liujiaxin committed
91 92 93 94 95 96 97 98 99 100 101 102 103
.d-flex{
  display: flex;
}

.position-relative {
  position: relative;
}
 .flex-fill {
   -webkit-box-flex: 1;
   flex: 1 1 auto;
   justify-content: center;
   display: flex;
 }
liujiangnan's avatar
liujiangnan committed
104

liujiaxin's avatar
liujiaxin committed
105 106 107 108 109 110 111 112 113 114 115
.i-dropdown-menu{
  width: 15px;
  font-size: 10px;
  border-left: 1px solid #ddd;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  flex: 0
}
.p-title-box .p-title {
liujiangnan's avatar
liujiangnan committed
116 117
    font-size: 20px;
  }
liujiaxin's avatar
liujiaxin committed
118
.p-title-box input {
liujiangnan's avatar
liujiangnan committed
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
    width: 300px;
    margin-left: 10px;
  }

.p-content {
  border: 1px solid #ddd;
  box-shadow: 0 0 8px #eee;
  margin-top: 10px;
}

.p-divider {
  border-left: 1px solid #ccc;
  margin: 5px 8px;
  height: 85%;
}

.p-tool-box {
  background-color: #efefef;
  padding: 2px;
  height: 37px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;



liujiaxin's avatar
liujiaxin committed
145 146 147 148 149 150 151 152 153
}
// save
.i-tool-save {
  //@include tool-btn();
  color: white;
}
.i-tool-save:disabled {
  color: #555;
}
liujiangnan's avatar
liujiangnan committed
154

liujiaxin's avatar
liujiaxin committed
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
// font-size
.i-tool-font-size {
  //@include tool-btn();
  width: 37px;

}
.i-tool-font-size:hover {
  color: black;
  border-color: #bbb;
}

// font-color
.i-tool-font-color, .i-tool-font-btn {
  border: 1px solid #ddd;
  //padding: 3px 7px;
  border-radius: 6px;
  width: 45px;
  height: 31px;
  background-color: white;
  color: #555;
  ::ng-deep > span {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 3px 7px;
  }
  .i-left {
    .fa-font,.fa-bold,.fa-italic,.fa-strikethrough, .fa-underline {
      font-size: 10px;
liujiangnan's avatar
liujiangnan committed
187
      position: absolute;
liujiaxin's avatar
liujiaxin committed
188 189 190
      color: #555;
      left: 8px;
      top: 7px;
liujiangnan's avatar
liujiangnan committed
191
    }
liujiaxin's avatar
liujiaxin committed
192 193 194 195 196 197 198
    .i-color {
      width: 68%;
      height: 5px;
      background-color: black;
      position: absolute;
      top: 21px;
      left: 5px;
liujiangnan's avatar
liujiangnan committed
199 200
    }
  }
liujiaxin's avatar
liujiaxin committed
201 202 203 204
  .i-dropdown-menu {
    width: 15px;
    font-size: 10px;
    border-left: 1px solid #ddd;
liujiangnan's avatar
liujiangnan committed
205 206
    display: flex;
    align-items: center;
liujiaxin's avatar
liujiaxin committed
207 208
    .anticon-down {
      transform: scale(0.6);
liujiangnan's avatar
liujiangnan committed
209 210
    }
  }
liujiaxin's avatar
liujiaxin committed
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
}
.i-tool-font-btn{
  width: 31px;
}
.fa-icon{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
// bg-color
.i-tool-bg-color {
  @include tool-btn();
  padding: 0 9px;
  ::ng-deep > span {
    display: flex;
    align-items: center;
  }
liujiangnan's avatar
liujiangnan committed
231

liujiaxin's avatar
liujiaxin committed
232 233 234 235 236 237
  .i-color {
    display: block;
    width: 16px;
    height: 16px;
    background-color: white;
    margin-left: 10px;
liujiangnan's avatar
liujiangnan committed
238 239 240
  }
}

liujiaxin's avatar
liujiaxin committed
241 242 243 244 245 246

// horizontal-center
.i-tool-horizontal-center {
  @include tool-btn();
  width: 37px;
}
liujiangnan's avatar
liujiangnan committed
247 248 249 250 251 252 253 254 255
.p-box {
  width: 1280px;
  height: 720px;
  left: 0;
  top: 0;
  transform-origin: top left;
  overflow: hidden;
}

liujiaxin's avatar
liujiaxin committed
256

liujiangnan's avatar
liujiangnan committed
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365

.p-animation-index-box {
  .i-animation-index {
    position: absolute;
    font-size: 34px;
    font-family: Arial;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: darkorange;
    color: white;
  }
}

.p-edit {
  background-color: white;
  border: 1px solid black;
  padding: 2px 15px;
}

.p-selected {
  border: 1px solid darkorange;
  box-shadow: 0 0 8px #ddd;
}

.p-tool-item-disable {
  color: rgba(0, 0, 0, .25) !important;
  background-color: transparent !important;
  pointer-events: none;
}

// -----------
.p-color-pane {
  width: 80px;
  .p-color-item {
    width: 17px;
    height: 17px;
    cursor: pointer;
    margin: 4px;
    border: 1px solid #bbb;
  }
  .p-color-item-active {
    border: 1px solid white;
    transform: scale(1.1);
  }
}

.p-user-guide {
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-animation-box {
  width: 400px;
  background-color: #efefef;
  border-left: 1px solid #ddd;
  padding: 10px;
  text-align: center;

  .p-animation-label {
    z-index: 1;
    position: relative;
  }

  ::ng-deep .ant-radio-button-wrapper {
    padding: 0 10px;
  }

  .i-toolbox {
    & > div {
      font-size: 20px;
      cursor: pointer;
      color: #555;
      padding: 0 3px;
      margin: 0 5px;
    }
    & > div:hover {
      color: #1585ff;
      transform: scale(1.1);
    }
  }

  .p-animation-list {
    background-color: white;
    border-radius: 10px;
    height: calc(100% - 86px);
    overflow-y: auto;
    .p-animation-item {
      padding: 0 20px;
      background-color: aliceblue;
      margin-top: 6px;
      border-top: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      cursor: pointer;
      text-align: left;
      display: flex;
    }
    .i-active {
      background-color: antiquewhite;
    }
  }
}